<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Kuyugáma Hikámiya</title>
    <description>The latest articles on DEV Community by Kuyugáma Hikámiya (@kuyugama).</description>
    <link>https://dev.to/kuyugama</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3777600%2F9461fb73-af61-4854-bd42-e6c19ba40753.jpeg</url>
      <title>DEV Community: Kuyugáma Hikámiya</title>
      <link>https://dev.to/kuyugama</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kuyugama"/>
    <language>en</language>
    <item>
      <title>FunDI — Lightweight Dependency Injection for Functional Python</title>
      <dc:creator>Kuyugáma Hikámiya</dc:creator>
      <pubDate>Tue, 17 Feb 2026 13:42:24 +0000</pubDate>
      <link>https://dev.to/kuyugama/fundi-lightweight-dependency-injection-for-functional-python-2dkm</link>
      <guid>https://dev.to/kuyugama/fundi-lightweight-dependency-injection-for-functional-python-2dkm</guid>
      <description>&lt;p&gt;Dependency Injection in Python is usually tied to frameworks.&lt;/p&gt;

&lt;p&gt;If you use &lt;strong&gt;FastAPI&lt;/strong&gt;, you get DI inside request scope.&lt;br&gt;
If you use &lt;strong&gt;aiogram&lt;/strong&gt;, you get implicit injection with flags and hidden magic.&lt;/p&gt;

&lt;p&gt;But what if you want:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Explicit dependency wiring&lt;/li&gt;
&lt;li&gt;Functional style&lt;/li&gt;
&lt;li&gt;Framework-independent injection&lt;/li&gt;
&lt;li&gt;Clean testability&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That’s why I built &lt;strong&gt;FunDI&lt;/strong&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;FunDI — lightweight dependency injection library for functional programming.&lt;br&gt;
It helps inject dependencies in a simple and declarative way.&lt;/p&gt;
&lt;/blockquote&gt;


&lt;h2&gt;
  
  
  Why another DI library?
&lt;/h2&gt;

&lt;p&gt;Most framework DIs are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Implicit&lt;/li&gt;
&lt;li&gt;Request-bound&lt;/li&gt;
&lt;li&gt;Harder to debug at scale&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example, in aiogram:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="nd"&gt;@router.message&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;F&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;/whoami&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;flags&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;requires&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;User&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;user&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;}})&lt;/span&gt;
&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;on_whoami&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;Message&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;user&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;User&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="bp"&gt;...&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can’t easily see:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;where &lt;code&gt;user&lt;/code&gt; is created&lt;/li&gt;
&lt;li&gt;how it’s resolved&lt;/li&gt;
&lt;li&gt;whether it’s even configured correctly at startup&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;FunDI makes dependency origin explicit:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;fundi&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;from_&lt;/span&gt;

&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;bo.dependencies&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;require_user&lt;/span&gt;

&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;on_whoami&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;user&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;User&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;from_&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;require_user&lt;/span&gt;&lt;span class="p"&gt;)):&lt;/span&gt;
    &lt;span class="bp"&gt;...&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No flags.&lt;br&gt;
No hidden injection.&lt;br&gt;
No guessing.&lt;/p&gt;

&lt;p&gt;You see exactly where the value comes from.&lt;/p&gt;


&lt;h2&gt;
  
  
  Core Idea
&lt;/h2&gt;

&lt;p&gt;In FunDI, everything revolves around functions.&lt;/p&gt;
&lt;h3&gt;
  
  
  Key Concepts
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dependency&lt;/strong&gt; — function that produces data&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dependant&lt;/strong&gt; — function that consumes dependencies&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scope&lt;/strong&gt; — injection startup environment&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Injection&lt;/strong&gt; — resolving arguments from scope + dependency graph&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lifespan dependency&lt;/strong&gt; — setup + teardown (generator with single &lt;code&gt;yield&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Side effects&lt;/strong&gt; — dependencies whose products are not passed into dependants&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hooks&lt;/strong&gt; — injection lifecycle events&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Overriding&lt;/strong&gt; — swap dependencies for testing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It’s intentionally minimal and composable.&lt;/p&gt;


&lt;h2&gt;
  
  
  Quick Start
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;fundi&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;scan&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;from_&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;inject&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;require_user&lt;/span&gt;&lt;span class="p"&gt;():&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Alice&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;greet&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;user&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;from_&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;require_user&lt;/span&gt;&lt;span class="p"&gt;)):&lt;/span&gt;
    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Hello, &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;user&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;!&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;


