bestconfig
Setup your project config easily
Decision gist · record as of 2026-08-14
No. The package is abandoned (last commit 2023-04-17, 1215 days ago) with no active maintenance, so security patches and bug fixes are unlikely. While the core functionality is straightforward and low-friction to install, the lack of maintenance makes it a poor choice for new projects; consider actively maintained alternatives like python-dotenv, pydantic-settings, or dynaconf instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a single runtime dependency (PyYAML).
- However, the package is in abandoned status with no commits since 2023-04-17, so maintenance and bug fixes are not expected.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions.
last release 2023-04-17 (1215 days) · last repo commit 2023-04-17 · 17 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 89,380 downloads/mo, #13,663 on PyPI
Alternatives
Verify before relying
pip install bestconfig
from bestconfig import Config
config = Config("myconfig.json")
logger_mode = config.get('logger.mode')
port = config.int('PORT')- Whether Python version support is truly unspecified or if there are undocumented compatibility constraints.
- Whether the package handles circular imports correctly when scanning .py files for configuration.
- Performance characteristics when merging many configuration sources or accessing deeply nested keys.
What it is and what it does
bestconfig is a configuration management library that scans your project directory for config files in multiple formats—YAML, JSON, INI, environment files, Python modules, and CFG—and merges them into a single unified configuration object. It provides flexible access patterns: dot notation (config.logger.mode), dictionary syntax (config['logger']['mode']), and a get() method that supports nested key paths (config.get('logger.mode')) and type casting (config.int('PORT'), config.list('PRICES')).
The package automatically discovers common config file names (config.yaml, settings.json, .env, etc.) and environment variables, then exposes them through a single interface. It also supports runtime manipulation via set(), insert(), and update_from_locals() methods, and includes validation through assert_contains(). The library depends only on PyYAML for parsing, keeping installation lightweight.
Use it for
- Load database credentials and connection settings from .env files and YAML configs in a single Config object.
- Access nested configuration values like database.host and database.port using dot notation without manual dictionary traversal.
- Merge environment-specific configs (dev.yaml, prod.yaml) with shared settings and environment variables at startup.
- Type-cast config values to int, float, list, or dict automatically to avoid string-to-type conversion boilerplate.
- Validate that required configuration keys exist before application startup using assert_contains().
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last commit 2023-04-17, 1215 days ago) with no active maintenance, so security patches and bug fixes are unlikely. While the core functionality is straightforward and low-friction to install, the lack of maintenance makes it a poor choice for new projects; consider actively maintained alternatives like python-dotenv, pydantic-settings, or dynaconf instead.
Install
bestconfig on PyPI
Before you install
Low install friction with a single runtime dependency (PyYAML). However, the package is in abandoned status with no commits since 2023-04-17, so maintenance and bug fixes are not expected.
License in practice
MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions.
Quickstart
pip install bestconfig
from bestconfig import Config
config = Config("myconfig.json")
logger_mode = config.get('logger.mode')
port = config.int('PORT')
Verify before relying
- Whether Python version support is truly unspecified or if there are undocumented compatibility constraints.
- Whether the package handles circular imports correctly when scanning .py files for configuration.
- Performance characteristics when merging many configuration sources or accessing deeply nested keys.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagePyYAML |
| Maintenance | Abandoned 1,215 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 89,380 / month, #13,663 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: bestconfig-1.3.6-py3-none-any.whl
Tags
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 › “yaml json config parser”
- bestconfigLoads configuration from multiple file formats (.yaml, .json, .ini,…
- prime-pydantic-configBuilds a command-line interface from Pydantic models, loading and…
- anyconfigLoads, dumps, and merges configuration files in multiple formats…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also donfig · simple-settings · yaml-config · yacman · typed-config · pyaml-env · dotenv · yacs · python-decouple · dynaconf