{"id":13502189,"url":"https://github.com/emmett-framework/emmett","last_synced_at":"2025-12-14T17:42:10.513Z","repository":{"id":22153713,"uuid":"25485025","full_name":"emmett-framework/emmett","owner":"emmett-framework","description":"The web framework for inventors","archived":false,"fork":false,"pushed_at":"2025-05-01T23:33:12.000Z","size":3959,"stargazers_count":1130,"open_issues_count":38,"forks_count":70,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-05-11T14:02:50.241Z","etag":null,"topics":["asgi","asyncio","emmett","python","web-framework"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emmett-framework.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["gi0baro"],"polar":"emmett-framework"}},"created_at":"2014-10-20T20:23:26.000Z","updated_at":"2025-05-09T18:05:04.000Z","dependencies_parsed_at":"2023-02-16T08:46:15.023Z","dependency_job_id":"7df9d7e2-078b-4b02-b8a8-b0c21538faa5","html_url":"https://github.com/emmett-framework/emmett","commit_stats":{"total_commits":1604,"total_committers":24,"mean_commits":66.83333333333333,"dds":0.04862842892768082,"last_synced_commit":"64f0c8b23f8357eb886b5fbfad4e1e6a6847be3b"},"previous_names":["gi0baro/weppy"],"tags_count":130,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmett-framework%2Femmett","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmett-framework%2Femmett/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmett-framework%2Femmett/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmett-framework%2Femmett/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emmett-framework","download_url":"https://codeload.github.com/emmett-framework/emmett/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254067673,"owners_count":22009233,"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","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":["asgi","asyncio","emmett","python","web-framework"],"created_at":"2024-07-31T22:02:05.333Z","updated_at":"2025-12-14T17:42:05.462Z","avatar_url":"https://github.com/emmett-framework.png","language":"Python","readme":"![Emmett](https://emmett.sh/static/img/logo-bwb-xb-xl.png)\n\nEmmett is a full-stack Python web framework designed with simplicity in mind.\n\nThe aim of Emmett is to be clearly understandable, easy to be learned and to be \nused, so you can focus completely on your product's features:\n\n```python\nfrom emmett import App, request, response\nfrom emmett.orm import Database, Model, Field\nfrom emmett.tools import service, requires\n\nclass Task(Model):\n    name = Field.string()\n    is_completed = Field.bool(default=False)\n\napp = App(__name__)\napp.config.db.uri = \"postgres://user:password@localhost/foo\"\ndb = Database(app)\ndb.define_models(Task)\napp.pipeline = [db.pipe]\n\ndef is_authenticated():\n    return request.headers.get(\"api-key\") == \"foobar\"\n    \ndef not_authorized():\n    response.status = 401\n    return {'error': 'not authorized'}\n\n@app.route(methods='get')\n@requires(is_authenticated, otherwise=not_authorized)\n@service.json\nasync def todo():\n    page = request.query_params.page or 1\n    tasks = Task.where(\n        lambda t: t.is_completed == False\n    ).select(paginate=(page, 20))\n    return {'tasks': tasks}\n```\n\n## Documentation\n\nThe documentation is available at [https://emmett.sh/docs](https://emmett.sh/docs).    \nThe sources are available under the [docs folder](https://github.com/emmett-framework/emmett/tree/master/docs).\n\n## Examples\n\nThe *bloggy* example described in the [Tutorial](https://emmett.sh/docs/latest/tutorial) is available under the [examples folder](https://github.com/emmett-framework/emmett/tree/master/examples). \n\n## Status of the project\n\nEmmett is production ready and is compatible with Python 3.9 and above versions.\n\nEmmett follows a *semantic versioning* for its releases, with a `{major}.{minor}.{patch}` scheme for versions numbers, where:\n\n- *major* versions might introduce breaking changes\n- *minor* versions usually introduce new features and might introduce deprecations\n- *patch* versions only introduce bug fixes\n\nDeprecations are kept in place for at least 3 minor versions, and the drop is always communicated in the [upgrade guide](https://emmett.sh/docs/latest/upgrading).\n\n## How can I help?\n\nWe would be very glad if you contributed to the project in one or all of these ways:\n\n* Talking about Emmett with friends and on the web\n* Adding issues and features requests here on GitHub\n* Participating in discussions about new features and issues here on GitHub\n* Improving the documentation\n* Forking the project and writing beautiful code\n\n## License\n\nEmmett is released under the BSD License.\n\nHowever, due to original license limitations, contents under [validators](https://github.com/emmett-framework/emmett/tree/master/emmett/validators) and [libs](https://github.com/emmett-framework/emmett/tree/master/emmett/libs) are included in Emmett under their original licenses. Please check the source code for more details.\n","funding_links":["https://github.com/sponsors/gi0baro","https://polar.sh/emmett-framework"],"categories":["Python","Web Frameworks","Full-stack frameworks, including data layer (ORM)"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmett-framework%2Femmett","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femmett-framework%2Femmett","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmett-framework%2Femmett/lists"}