hacs-infrastructure


Namehacs-infrastructure JSON
Version 0.4.3 PyPI version JSON
download
home_pageNone
SummaryInfrastructure components for HACS (Healthcare Agent Communication Standard) - DI container, configuration, and service management
upload_time2025-08-12 14:27:58
maintainerNone
docs_urlNone
authorNone
requires_python>=3.11
licenseMIT
keywords ai-agents configuration container dependency-injection fhir healthcare infrastructure service-management
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # HACS Infrastructure

Infrastructure components for HACS (Healthcare Agent Communication Standard) providing dependency injection, configuration management, service discovery, and monitoring capabilities.

## Features

- **Dependency Injection Container**: Type-safe DI with singleton, transient, and scoped lifetimes
- **Configuration Management**: Environment-based configuration with validation
- **Service Registry & Discovery**: Service registration, health monitoring, and load balancing
- **Event System**: Pub/sub event bus with filtering and async handling
- **Lifecycle Management**: Graceful startup and shutdown orchestration
- **Monitoring**: Health checks, metrics collection, and performance monitoring

## Installation

```bash
pip install hacs-infrastructure
```

## Quick Start

```python
from hacs_infrastructure import Container, Injectable, get_config

# Dependency Injection
@Injectable
class DatabaseService:
    def __init__(self):
        self.connection = "database_connection"

@Injectable  
class UserService:
    def __init__(self, db: DatabaseService):
        self.db = db

container = Container()
container.register(DatabaseService)
container.register(UserService)

user_service = container.get(UserService)

# Configuration
config = get_config()
print(f"Environment: {config.environment}")
print(f"Debug mode: {config.debug}")
```

## License

MIT License - see LICENSE file for details.
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "hacs-infrastructure",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": "Solano Todeschini <solanovisitor@gmail.com>",
    "keywords": "ai-agents, configuration, container, dependency-injection, fhir, healthcare, infrastructure, service-management",
    "author": null,
    "author_email": "Solano Todeschini <solanovisitor@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/b2/ae/ded8de32e98b917e1bcb03a5a7c61409f1fcf01d5245731798cdd3c1d624/hacs_infrastructure-0.4.3.tar.gz",
    "platform": null,
    "description": "# HACS Infrastructure\n\nInfrastructure components for HACS (Healthcare Agent Communication Standard) providing dependency injection, configuration management, service discovery, and monitoring capabilities.\n\n## Features\n\n- **Dependency Injection Container**: Type-safe DI with singleton, transient, and scoped lifetimes\n- **Configuration Management**: Environment-based configuration with validation\n- **Service Registry & Discovery**: Service registration, health monitoring, and load balancing\n- **Event System**: Pub/sub event bus with filtering and async handling\n- **Lifecycle Management**: Graceful startup and shutdown orchestration\n- **Monitoring**: Health checks, metrics collection, and performance monitoring\n\n## Installation\n\n```bash\npip install hacs-infrastructure\n```\n\n## Quick Start\n\n```python\nfrom hacs_infrastructure import Container, Injectable, get_config\n\n# Dependency Injection\n@Injectable\nclass DatabaseService:\n    def __init__(self):\n        self.connection = \"database_connection\"\n\n@Injectable  \nclass UserService:\n    def __init__(self, db: DatabaseService):\n        self.db = db\n\ncontainer = Container()\ncontainer.register(DatabaseService)\ncontainer.register(UserService)\n\nuser_service = container.get(UserService)\n\n# Configuration\nconfig = get_config()\nprint(f\"Environment: {config.environment}\")\nprint(f\"Debug mode: {config.debug}\")\n```\n\n## License\n\nMIT License - see LICENSE file for details.",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Infrastructure components for HACS (Healthcare Agent Communication Standard) - DI container, configuration, and service management",
    "version": "0.4.3",
    "project_urls": {
        "Changelog": "https://github.com/solanovisitor/hacs-ai/blob/main/CHANGELOG.md",
        "Documentation": "https://github.com/solanovisitor/hacs-ai/blob/main/docs/",
        "Homepage": "https://github.com/solanovisitor/hacs-ai",
        "Issues": "https://github.com/solanovisitor/hacs-ai/issues",
        "Repository": "https://github.com/solanovisitor/hacs-ai"
    },
    "split_keywords": [
        "ai-agents",
        " configuration",
        " container",
        " dependency-injection",
        " fhir",
        " healthcare",
        " infrastructure",
        " service-management"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d6d7a8955f51b39574da51a94bfcc74b4025f53477fb76ef556b346be776b8fe",
                "md5": "a88eaf2c7276774e58a7c20cf61d0bcc",
                "sha256": "737dc45e28ca3a3979d3102b0f36b0e3f337ca3fd4f0cc4f9720d1f7d0b67552"
            },
            "downloads": -1,
            "filename": "hacs_infrastructure-0.4.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a88eaf2c7276774e58a7c20cf61d0bcc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 69668,
            "upload_time": "2025-08-12T14:27:48",
            "upload_time_iso_8601": "2025-08-12T14:27:48.452626Z",
            "url": "https://files.pythonhosted.org/packages/d6/d7/a8955f51b39574da51a94bfcc74b4025f53477fb76ef556b346be776b8fe/hacs_infrastructure-0.4.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b2aeded8de32e98b917e1bcb03a5a7c61409f1fcf01d5245731798cdd3c1d624",
                "md5": "4ae32b402bd74467d135165cd8046113",
                "sha256": "d148ccdd090f22975dc9eb31b00d1281062dc74a564c45c9d64382c094222e62"
            },
            "downloads": -1,
            "filename": "hacs_infrastructure-0.4.3.tar.gz",
            "has_sig": false,
            "md5_digest": "4ae32b402bd74467d135165cd8046113",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 62819,
            "upload_time": "2025-08-12T14:27:58",
            "upload_time_iso_8601": "2025-08-12T14:27:58.939264Z",
            "url": "https://files.pythonhosted.org/packages/b2/ae/ded8de32e98b917e1bcb03a5a7c61409f1fcf01d5245731798cdd3c1d624/hacs_infrastructure-0.4.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-12 14:27:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "solanovisitor",
    "github_project": "hacs-ai",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "hacs-infrastructure"
}
        
Elapsed time: 0.59646s