Skip to main content

Configuration reading extensibility point for your package via python entry-points mechanism.

Project description

config-reading

config-reading is a configuration reading extensibility point for your package via python entry-points mechanism.

Features

  • Bundled formats: TOML, YAML, JSON, Python
  • Extensible via Python entry-points

Installation

Install the core library:

pip install config-reading

To enable YAML support:

pip install config-reading[yaml]

Usage Example

from config_reading import read_config

config1 = read_config('config.toml')
config2 = read_config('config.json')
config3 = read_config('config.py')
# For YAML (requires optional dependency):
# config = load_yaml_config('config.yaml')

Extensibility

You can add new config formats by registering entry points in your own package.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details. © 2025 Vitalii Stepanenko

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

config_reading-0.1.2.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

config_reading-0.1.2-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file config_reading-0.1.2.tar.gz.

File metadata

  • Download URL: config_reading-0.1.2.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for config_reading-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a64b8401965c28b5f577ee6145fdb3a9e7f0d4cc6aa0444bb3f91557f0195ed6
MD5 b1fefa10be969d0ce249aa484ee8385f
BLAKE2b-256 dac3e90c1794a5bf758db4f7db613a9564f5903e2e2fd7d1d6f843977510a872

See more details on using hashes here.

File details

Details for the file config_reading-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: config_reading-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for config_reading-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 293aa2bcaec856d5111e0e185cdc136f5fcbdd49eb1bb1f2f240073ee0647b73
MD5 5d8da9dca6f1502f4d9426f7d1d37a17
BLAKE2b-256 a55009286eab56ac075f622eddee1a50cba306031c31fccdf1c47bd2f418ba6e

See more details on using hashes here.

Supported by

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