$npx skillfedfor your agent

donfig

Python package for configuring a python package

Worth itPyPI Scientific/EngineeringReleased May 20246.0M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — donfig-0.8.1.post1-py3-none-any.whl
v0.8.1.post1 · released 2024-05-23 · Python >=3.8 · 1 runtime deps: pyyaml

Yes. Donfig is a lightweight, actively maintained library with no known vulnerabilities, a permissive MIT license, and low install friction. It solves a real problem—multi-source configuration management—that library authors would otherwise implement themselves. Suitable for any Python package that needs flexible user-facing configuration.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later.
  • Low install friction with a single pure-Python dependency (pyyaml).
  • Actively maintained with recent commits; last release was in 2024-05-23 and the repository remains active.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) allows use in commercial and proprietary projects with minimal restrictions; original dask code also acknowledged under its prior license.

last release 2024-05-23 (813 days) · last repo commit 2026-08-04 · 42 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 5,985,314 downloads/mo, #1,996 on PyPI

Verify before relying

pip install donfig

from donfig import Config
config = Config('mypkg')
config.set(important_key=5)
value = config.get('important_key')
  • Whether the package handles complex nested YAML structures or has limitations on config depth.
  • Performance characteristics when loading large configuration files or managing many config keys.
  • Thread-safety guarantees for concurrent access to the Config object.
Same gist for agents: .md · .json

What it is and what it does

Donfig is a configuration library that abstracts away the boilerplate of managing application settings across multiple sources. It originated from the dask library's configuration system and provides a Config object that can be instantiated per package to centralize settings management. The library automatically loads configuration from environment variables (prefixed with the config object's name in uppercase), YAML files in standard system locations (~/.config, /etc, sys.prefix/etc), and programmatic calls. This multi-source approach lets developers and users configure applications without modifying code, using whichever method fits their workflow.

The package is lightweight, depending only on pyyaml, and supports context managers for temporary configuration changes. It's designed to be embedded in other packages rather than used standalone, making it useful for library authors who want to offer their users flexible configuration without building a custom system.

Use it for

  • Embed configuration management in a data science or scientific Python package without building custom config logic.
  • Allow users to override package settings via environment variables in containerized or cloud deployments.
  • Load application defaults from YAML files in standard system locations, with user overrides in home directories.
  • Provide temporary configuration changes within a code block using context managers without global state pollution.
  • Centralize package-wide settings in a single Config object accessible throughout a codebase.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Donfig is a lightweight, actively maintained library with no known vulnerabilities, a permissive MIT license, and low install friction. It solves a real problem—multi-source configuration management—that library authors would otherwise implement themselves. Suitable for any Python package that needs flexible user-facing configuration.

Install

donfig on PyPI

Before you install

Low install friction with a single pure-Python dependency (pyyaml). Actively maintained with recent commits; last release was in 2024-05-23 and the repository remains active.

Requires Python 3.8 or later.

License in practice

MIT license (permissive) allows use in commercial and proprietary projects with minimal restrictions; original dask code also acknowledged under its prior license.

Quickstart

pip install donfig

from donfig import Config
config = Config('mypkg')
config.set(important_key=5)
value = config.get('important_key')

Verify before relying

  • Whether the package handles complex nested YAML structures or has limitations on config depth.
  • Performance characteristics when loading large configuration files or managing many config keys.
  • Thread-safety guarantees for concurrent access to the Config object.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pyyaml
MaintenanceActively maintained 813 days since the last release
Last repo commit
First released
Downloads5,985,314 / month, #1,996 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonTopic :: Scientific/Engineering

Evidence: donfig-0.8.1.post1-py3-none-any.whl

Tags

Capabilities
python package configuration managementyaml config loaderenvironment variable configurationapplication settings managementconfig object for packagesdask-style configuration systemmulti-source config loading
Topics
configuration-managementyaml-configlibrary-utility
PyPI keywords
task-schedulingparallelnumpypandaspydata

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “config object for packages”

  • donfigDonfig provides a unified configuration system for Python packages,…
  • django-settings-holderProvides a settings container for Django extensions that allows…
  • lib-layered-configLoads and merges configuration from multiple sources (defaults,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also bestconfig · apipkg · yaml-config · lib-layered-config · rapids-dask-dependency · configurator · hierarchical-conf · confuse · ConfigArgParse · pyaml-env