Skip to main content

Updated configparser from stdlib for earlier Pythons.

Project description

https://img.shields.io/pypi/v/configparser.svg https://img.shields.io/pypi/pyversions/configparser.svg tests Ruff https://readthedocs.org/projects/configparser/badge/?version=latest https://img.shields.io/badge/skeleton-2025-informational https://tidelift.com/badges/package/pypi/configparser

This package is a backport of the refreshed and enhanced ConfigParser from later Python versions. To use the backport instead of the built-in version, simply import it explicitly as a backport:

from backports import configparser

For detailed documentation consult the vanilla version at http://docs.python.org/3/library/configparser.html.

Versioning

This project uses semver to communicate the impact of various releases while periodically syncing with the upstream implementation in CPython. The history serves as a reference indicating which versions incorporate which upstream functionality.

Prior to the 4.0.0 release, another scheme was used to associate the CPython and backports releases.

Maintenance

This backport was originally authored by Łukasz Langa, the current vanilla configparser maintainer for CPython and is currently maintained by Jason R. Coombs:

Conversion Process

This section is technical and should bother you only if you are wondering how this backport is produced. If the implementation details of this backport are not important for you, feel free to ignore the following content.

The project takes the following branching approach:

  • The cpython branch holds unchanged files synchronized from the upstream CPython repository. The synchronization is currently done by manually copying the required files and stating from which CPython changeset they come.

  • The main branch holds a version of the cpython code with some tweaks that make it compatible with older Pythons. Code on this branch must work on all supported Python versions. Test with tox or in CI.

The process works like this:

  1. In the cpython branch, run ./sync-upstream, which downloads the latest stable release of Python and copies the relevant files from there into their new locations and then commits those changes with a nice reference to the relevant upstream commit hash.

  2. Merge the new commit to main.

  3. Check for new names in __all__ and update imports in configparser/__init__.py accordingly. Run tests. Commit.

  4. Make any compatibility changes on main. Run tests. Commit.

  5. Update the docs and release the new version.

For Enterprise

Available as part of the Tidelift Subscription.

This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.

Learn more.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

configparser-7.2.0.tar.gz (51.3 kB view details)

Uploaded Source

Built Distribution

configparser-7.2.0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file configparser-7.2.0.tar.gz.

File metadata

  • Download URL: configparser-7.2.0.tar.gz
  • Upload date:
  • Size: 51.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for configparser-7.2.0.tar.gz
Algorithm Hash digest
SHA256 b629cc8ae916e3afbd36d1b3d093f34193d851e11998920fdcfc4552218b7b70
MD5 03764a29b3947fa82bc99e362437a528
BLAKE2b-256 8bacea19242153b5e8be412a726a70e82c7b5c1537c83f61b20995b2eda3dcd7

See more details on using hashes here.

File details

Details for the file configparser-7.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for configparser-7.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fee5e1f3db4156dcd0ed95bc4edfa3580475537711f67a819c966b389d09ce62
MD5 d4674ecd57fc2a55ae554c63e132cc98
BLAKE2b-256 09fef61e7129e9e689d9e40bbf8a36fb90f04eceb477f4617c02c6a18463e81f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page