Skip to content

Commit ac894ef

Browse files
Updated README.md with features, bumped to v0.1.1
1 parent d449648 commit ac894ef

File tree

4 files changed

+36
-11
lines changed

4 files changed

+36
-11
lines changed

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
# paya - Simple tool that converts YAML configuration files to Python objects
22

33
![PyPI - Downloads](https://img.shields.io/pypi/dd/pyya)
4+
[![ClickPy Dashboard](https://img.shields.io/badge/clickpy-dashboard-orange)](https://clickpy.clickhouse.com/dashboard/pyya)
45
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyya)
56
[![PyPI - Link](https://img.shields.io/badge/pypi-link-blue)](https://pypi.org/project/pyya/)
67
![PyPI - Version](https://img.shields.io/pypi/v/pyya)
78
![PyPI - Wheel](https://img.shields.io/pypi/wheel/pyya)
89
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
910

11+
## Features
12+
13+
- Very `lightweight` and `simple` API (currently it contains only one function)
14+
- `Easy` to use
15+
- Based on popular and well-tested libraries (like `camel-converter` and `munch`)
16+
- Automatically `merge` default and production configuration files
17+
- Convert keys in configuration files to `snake_case`
18+
1019

1120
## Installation
1221

@@ -53,19 +62,20 @@ print(json.dumps(config.database))
5362

5463
```
5564

56-
As you can see, pyya automatically merges default config file with production config file.
65+
As you can see, `pyya` automatically merges default config file with production config file.
5766

5867
Under the hood `pyya` uses [munch](https://pypi.org/project/munch/) library to create attribute-stylish dictionaries.
5968

60-
`paya` automatically adds underscore prefix to Python keywords and can be configured to convert `camelCase` or `PascalCase` keys to snake_case.
69+
`paya` automatically adds underscore prefix to Python keywords and can be configured to convert `camelCase` or `PascalCase` keys to `snake_case`.
6170

62-
If `raise_error_non_identifiers` is True, `pyya` will raise error if section name is not valid Python identifier.
71+
If `raise_error_non_identifiers=True`, `pyya` will raise error if section name is not valid Python identifier.
6372

6473
## Contributing
6574

6675
Are you a developer?
6776

68-
- Fork the repository
77+
- Fork the repository `https://github.com/shadowy-pycoder/pyya/fork`
78+
- Clone the repository: `git clone https://github.com/<your-username>/pyya.git && cd pyya`
6979
- Create your feature branch: `git switch -c my-new-feature`
7080
- Commit your changes: `git commit -am 'Add some feature'`
7181
- Push to the branch: `git push origin my-new-feature`

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pyya"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
authors = [
55
{ name="shadowy-pycoder", email="shadowy-pycoder@example.com" },
66
]

pyya.egg-info/PKG-INFO

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.1
22
Name: pyya
3-
Version: 0.1.0
3+
Version: 0.1.1
44
Summary: Convert YAML configuration files to Python objects
55
Author-email: shadowy-pycoder <shadowy-pycoder@example.com>
66
Project-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+
![PyPI - Downloads](https://img.shields.io/pypi/dd/pyya)
30+
[![ClickPy Dashboard](https://img.shields.io/badge/clickpy-dashboard-orange)](https://clickpy.clickhouse.com/dashboard/pyya)
31+
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyya)
32+
[![PyPI - Link](https://img.shields.io/badge/pypi-link-blue)](https://pypi.org/project/pyya/)
33+
![PyPI - Version](https://img.shields.io/pypi/v/pyya)
34+
![PyPI - Wheel](https://img.shields.io/pypi/wheel/pyya)
2935
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](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

7993
Under 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

87101
Are 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`

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)