&lt;span class="nf"&gt;inject&lt;/span&gt;&lt;span class="p"&gt;({},&lt;/span&gt; &lt;span class="nf"&gt;scan&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;greet&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;That’s it.&lt;/p&gt;

&lt;p&gt;No app object.&lt;br&gt;
No request.&lt;br&gt;
No container class.&lt;/p&gt;

&lt;p&gt;Just functions.&lt;/p&gt;


&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Simple syntax — define dependency with &lt;code&gt;from_()&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Flexible dependency resolving algorithm&lt;/li&gt;
&lt;li&gt;Dependency overriding&lt;/li&gt;
&lt;li&gt;Built-in dependency mocking&lt;/li&gt;
&lt;li&gt;Works outside any framework&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  Caching Behavior
&lt;/h2&gt;

&lt;p&gt;By default, dependencies are called once per injection.&lt;/p&gt;

&lt;p&gt;This prevents unnecessary repetition and guarantees consistent resolution.&lt;/p&gt;

&lt;p&gt;You can disable caching:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="nf"&gt;from_&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;require_something&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;caching&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="bp"&gt;False&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="nf"&gt;scan&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;func&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;caching&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="bp"&gt;False&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Note: disabling caching applies only to the specified function, not its internal dependencies.&lt;/p&gt;




&lt;h2&gt;
  
  
  Lifespan Dependencies
&lt;/h2&gt;

&lt;p&gt;FunDI supports two-phase dependencies using generator functions:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;acquire_resource&lt;/span&gt;&lt;span class="p"&gt;():&lt;/span&gt;
    &lt;span class="n"&gt;resource&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;connect&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="k"&gt;yield&lt;/span&gt; &lt;span class="n"&gt;resource&lt;/span&gt;
    &lt;span class="n"&gt;resource&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;close&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Preparation before &lt;code&gt;yield&lt;/code&gt;.&lt;br&gt;
Cleanup after.&lt;/p&gt;

&lt;p&gt;You can also use context manager classes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;__enter__&lt;/code&gt; / &lt;code&gt;__exit__&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;__aenter__&lt;/code&gt; / &lt;code&gt;__aexit__&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This makes resource handling explicit and deterministic.&lt;/p&gt;


&lt;h2&gt;
  
  
  Async Support
&lt;/h2&gt;

&lt;p&gt;Async dependencies work exactly the same:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;require_random_name&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;asyncio&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sleep&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;0.4&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;random&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;choice&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Bob&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Steve&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Petro&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;FunDI resolves sync and async dependencies seamlessly.&lt;/p&gt;




&lt;h2&gt;
  
  
  Naming Convention
&lt;/h2&gt;

&lt;p&gt;Dependency names communicate behavior:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;require_&lt;/code&gt; → may raise&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;optional_&lt;/code&gt; → may return &lt;code&gt;None&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;acquire_&lt;/code&gt; → resource lifecycle dependency&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This keeps business logic clean:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;handler&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;admin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;User&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;from_&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;require_admin_user&lt;/span&gt;&lt;span class="p"&gt;)):&lt;/span&gt;
    &lt;span class="bp"&gt;...&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Clear separation between parameter name and provider function.&lt;/p&gt;




&lt;h2&gt;
  
  
  Comparison
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;FunDI&lt;/th&gt;
&lt;th&gt;Aiogram&lt;/th&gt;
&lt;th&gt;FastAPI&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Implicit DI&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Partial&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Framework-bound&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;FunDI keeps what works from FastAPI’s design, but removes request coupling.&lt;/p&gt;




&lt;h2&gt;
  
  
  Testing &amp;amp; Overriding
&lt;/h2&gt;

&lt;p&gt;One of the most important features.&lt;/p&gt;

&lt;p&gt;Dependencies can be overridden during injection.&lt;br&gt;
This makes testing trivial:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;no patching globals&lt;/li&gt;
&lt;li&gt;no monkeypatch gymnastics&lt;/li&gt;
&lt;li&gt;no container rewiring&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You control resolution at injection level.&lt;/p&gt;


&lt;h2&gt;
  
  
  Philosophy
&lt;/h2&gt;

&lt;p&gt;FunDI is intentionally small.&lt;/p&gt;

&lt;p&gt;It does one thing:&lt;br&gt;
resolve dependencies in a declarative, explicit, composable way.&lt;/p&gt;

&lt;p&gt;It does not:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;manage application lifecycle&lt;/li&gt;
&lt;li&gt;replace frameworks&lt;/li&gt;
&lt;li&gt;impose architectural patterns&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It simply wires functions together cleanly.&lt;/p&gt;


&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;fundi
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;or&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;poetry add fundi
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;uv add fundi
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  When Should You Use It?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Building CLI tools&lt;/li&gt;
&lt;li&gt;Writing pure services&lt;/li&gt;
&lt;li&gt;Designing layered architectures&lt;/li&gt;
&lt;li&gt;Testing business logic independently&lt;/li&gt;
&lt;li&gt;Want FastAPI-like DI without HTTP coupling&lt;/li&gt;
&lt;li&gt;Tired of implicit framework magic&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;FunDI is small, explicit, and predictable.&lt;/p&gt;

&lt;p&gt;If you prefer seeing your dependency graph instead of guessing it — you might like it.&lt;/p&gt;

&lt;p&gt;Documentation: &lt;a href="https://fundi.readthedocs.io/en/stable/index.html" rel="noopener noreferrer"&gt;fundi.readthedocs.org&lt;/a&gt;&lt;br&gt;
Repository: &lt;a href="https://github.com/KuyuCode/fundi" rel="noopener noreferrer"&gt;github.com/KuyuCode/fundi&lt;/a&gt;&lt;br&gt;
PyPI: &lt;a href="https://pypi.org/project/fundi/" rel="noopener noreferrer"&gt;pypi.org/project&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
    </item>
  </channel>
</rss>
