skillfed

setoptconf-tmp

A module for retrieving program settings from various sources in a consistant method.

setoptconf-tmp v0.3.1 359.1K downloads/30d#7,254 on PyPI0
Permissive license MIT Abandoned released

What it is and what it does

setoptconf-tmp is a temporary fork of setoptconf created to fix a compatibility issue between the original setoptconf and setuptools >= 58 that was breaking prospector builds. It provides a configuration manager that collects program settings from multiple sources—command line arguments, environment variables, INI files, JSON files, YAML files, and Python objects—and merges them into a single configuration object with priority ordering determined by the order sources are passed to the retrieval method.

The package has no runtime dependencies and is designed as a minimal bridge solution. However, it is explicitly not maintained: the maintainers state it will be purged once prospector is updated to remove its setoptconf dependency. Installing this package should only be considered if you have an active prospector build that cannot be updated, and you need a temporary workaround for setuptools compatibility.

Use it for:

  • Unblocking prospector CI builds that fail due to setoptconf incompatibility with setuptools >= 58
  • Temporarily loading application settings from command line, environment, and config files in a single call
  • Merging settings from multiple sources with explicit priority order (e.g., CLI overrides env vars, which override files)

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Retrieves program settings from multiple sources (command line, environment variables, INI/JSON/YAML files, Python objects) and merges them with configurable priority.

No, unless you are actively maintaining a prospector-dependent build that cannot be updated. The package is abandoned and explicitly temporary; the maintainers intend to remove it once prospector is updated. For new projects, use a maintained configuration library instead.

Install

setoptconf-tmp on PyPI

pip

pip install setoptconf-tmp

uv

uv add setoptconf-tmp

poetry

poetry add setoptconf-tmp

Installing setoptconf-tmp

Before you install

Low install friction with no runtime dependencies. However, the package is explicitly abandoned and marked as a temporary fork—it was created solely to unblock prospector builds and will be removed once prospector is updated.

License in practice

MIT license permits commercial and private use with minimal restrictions, requiring only license and copyright notice retention.

Quickstart

import setoptconf as soc

manager = soc.ConfigurationManager('myprogram')
manager.add(soc.StringSetting('foo'))
config = manager.retrieve(
    soc.CommandLineSource,
    soc.EnvironmentVariableSource,
    soc.ConfigFileSource(('.myprogramrc',))
)

Verify before relying

  • Whether prospector has since been updated to remove the setoptconf dependency, making this fork obsolete
  • Compatibility with setuptools versions beyond 58 and current Python 3.10+ releases

Package facts

License MIT (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance abandoned — 1,801 days since the last release
Last repo commit
First released
Downloads 359,109/month — #7,254 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: setoptconf_tmp-0.3.1-py3-none-any.whl

Keywords: settings, options, configuration, config, arguments

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Tags

configuration management librarysettings from multiple sourcesconfig file and environment variablescommand line argument parsingini yaml json config loader
abandonedtemporary-workaround

More Python Modules packages