Metadata-Version: 2.4
Name: config-reading
Version: 0.1.2
Summary: Configuration reading extensibility point for your package via python entry-points mechanism.
Author-email: Vitalii Stepanenko <mail@vitaliy.in>
Maintainer-email: Vitalii Stepanenko <mail@vitaliy.in>
License: MIT License
        
        Copyright (c) 2025 Vitalii Stepanenko
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Source Code, https://github.com/Nayjest/config_reading
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: yaml
Requires-Dist: pyyaml; extra == "yaml"
Dynamic: license-file

# 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:
```sh
pip install config-reading
```

To enable YAML support:
```sh
pip install config-reading[yaml]
```

## Usage Example
```python
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](LICENSE) file for details.
© 2025 Vitalii Stepanenko
