python-dependency-injector / rules
Cursor rule4.9k starsChanged 18 months agoBSD-3-ClauseView on GitHub
Run examples
Trending
Less talk lately.about the whole repository
Who's talking about ets-labs/python-dependency-injector
- vinta/awesome-python“Add Dependency Injector”GitHub · Apr 23, 2017 · 28 reactions
- Stack Overflow“What is a Pythonic way for Dependency Injection?”Stack Overflow · Feb 26, 2016 · 19 votes
- Stack Overflow“Is this the right way to do dependency injection in Django?”Stack Overflow · Jun 14, 2019 · 16 votes
- Stack Overflow“it's possible to do dependency injection in Fastapi using abstract class?”Stack Overflow · Dec 25, 2022 · 6 votes
- Stack Overflow“Python Dependency Injection Framework”Stack Overflow · Mar 6, 2016 · 3 votes
The biggest 5 of 55 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 55
Talked about on GitHub, Stack Overflow and Hacker News (55 times).
On GitHub · 50
- Apr 23, 2017Add Dependency Injector — vinta/awesome-python28 reactions · 1 comment
- Oct 28, 2021Problem with sanic>21.6 — yunstanford/pytest-sanic2 reactions · 7 comments
- Nov 9, 2026refactor: move preparations out of AgentService (#21) — Jongtae/Still1 reaction · 1 comment
- Mar 6, 2025Remove generic classifier — oauthlib/oauthlib1 reaction · 2 comments
- Feb 12, 2024[Core] ray.remote raises ValueError when used on torch IterableDataset — ray-project/ray1 reaction · 11 comments
45 more on GitHub
- Nov 22, 2023Find alternative to dependency-injector framework — febus982/bootstrap-python-fastapi1 reaction · 3 comments
- Nov 4, 2026Bump the minor-and-patch group with 15 updates — T-302-HONN/ApplicationArchitectureOld0 reactions · 1 comment
- Sep 29, 2026deps: bump dependency-injector from 4.48.1 to 4.49.1 — Amirmahdimtz/multirag-clean0 reactions · 1 comment
- Sep 6, 2026chore(deps): bump dependency-injector from 4.49.0 to 4.49.1 — bedrock-python/sqlalchemy-foundation-kit0 reactions
- Sep 6, 2026chore(deps): bump dependency-injector from 4.49.0 to 4.49.1 — bedrock-python/aiokafka-foundation-kit0 reactions
- Sep 4, 2026dependency-injector riscv64 support — riseproject-dev/python-wheels0 reactions
- Sep 3, 2026dependency-injector: add build-dependency-injector.yml for riscv64 wheels — riseproject-dev/python-wheels0 reactions
- Aug 2, 2026build(deps): bump the python-deps group across 1 directory with 25 updates — senalw/AutoCart0 reactions
- Aug 1, 2026chore(deps)(deps): bump dependency-injector from 4.48.2 to 4.49.1 — DariuszNewecki/CORE0 reactions · 3 comments
- Jul 28, 2026build(deps): bump dependency-injector from 4.48.3 to 4.49.1 — btech-software/agent-lab0 reactions · 1 comment
- Jul 16, 2026chore(deps): bump dependency-injector from 4.49.0 to 4.49.1 — AIAI-Laboratory/secretary-Kim0 reactions
- Jul 8, 2026build(deps): bump the all-python-dependencies group across 1 directory with 7 updates — igsor/animotion0 reactions
- Jul 6, 2026[dependencies] Bump dependency-injector from 4.49.0 to 4.49.1 — JetBrains-Research/idegym0 reactions
- Jul 1, 2026Bump dependency-injector from 4.39.1 to 4.49.1 in /packages/core/minos-microservice-common — minos-framework/minos-python0 reactions · 2 comments
- Jun 22, 2026chore(deps): bump the python-packages group across 1 directory with 11 updates — masterivanic/Bank-service0 reactions
- Jun 21, 2026build(pip): bump dependency-injector from 4.49.0 to 4.49.1 in /src — Rubenrod18/flask_api0 reactions
- Jun 19, 2026Bump dependency-injector from 4.49.0 to 4.49.1 in /requirements/partial — OpenSlides/openslides-backend0 reactions · 1 comment
- Jun 19, 2026chore(deps): bump dependency-injector from 4.48.3 to 4.49.1 — mukesh11309732/school-app0 reactions
- Jun 19, 2026build(deps): bump dependency-injector from 4.49.0 to 4.49.1 in /service — vatger/vatger-plugin0 reactions
- Jun 18, 2026chore(deps): bump the python-dependencies group across 1 directory with 19 updates — aatrubilin/mduck0 reactions
- Jun 18, 2026build(pip): bump dependency-injector from 4.49.0 to 4.49.1 in /src — Rubenrod18/cinebooker0 reactions
- Jun 18, 2026Update dependency-injector to 4.49.1 — SergioVenicio/music-player0 reactions
- Jun 8, 2026Bump the python-packages group across 1 directory with 4 updates — njohnson-oss/altspell0 reactions
- May 12, 2026Bump dependency-injector from 4.48.1 to 4.49.0 — joneill116/orchestration-svc0 reactions
- May 11, 2026chore(deps): update dependency-injector requirement from <5.0.0,>=4.48.1 to >=4.49.0,<5.0.0 — 6ixGODD/modx0 reactions · 1 comment
- Apr 13, 2026backend(deps): update dependency-injector requirement from >=4.41.0 to >=4.49.0 in /backend — yonatangross/consumer-complaint-system0 reactions · 1 comment
- Apr 13, 2026chore(deps): Update dependency-injector requirement from >=4.41.0 to >=4.49.0 in /backend — trevi00/code-tutor-ai0 reactions · 1 comment
- Mar 23, 2026chore(deps): bump dependency-injector from 4.48.3 to 4.49.0 — TrisNol/project-kraken0 reactions
- Sep 22, 2025chore(deps): bump dependency-injector from 4.46.0 to 4.48.2 in /backend — jpkrajewski/AI-Content-Moderation-Platform0 reactions
- Jun 2, 2025Bump dependency-injector from 4.43.0 to 4.47.1 — equipo-capibaras/service-invoice0 reactions · 1 comment
- Jun 2, 2025Bump dependency-injector from 4.43.0 to 4.47.1 — equipo-capibaras/service-notification0 reactions · 1 comment
- Jun 2, 2025Bump dependency-injector from 4.43.0 to 4.47.1 — equipo-capibaras/service-analytics0 reactions · 1 comment
- Jun 2, 2025⬆️ Bump dependency-injector from 4.43.0 to 4.47.1 — equipo-capibaras/service-predictiveai0 reactions · 1 comment
- Jun 2, 2025Bump dependency-injector from 4.43.0 to 4.47.1 — equipo-capibaras/service-registroapp0 reactions · 1 comment
- Jun 2, 2025Bump dependency-injector from 4.43.0 to 4.47.1 — equipo-capibaras/service-user0 reactions · 1 comment
- Jun 2, 2025Bump dependency-injector from 4.43.0 to 4.47.1 — equipo-capibaras/service-registromail0 reactions · 1 comment
- Feb 26, 2025⬆️ Bump dependency-injector from 4.43.0 to 4.46.0 — equipo-capibaras/service-generativeai0 reactions · 2 comments
- Feb 26, 2025Bump dependency-injector from 4.43.0 to 4.46.0 — equipo-capibaras/service-incidentmodify0 reactions · 2 comments
- Feb 26, 2025Bump dependency-injector from 4.43.0 to 4.46.0 — equipo-capibaras/service-client0 reactions · 2 comments
- Feb 26, 2025Bump dependency-injector from 4.43.0 to 4.46.0 — equipo-capibaras/service-incidentquery0 reactions · 2 comments
- Dec 9, 2024Bump dependency-injector from 4.42.0b1 to 4.44.0 — peterfortuin/BookGenerator0 reactions
- Aug 5, 2024Refactor out dependency_injector — LeStahL/construct-parser-serializer-generator0 reactions
- Jul 26, 2024Support for Container.override — nightblure/injection0 reactions · 5 comments
- Jul 17, 2024Dependency Injector library seems to be abandoned — sfermigier/awesome-dependency-injection-in-python0 reactions
- Jan 25, 2024Replacement for python-dependency-injector — Lancetnik/FastDepends0 reactions · 7 comments
On Stack Overflow · 4
- Feb 26, 2016What is a Pythonic way for Dependency Injection?19 votes
- Jun 14, 2019Is this the right way to do dependency injection in Django?16 votes
- Dec 25, 2022it's possible to do dependency injection in Fastapi using abstract class?6 votes
- Mar 6, 2016Python Dependency Injection Framework3 votes
On Hacker News · 1
- Sep 26, 2016Dependency Injector 2.2.0 has been released – inject decorator is deprecated1 point
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 4,144 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository2 other files it gives its agents.
- .cursor/rules/coding-guide.mdcCursor rule
- .cursor/rules/makefile-commands.mdcCursor rule
The file
We split this run-examples.mdc into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 6
When you run an example from the
examples/folder, switch to the example folder and run it from there. - Distinctive: line 7
If there are instructions on running the examples or its tests in readme, follow them
≈ “Common” is an estimate: at least 1 in 5 of the 6,668 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
--- description: Run examples globs: alwaysApply: false --- - When you run an example from the ``examples/`` folder, switch to the example folder and run it from there. - If there are instructions on running the examples or its tests in readme, follow them - Activate virtualenv before running any commands by ``. venv/bin/actvate``
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

