{"id":46300277,"url":"https://github.com/rodmena-limited/bulkman","last_synced_at":"2026-03-04T11:02:54.168Z","repository":{"id":325388210,"uuid":"1100957880","full_name":"rodmena-limited/bulkman","owner":"rodmena-limited","description":"A proper bulkhead implementation with circuit-breakers and durable state","archived":false,"fork":false,"pushed_at":"2026-02-12T01:39:34.000Z","size":97,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-12T11:39:19.745Z","etag":null,"topics":["bulkhead","bulkhead-isolation","bulkhead-library","bulkhead-pattern"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rodmena-limited.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-21T01:56:03.000Z","updated_at":"2026-02-12T01:39:37.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rodmena-limited/bulkman","commit_stats":null,"previous_names":["rodmena-limited/bulkman"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/rodmena-limited/bulkman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodmena-limited%2Fbulkman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodmena-limited%2Fbulkman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodmena-limited%2Fbulkman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodmena-limited%2Fbulkman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodmena-limited","download_url":"https://codeload.github.com/rodmena-limited/bulkman/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodmena-limited%2Fbulkman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30078415,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bulkhead","bulkhead-isolation","bulkhead-library","bulkhead-pattern"],"created_at":"2026-03-04T11:02:52.480Z","updated_at":"2026-03-04T11:02:54.143Z","avatar_url":"https://github.com/rodmena-limited.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bulkman\n\n**Enterprise-Grade Bulkhead Pattern for Python**\n\nBulkman is a robust, production-ready implementation of the Bulkhead pattern, designed to isolate resources and prevent cascading failures in mission-critical distributed systems. It supports both modern async (Trio) and traditional synchronous (Threading) workloads with zero overhead.\n\n## Key Capabilities\n\n- **Resource Isolation**: Limits concurrent access to prevent service exhaustion.\n- **Circuit Breaker Integration**: Built-in distributed circuit breaking via `resilient-circuit`.\n- **Dual Mode**:\n    - **Async**: Native [Trio](https://trio.readthedocs.io/) support for high-concurrency IO.\n    - **Sync**: Zero-overhead `ThreadPoolExecutor` implementation for CPU-bound or blocking IO tasks.\n- **Observability**: Full `contextvars` support for distributed tracing (OpenTelemetry/Datadog).\n- **Type Safe**: 100% type-hinted and rigorously tested (\u003e92% coverage).\n\n## Documentation\n\n- **[User Guide](docs/user_guide.md)**: Installation, Quick Start (Async), and Configuration.\n- **[Synchronous / Threading Guide](docs/threading_bulkhead.md)**: Best practices for blocking workloads (Flask, Django, Scripts).\n- **[Contributing](docs/contributing.md)**: Setup, testing, and contribution guidelines.\n\n## Quick Install\n\n```bash\npip install bulkman\n```\n\n## Quick Example (Blocking/Threading)\n\nFor legacy or synchronous applications, use `BulkheadThreading`:\n\n```python\nfrom bulkman import BulkheadThreading, BulkheadConfig\n\n# Configure\nconfig = BulkheadConfig(name=\"db_writer\", max_concurrent_calls=10, timeout_seconds=5.0)\nbulkhead = BulkheadThreading(config)\n\n# Execute\ntry:\n    future = bulkhead.execute(my_blocking_function, data)\n    result = future.result(timeout=5.0)\n    print(result.result)\nexcept TimeoutError:\n    print(\"System overloaded\")\n```\n\n👉 **[See the User Guide for Async/Trio examples](docs/user_guide.md)**\n\n## License\n\nLicensed under the [Apache License 2.0](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodmena-limited%2Fbulkman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodmena-limited%2Fbulkman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodmena-limited%2Fbulkman/lists"}