lhs-global-service-fastapi


Namelhs-global-service-fastapi JSON
Version 0.1.6 PyPI version JSON
download
home_pagehttps://github.com/yourusername/your-repo
SummaryGlobal Oracle logging and debug management for FastAPI apps.
upload_time2025-08-12 10:37:51
maintainerNone
docs_urlNone
authorRohit Jagtap
requires_python>=3.9
licenseMIT
keywords oracle logging fastapi debug global-service
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # lhs-global-service-fastapi

Global Oracle logging and debug management for FastAPI apps.

## Features
- Oracle DB logging integration
- Debug log flag management with TTL
- Date formatting for Oracle
- Configurable via environment variables
- Designed for FastAPI and other Python web apps

## Installation
```bash
pip install lhs-global-service-fastapi
```

## Usage
Import and configure in your FastAPI app:
```python
from global_service_fastapi_pkg import debug_log_flag_manager, global_service_pkg, oracle_date_formatter

# Example: Enable debug logs
debug_log_flag_manager.enable_debug_logs("username")

# Example: Format Oracle datetime
oracle_date_formatter.format_oracle_datetime("08-08-2025 12:34:56")

# Configure global service
global_service_pkg.config.configure(GLOBAL_LOG_URL="...", ORACLE_USER="...", ORACLE_PASS="...", ...)
```

## Requirements
- Python >= 3.7
- cx_Oracle
- requests
- python-dotenv

## License
MIT

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/yourusername/your-repo",
    "name": "lhs-global-service-fastapi",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "oracle, logging, fastapi, debug, global-service",
    "author": "Rohit Jagtap",
    "author_email": "rohit.jagtap@lighthouseindia.com",
    "download_url": "https://files.pythonhosted.org/packages/ef/05/df648e5f5c8b79cfa46d2974f9be684b94200b6986f436c8a8ef562b8700/lhs_global_service_fastapi-0.1.6.tar.gz",
    "platform": null,
    "description": "# lhs-global-service-fastapi\r\n\r\nGlobal Oracle logging and debug management for FastAPI apps.\r\n\r\n## Features\r\n- Oracle DB logging integration\r\n- Debug log flag management with TTL\r\n- Date formatting for Oracle\r\n- Configurable via environment variables\r\n- Designed for FastAPI and other Python web apps\r\n\r\n## Installation\r\n```bash\r\npip install lhs-global-service-fastapi\r\n```\r\n\r\n## Usage\r\nImport and configure in your FastAPI app:\r\n```python\r\nfrom global_service_fastapi_pkg import debug_log_flag_manager, global_service_pkg, oracle_date_formatter\r\n\r\n# Example: Enable debug logs\r\ndebug_log_flag_manager.enable_debug_logs(\"username\")\r\n\r\n# Example: Format Oracle datetime\r\noracle_date_formatter.format_oracle_datetime(\"08-08-2025 12:34:56\")\r\n\r\n# Configure global service\r\nglobal_service_pkg.config.configure(GLOBAL_LOG_URL=\"...\", ORACLE_USER=\"...\", ORACLE_PASS=\"...\", ...)\r\n```\r\n\r\n## Requirements\r\n- Python >= 3.7\r\n- cx_Oracle\r\n- requests\r\n- python-dotenv\r\n\r\n## License\r\nMIT\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Global Oracle logging and debug management for FastAPI apps.",
    "version": "0.1.6",
    "project_urls": {
        "Homepage": "https://github.com/yourusername/your-repo",
        "Source": "https://github.com/yourusername/your-repo",
        "Tracker": "https://github.com/yourusername/your-repo/issues"
    },
    "split_keywords": [
        "oracle",
        " logging",
        " fastapi",
        " debug",
        " global-service"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "774f29973e8305fbe39aad528d654437919e80473dda72f244b6f4878897d693",
                "md5": "29a0e50c51934698c3a3ad57d64a5364",
                "sha256": "c9b43179873e242df8a6e205058fa92e434e130c3e09bf74997d487f3ab83915"
            },
            "downloads": -1,
            "filename": "lhs_global_service_fastapi-0.1.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "29a0e50c51934698c3a3ad57d64a5364",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 10072,
            "upload_time": "2025-08-12T10:37:50",
            "upload_time_iso_8601": "2025-08-12T10:37:50.634876Z",
            "url": "https://files.pythonhosted.org/packages/77/4f/29973e8305fbe39aad528d654437919e80473dda72f244b6f4878897d693/lhs_global_service_fastapi-0.1.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ef05df648e5f5c8b79cfa46d2974f9be684b94200b6986f436c8a8ef562b8700",
                "md5": "52da30fc53435931ea510fc5f7c5f3ad",
                "sha256": "5d658d189fde84a70f1914d1cb0ed46017089b9f625f00c6315dd03fcbfae9cd"
            },
            "downloads": -1,
            "filename": "lhs_global_service_fastapi-0.1.6.tar.gz",
            "has_sig": false,
            "md5_digest": "52da30fc53435931ea510fc5f7c5f3ad",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 9338,
            "upload_time": "2025-08-12T10:37:51",
            "upload_time_iso_8601": "2025-08-12T10:37:51.670281Z",
            "url": "https://files.pythonhosted.org/packages/ef/05/df648e5f5c8b79cfa46d2974f9be684b94200b6986f436c8a8ef562b8700/lhs_global_service_fastapi-0.1.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-12 10:37:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "yourusername",
    "github_project": "your-repo",
    "github_not_found": true,
    "lcname": "lhs-global-service-fastapi"
}
        
Elapsed time: 1.22377s