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.1.tar.gz (3.6 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.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: config_reading-0.1.1.tar.gz
  • Upload date:
  • Size: 3.6 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.1.tar.gz
Algorithm Hash digest
SHA256 84b92a874d542afd18d8aaba6d22589ddaedcd4f297780440551f7e66b00d50d
MD5 6be6fdcaf621204ed627000c8d7234ab
BLAKE2b-256 7ebe86c0722cdc164d1b07d95888c7f241df3e84d8f0c1ef4fc5c2f190991d8b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: config_reading-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4b44110cdac993e6c6bec87935e15782042d51bc50d32fdbd4d2c991e739b9a6
MD5 42cd234e909c68cfc8a1825090ae42a4
BLAKE2b-256 5aedbd4168b2059725907af0d0bb0e9dee209fd7b214e4e634d5880846849e3b

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