{"id":27939441,"url":"https://github.com/strmio/storm","last_synced_at":"2025-07-29T16:43:23.346Z","repository":{"id":254762194,"uuid":"847428912","full_name":"strmio/storm","owner":"strmio","description":"A Python framework for building efficient, scalable, and modular applications inspired by NestJS.","archived":false,"fork":false,"pushed_at":"2025-05-15T11:46:33.000Z","size":594,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-13T18:31:36.582Z","etag":null,"topics":["api","framework","python","rest"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/strmio.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-25T19:46:28.000Z","updated_at":"2025-05-15T11:46:38.000Z","dependencies_parsed_at":"2024-09-12T07:11:59.312Z","dependency_job_id":"fa0dccc7-bf39-457c-8948-4f69168464e7","html_url":"https://github.com/strmio/storm","commit_stats":null,"previous_names":["adi3g/storm","stormpyio/storm","strmio/storm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/strmio/storm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strmio%2Fstorm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strmio%2Fstorm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strmio%2Fstorm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strmio%2Fstorm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strmio","download_url":"https://codeload.github.com/strmio/storm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strmio%2Fstorm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266679634,"owners_count":23967669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","framework","python","rest"],"created_at":"2025-05-07T09:42:17.204Z","updated_at":"2025-07-29T16:43:23.314Z","avatar_url":"https://github.com/strmio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://stormpy.io/\" target=\"blank\"\u003e\u003cimg src=\"https://github.com/user-attachments/assets/99f75677-8da2-4096-ad49-b8706cff090e\" width=\"150\" alt=\"Statikk Logo\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n**Storm** is a Python framework inspired by NestJS, designed to build efficient, scalable, and maintainable server-side applications. With a focus on modularity, dependency injection, and an intuitive development experience, Storm empowers developers to create robust backend systems with ease.\n\n## Table of Contents\n\n- [Features](#features)\n- [Getting Started](#getting-started)\n  - [Installation](#installation)\n  - [Project Setup](#project-setup)\n- [Core Concepts](#core-concepts)\n  - [Modules](#modules)\n  - [Controllers](#controllers)\n  - [Services](#services)\n  - [Dependency Injection](#dependency-injection)\n  - [Middleware](#middleware)\n- [CLI Tool](#cli-tool)\n- [Examples](#examples)\n- [Documentation](#documentation)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Features\n\n- **Modular Architecture:** Organize your application into self-contained, reusable modules.\n- **Dependency Injection:** Powerful DI container for clean and maintainable code.\n- **Decorators:** Use Python decorators to define controllers, routes, services, and more.\n- **Asynchronous Support:** Built-in support for async operations, enabling high-performance, non-blocking I/O.\n- **Middleware and Guards:** Handle cross-cutting concerns and request validation with ease.\n- **CLI Tool:** Quickly scaffold projects, generate modules, controllers, and services with the Storm CLI.\n- **ORM Integration:** Seamlessly connect to databases using popular ORMs like SQLAlchemy or Tortoise ORM.\n- **Comprehensive Testing:** Built-in utilities for unit and integration testing.\n\n## [![Repography logo](https://images.repography.com/logo.svg)](https://repography.com) / Recent activity [![Time period](https://images.repography.com/54868595/Adi3g/nox-cli/recent-activity/0bdCu61BTSZLmgTWnKjefwC3r7W3VPhJTZ_NE2VYbq0/8GKWUmVqldQq9KP597PaNdFZ4EIIiRWfHwIk0AvTaXg_badge.svg)](https://repography.com)\n[![Timeline graph](https://images.repography.com/54868595/Adi3g/nox-cli/recent-activity/0bdCu61BTSZLmgTWnKjefwC3r7W3VPhJTZ_NE2VYbq0/8GKWUmVqldQq9KP597PaNdFZ4EIIiRWfHwIk0AvTaXg_timeline.svg)](https://github.com/Adi3g/nox-cli/commits)\n[![Issue status graph](https://images.repography.com/54868595/Adi3g/nox-cli/recent-activity/0bdCu61BTSZLmgTWnKjefwC3r7W3VPhJTZ_NE2VYbq0/8GKWUmVqldQq9KP597PaNdFZ4EIIiRWfHwIk0AvTaXg_issues.svg)](https://github.com/Adi3g/nox-cli/issues)\n[![Pull request status graph](https://images.repography.com/54868595/Adi3g/nox-cli/recent-activity/0bdCu61BTSZLmgTWnKjefwC3r7W3VPhJTZ_NE2VYbq0/8GKWUmVqldQq9KP597PaNdFZ4EIIiRWfHwIk0AvTaXg_prs.svg)](https://github.com/Adi3g/nox-cli/pulls)\n[![Trending topics](https://images.repography.com/54868595/Adi3g/nox-cli/recent-activity/0bdCu61BTSZLmgTWnKjefwC3r7W3VPhJTZ_NE2VYbq0/8GKWUmVqldQq9KP597PaNdFZ4EIIiRWfHwIk0AvTaXg_words.svg)](https://github.com/Adi3g/nox-cli/commits)\n[![Top contributors](https://images.repography.com/54868595/Adi3g/nox-cli/recent-activity/0bdCu61BTSZLmgTWnKjefwC3r7W3VPhJTZ_NE2VYbq0/8GKWUmVqldQq9KP597PaNdFZ4EIIiRWfHwIk0AvTaXg_users.svg)](https://github.com/Adi3g/nox-cli/graphs/contributors)\n[![Activity map](https://images.repography.com/54868595/Adi3g/nox-cli/recent-activity/0bdCu61BTSZLmgTWnKjefwC3r7W3VPhJTZ_NE2VYbq0/8GKWUmVqldQq9KP597PaNdFZ4EIIiRWfHwIk0AvTaXg_map.svg)](https://github.com/Adi3g/nox-cli/commits)\n\n\n## Getting Started\n\n### Installation\n\nTo install Storm, you can use pip:\n\n```bash\npip install storm-framework\n```\n\n### Project Setup\n\nUse the Storm CLI to create a new project:\n\n```bash\nstorm-cli new my-storm-app\ncd my-storm-app\n```\n\nThis will generate a basic project structure with everything you need to get started.\n\n### Running the Application\n\nOnce your project is set up, you can run the application:\n\n```bash\npython src/main.py\n```\n\n## Core Concepts\n\n### Modules\n\nModules are the building blocks of a Storm application. Each module is a self-contained unit that encapsulates related components such as controllers, services, and models.\n\nExample:\n\n```python\nfrom storm import Module\n\n@Module({\n    'controllers': [AppController],\n    'providers': [AppService],\n})\nclass AppModule:\n    pass\n```\n\n### Controllers\n\nControllers are responsible for handling incoming requests and returning responses to the client. Use decorators to define routes within controllers.\n\nExample:\n\n```python\nfrom storm import Controller, Get\n\n@Controller('/app')\nclass AppController:\n\n    @Get('/')\n    async def get_app(self):\n        return {'message': 'Hello from Storm!'}\n```\n\n### Services\n\nServices contain your business logic and can be injected into controllers or other services.\n\nExample:\n\n```python\nfrom storm import Injectable\n\n@Injectable()\nclass AppService:\n\n    def get_message(self):\n        return 'This is a message from the service.'\n```\n\n### Dependency Injection\n\nStorm's DI system allows you to easily manage dependencies within your application. Simply annotate classes with `@Injectable` and inject them where needed.\n\nExample:\n\n```python\nfrom storm import Injectable, Inject\n\n@Injectable()\nclass AppService:\n    def get_message(self):\n        return 'Hello from Service!'\n\n@Controller('/app')\nclass AppController:\n\n    def __init__(self, service: AppService):\n        self.service = service\n\n    @Get('/')\n    async def get_app(self):\n        return {'message': self.service.get_message()}\n```\n\n### Middleware\n\nMiddleware functions are executed before reaching the controllers, allowing you to handle tasks like authentication, logging, etc.\n\nExample:\n\n```python\nfrom storm import Middleware, Request, Next\n\nclass LoggerMiddleware(Middleware):\n    async def handle(self, request: Request, next: Next):\n        print(f'Incoming request: {request.method} {request.path}')\n        return await next(request)\n```\n\n## CLI Tool\n\nStorm comes with a powerful CLI to streamline your development workflow:\n\n- **Create a new project:** `storm new my-storm-app`\n- **Generate a module:** `storm generate module my-module`\n- **Generate a controller:** `storm generate controller my-controller`\n- **Generate a service:** `storm generate service my-service`\n\n## Examples\n\nCheck out the [examples](examples/) directory for sample projects demonstrating different features of Storm.\n\n## Contributing\n\nContributions are welcome! Please see the [CONTRIBUTING.md](CONTRIBUTING.md) file for guidelines.\n\n## License\n\nStorm is [MIT licensed](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrmio%2Fstorm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrmio%2Fstorm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrmio%2Fstorm/lists"}