
Security News
libxml2 Maintainer Ends Embargoed Vulnerability Reports, Citing Unsustainable Burden
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Solution for problem no one had before
Fun stays for function(or for fun if you wish) and DI for Dependency Injection
This library provides fast(to write!) and convenient(to use!) Dependency Injection for functional programming on python.
This library was inspired by FastAPI's dependency injection. The reasons for its existence are simple:
from contextlib import ExitStack
from fundi import scan, from_, inject
def require_user():
return "Alice"
def greet(user: str = from_(require_user)):
print(f"Hello, {user}!")
with ExitStack() as stack:
inject({}, scan(greet), stack)
See the documentation to get more examples: https://fundi.readthedocs.io/en/latest/
FAQs
Dependency injection library
We found that fundi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.