Skip to main content
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-2024-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.

Metadata

Release files for configparser 7.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for configparser 7.0.1
File Size Uploaded
configparser-7.0.1.tar.gz 50.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for configparser 7.0.1
File Interpreter ABI Platform
configparser-7.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 67.0 kB

Release files / configparser-7.0.1.tar.gz

Download URL configparser-7.0.1.tar.gz
Size 50.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0cd60670340a472ee39fb55552598a97afe8fae1d4a9aeb076864d3a327fd047
BLAKE2b-256 checksum
How to use checksums
3cb932b2245a3663e280cd4306fcf192a256282374237a911ec275ff0f304a5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / configparser-7.0.1-py3-none-any.whl

Download URL configparser-7.0.1-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5fec44ae45967311705ae3d12af0eeb9b4d720161e75141ca118b91a51d43b43
BLAKE2b-256 checksum
How to use checksums
c7346c10976814df2d0847197e53ce1c5b2aa269fa9c504c575abad4ecc3112d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page