{"id":13633666,"url":"https://github.com/vortico/flama","last_synced_at":"2026-04-02T12:16:59.691Z","repository":{"id":37445353,"uuid":"150608956","full_name":"vortico/flama","owner":"vortico","description":"Fire up your models with the flame 🔥","archived":false,"fork":false,"pushed_at":"2026-03-25T16:12:26.000Z","size":7375,"stargazers_count":288,"open_issues_count":5,"forks_count":16,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-03-26T18:05:58.854Z","etag":null,"topics":["api","apispec","components","crud","dependency-injection","machine-learning","marshmallow","ml-ops","openapi","rest","restful","schema","starlette","starlette-api","swagger","type-system"],"latest_commit_sha":null,"homepage":"https://flama.dev","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/vortico.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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":"2018-09-27T15:29:54.000Z","updated_at":"2026-03-24T22:14:58.000Z","dependencies_parsed_at":"2023-12-22T19:34:16.556Z","dependency_job_id":"deb5a9b4-c04d-453b-b9e1-0aa26dda5cfe","html_url":"https://github.com/vortico/flama","commit_stats":{"total_commits":431,"total_committers":9,"mean_commits":"47.888888888888886","dds":"0.18793503480278417","last_synced_commit":"49d9caec3b7550953efc3f71e98f3eff74b2c4ea"},"previous_names":["perdy/starlette-api","perdy/flama"],"tags_count":82,"template":false,"template_full_name":null,"purl":"pkg:github/vortico/flama","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vortico%2Fflama","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vortico%2Fflama/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vortico%2Fflama/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vortico%2Fflama/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vortico","download_url":"https://codeload.github.com/vortico/flama/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vortico%2Fflama/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31305983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T09:48:21.550Z","status":"ssl_error","status_checked_at":"2026-04-02T09:48:19.196Z","response_time":89,"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":["api","apispec","components","crud","dependency-injection","machine-learning","marshmallow","ml-ops","openapi","rest","restful","schema","starlette","starlette-api","swagger","type-system"],"created_at":"2024-08-01T23:00:49.694Z","updated_at":"2026-04-02T12:16:59.673Z","avatar_url":"https://github.com/vortico.png","language":"Python","funding_links":[],"categories":["Web Frameworks","Recently Updated","Frameworks","Python"],"sub_categories":["[Apr 13, 2025](/content/2025/04/13/README.md)","WebSockets","General-Purpose Machine Learning"],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://flama.dev\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/vortico/flama/master/.github/logo.png\" alt='Flama'\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003cem\u003eFire up your models with the flame\u003c/em\u003e \u0026#128293;\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/vortico/flama/actions\"\u003e\n        \u003cimg src=\"https://github.com/vortico/flama/workflows/Test%20And%20Publish/badge.svg\" alt=\"Test And Publish workflow status\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/flama/\"\u003e\n        \u003cimg src=\"https://img.shields.io/pypi/v/flama?logo=PyPI\u0026logoColor=white\" alt=\"Package version\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/flama/\"\u003e\n        \u003cimg src=\"https://img.shields.io/pypi/pyversions/flama?logo=Python\u0026logoColor=white\" alt=\"PyPI - Python Version\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n# Flama\n\nFlama is a python library which establishes a standard framework for\ndevelopment and deployment of APIs with special focus on machine learning (ML).\nThe main aim of the framework is to make ridiculously simple the deployment of\nML APIs, simplifying (when possible) the entire process to a single line of\ncode.\n\nThe library builds on Starlette, and provides an easy-to-learn\nphilosophy to speed up the building of highly performant GraphQL, REST and ML APIs.\nBesides, it comprises an ideal solution for the development of asynchronous\nand production-ready services, offering automatic deployment for ML models.\n\nSome remarkable characteristics:\n\n- Generic classes for API resources with the convenience of standard CRUD methods over SQLAlchemy tables.\n- A schema system (based on Marshmallow or Typesystem) which allows the declaration of inputs and outputs of endpoints\n  very easily, with the convenience of reliable and automatic data-type validation.\n- Dependency injection to make ease the process of managing parameters needed in endpoints via the use of `Component`s.\n  Flama ASGI objects like `Request`, `Response`, `Session` and so on are defined as `Component`s ready to be injected in\n  your endpoints.\n- `Component`s as the base of the plugin ecosystem, allowing you to create custom or use those already defined in your\n  endpoints, injected as parameters.\n- Auto generated API schema using OpenAPI standard.\n- Auto generated `docs`, and provides a Swagger UI and ReDoc endpoints.\n- Automatic handling of pagination, with several methods at your disposal such as `limit-offset` and `page numbering`,\n  to name a few.\n\n## Installation\n\nFlama is fully compatible with all [supported versions](https://devguide.python.org/versions/) of Python. We recommend\nyou to use the latest version available.\n\nFor a detailed explanation on how to install flama\nvisit: [https://flama.dev/docs/getting-started/installation](https://flama.dev/docs/getting-started/installation).\n\n## Getting Started\n\nVisit [https://flama.dev/docs/getting-started/quickstart](https://flama.dev/docs/getting-started/quickstart) to get\nstarted with Flama.\n\n## Documentation\n\nVisit [https://flama.dev/docs/](https://flama.dev/docs/) to view the full documentation.\n\n## Example\n\n```python\nfrom flama import Flama\n\napp = Flama()\n\n\n@app.route(\"/\")\ndef home():\n    \"\"\"\n    tags:\n        - Salute\n    summary:\n        Returns a warming message\n    description:\n        This is a more detailed description of the method itself.\n        Here we can give all the details required and they will appear\n        automatically in the auto-generated docs.\n    responses:\n        200:\n            description: Warming hello message!\n    \"\"\"\n    return {\"message\": \"Hello 🔥\"}\n```\n\nThis example will build and run a `Hello 🔥` API. To run it:\n\n```commandline\nflama run examples.hello_flama:app\n```\n\n## Authors\n\n- José Antonio Perdiguero López ([@perdy](https://github.com/perdy/))\n- Miguel Durán-Olivencia ([@migduroli](https://github.com/migduroli/))\n\n## Contributing\n\nThis project is absolutely open to contributions so if you have a nice idea, please read\nour [contributing docs](.github/CONTRIBUTING.md) **before submitting** a pull\nrequest.\n\n## Star History\n\n\u003ca href=\"https://github.com/vortico/flama\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/svg?repos=vortico/flama\u0026type=Date\u0026theme=dark\" /\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/svg?repos=vortico/flama\u0026type=Date\" /\u003e\n    \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/svg?repos=vortico/flama\u0026type=Date\" /\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvortico%2Fflama","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvortico%2Fflama","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvortico%2Fflama/lists"}