11Metadata-Version: 2.1
22Name: pyya
3- Version: 0.1.0
3+ Version: 0.1.1
44Summary: Convert YAML configuration files to Python objects
55Author-email: shadowy-pycoder <
[email protected] >
66Project-URL: Homepage, https://github.com/shadowy-pycoder/pyya
@@ -26,8 +26,22 @@ Requires-Dist: types-pyyaml>=6.0.12.20240917
2626
2727# paya - Simple tool that converts YAML configuration files to Python objects
2828
29+ 
30+ [](https://clickpy.clickhouse.com/dashboard/pyya)
31+ 
32+ [](https://pypi.org/project/pyya/)
33+ 
34+ 
2935[](https://opensource.org/licenses/MIT)
3036
37+ ## Features
38+
39+ - Very `lightweight` and `simple` API (currently it contains only one function)
40+ - `Easy` to use
41+ - Based on popular and well-tested libraries (like `camel-converter` and `munch`)
42+ - Automatically `merge` default and production configuration files
43+ - Convert keys in configuration files to `snake_case`
44+
3145
3246## Installation
3347
@@ -74,19 +88,20 @@ print(json.dumps(config.database))
7488
7589```
7690
77- As you can see, pyya automatically merges default config file with production config file.
91+ As you can see, ` pyya` automatically merges default config file with production config file.
7892
7993Under the hood `pyya` uses [munch](https://pypi.org/project/munch/) library to create attribute-stylish dictionaries.
8094
81- `paya` automatically adds underscore prefix to Python keywords and can be configured to convert `camelCase` or `PascalCase` keys to snake_case.
95+ `paya` automatically adds underscore prefix to Python keywords and can be configured to convert `camelCase` or `PascalCase` keys to ` snake_case` .
8296
83- If `raise_error_non_identifiers` is True, `pyya` will raise error if section name is not valid Python identifier.
97+ If `raise_error_non_identifiers= True` , `pyya` will raise error if section name is not valid Python identifier.
8498
8599## Contributing
86100
87101Are you a developer?
88102
89- - Fork the repository
103+ - Fork the repository `https://github.com/shadowy-pycoder/pyya/fork`
104+ - Clone the repository: `git clone https://github.com/<your-username>/pyya.git && cd pyya`
90105- Create your feature branch: `git switch -c my-new-feature`
91106- Commit your changes: `git commit -am 'Add some feature'`
92107- Push to the branch: `git push origin my-new-feature`
0 commit comments