{"id":22393728,"url":"https://github.com/artisanofcode/python-quart-injector","last_synced_at":"2025-07-31T10:32:13.242Z","repository":{"id":36963235,"uuid":"499573164","full_name":"artisanofcode/python-quart-injector","owner":"artisanofcode","description":"Dependency injecetion for quart apps","archived":false,"fork":false,"pushed_at":"2023-11-20T01:06:32.000Z","size":441,"stargazers_count":3,"open_issues_count":8,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-29T07:48:42.791Z","etag":null,"topics":["dependency-injection","injector","python","python-package","quart"],"latest_commit_sha":null,"homepage":"https://quart-injector.artisan.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/artisanofcode.png","metadata":{"funding":{"github":["artisanofcode"],"ko_fi":"danielknell"},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-03T16:09:27.000Z","updated_at":"2023-11-11T08:48:51.000Z","dependencies_parsed_at":"2023-02-12T19:15:14.255Z","dependency_job_id":null,"html_url":"https://github.com/artisanofcode/python-quart-injector","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/artisanofcode/python-quart-injector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artisanofcode%2Fpython-quart-injector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artisanofcode%2Fpython-quart-injector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artisanofcode%2Fpython-quart-injector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artisanofcode%2Fpython-quart-injector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artisanofcode","download_url":"https://codeload.github.com/artisanofcode/python-quart-injector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artisanofcode%2Fpython-quart-injector/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268024561,"owners_count":24183149,"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-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["dependency-injection","injector","python","python-package","quart"],"created_at":"2024-12-05T05:07:23.322Z","updated_at":"2025-07-31T10:32:12.975Z","avatar_url":"https://github.com/artisanofcode.png","language":"Python","readme":"# Quart Injector\n\n\u003cp class=\"lead\"\u003e\nDependency injecetion for quart apps.\n\u003c/p\u003e\n\n## 🛠 Installing\n\n```\npoetry add quart-injector\n```\n\n## 🎓 Usage\n\n```py\nimport typing\nimport quart\nimport injector\nimport quart_injector\n\nGreeting = typing.NewType(\"Greeting\", str)\n\n\ndef configure(binder: injector.Binder) -\u003e None:\n    binder.bind(Greeting, to=\"Hello\")\n\n\napp = quart.Quart(__name__)\n\n\n@app.route(\"/\u003cname\u003e\")\n@app.route(\"/\", defaults={\"name\": \"World\"})\nasync def greeting_view(greeting: injector.Inject[Greeting], name: str) -\u003e str:\n    return f\"{greeting} {name}!\"\n\n\nquart_injector.wire(app, configure)\n```\n\n## 📚 Help\n\nSee the [Documentation][docs] or ask questions on the [Discussion][discussions] board.\n\n## ⚖️ Licence\n\nThis project is licensed under the [MIT licence][mit_licence].\n\nAll documentation and images are licenced under the \n[Creative Commons Attribution-ShareAlike 4.0 International License][cc_by_sa].\n\n## 📝 Meta\n\nThis project uses [Semantic Versioning][semvar].\n\n[docs]: https://quart-injector.artisan.io\n[discussions]: https://github.com/orgs/artisanofcode/discussions\n[mit_licence]: http://dan.mit-license.org/\n[cc_by_sa]: https://creativecommons.org/licenses/by-sa/4.0/\n[semvar]: http://semver.org/\n","funding_links":["https://github.com/sponsors/artisanofcode","https://ko-fi.com/danielknell"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartisanofcode%2Fpython-quart-injector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartisanofcode%2Fpython-quart-injector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartisanofcode%2Fpython-quart-injector/lists"}