{"id":49286782,"url":"https://github.com/ziul/dskity","last_synced_at":"2026-04-25T22:00:54.517Z","repository":{"id":353841819,"uuid":"1221076831","full_name":"Ziul/dskity","owner":"Ziul","description":"Modular Application (Plugin System) API","archived":false,"fork":false,"pushed_at":"2026-04-25T20:22:51.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-25T21:24:56.533Z","etag":null,"topics":["fastapi","modularization","python","uv"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/dskity/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ziul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2026-04-25T18:11:05.000Z","updated_at":"2026-04-25T20:24:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Ziul/dskity","commit_stats":null,"previous_names":["ziul/dskity"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Ziul/dskity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ziul%2Fdskity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ziul%2Fdskity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ziul%2Fdskity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ziul%2Fdskity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ziul","download_url":"https://codeload.github.com/Ziul/dskity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ziul%2Fdskity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32278249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"last_error":"SSL_read: 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":["fastapi","modularization","python","uv"],"created_at":"2026-04-25T22:00:34.947Z","updated_at":"2026-04-25T22:00:54.508Z","avatar_url":"https://github.com/Ziul.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DSkity\n\n[![Build](https://github.com/Ziul/dskity/actions/workflows/build.yaml/badge.svg)](https://github.com/Ziul/dskity/actions)\n[![Release](https://img.shields.io/github/v/release/Ziul/dskity)](https://github.com/Ziul/dskity/releases)\n[![PyPI](https://img.shields.io/pypi/v/dskity.svg)](https://pypi.org/project/dskity/)\n[![Python Versions](https://img.shields.io/pypi/pyversions/dskity.svg)](https://pypi.org/project/dskity/)\n[![License](https://img.shields.io/github/license/Ziul/dskity.svg)](https://github.com/Ziul/dskity/blob/main/LICENSE)\n[![Issues](https://img.shields.io/github/issues/Ziul/dskity)](https://github.com/Ziul/dskity/issues)\n[![Codecov](https://img.shields.io/codecov/c/gh/Ziul/dskity)](https://codecov.io/gh/Ziul/dskity)\n\nA small, modular Python framework for building services with pluggable transports and modules.\n\n**Key features:**\n- Lightweight module system with a single `TransportClients` object (HTTP, gRPC, MQTT).\n- Simple key-value backends (in-memory, Redis, Consul) with a unified interface.\n- FastAPI-based HTTP transport and optional gRPC/MQTT clients.\n- CI workflow with PyPI publishing support via GitHub Actions and OIDC.\n\n**Table of Contents**\n- **Overview**\n- **Getting Started**\n- **Configuration**\n- **Running Locally**\n- **Testing**\n- **CI \u0026 Publishing**\n- **Contributing**\n\n## Overview\n\nDSkity provides a minimal foundation to register independent modules that receive a single `TransportClients` object containing references to available transport clients (HTTP app, gRPC client, MQTT client). The design keeps optional dependencies lazy-loaded and avoids hard runtime requirements for gRPC or MQTT unless they are used.\n\n## Getting Started\n\nPrerequisites:\n- Python 3.11+ (project tests are configured for modern Python versions)\n- Optional: Redis or Consul if you plan to use those KV backends\n\nInstall project dependencies (development):\n\n```bash\npython -m pip install --upgrade pip\npip install -e .[dev]\n```\n\n## Configuration\n\nConfiguration is handled via the `DSkitySettings` pydantic settings model in `src/dskity/config`. You can provide a YAML or environment variables to configure transports and KV backends.\n\n## Running Locally\n\nRun the FastAPI app (when present) or import `dskity.bootstrap` to construct an application instance.\n\nExample (development):\n\n```bash\ndskity\n```\n\n## Testing\n\nRun the test suite with pytest:\n\n```bash\npytest -q\n```\n\n## Module API\n\nModules must implement a `register(self, clients: TransportClients, config: DSkitySettings | dict) -\u003e None` method. Use `clients.http` to access the FastAPI app (if available), `clients.grpc` for the gRPC client, and `clients.mqtt` for MQTT.\n\n## Contributing\n\nContributions are welcome. Typical workflow:\n\n```bash\ngit checkout -b feature/my-change\npytest\ngit push --set-upstream origin feature/my-change\n```\n\nOpen a pull request for review. Please follow existing code style and update tests when adding or changing behavior.\n\n## License\n\nSee `pyproject.toml` / `PKG-INFO` for license information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziul%2Fdskity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziul%2Fdskity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziul%2Fdskity/lists"}