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.4.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.4-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: config_reading-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 b00c0a4b47ee21904b04b565592a9b449445eceace373818f74f54700acfb7b1
MD5 decc4c67d30c2b72de707448a429b926
BLAKE2b-256 dba437efebac9ef5cd9eb007a7e39f2c43930013d4644d93bc086d70de538679

See more details on using hashes here.

File details

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

File metadata

  • Download URL: config_reading-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4d980e16be27228f888f965c059f56079ab325cc7ec2013a624e4d4acaf848c8
MD5 ee069c9734f6278d0cd23803322e5729
BLAKE2b-256 8c92ecd4fa9e0dc992191c0a47ff9f8c788a58e4eb3ce5671c20170957676da8

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