Metadata-Version: 2.4
Name: configtony
Version: 1.0.0
Summary: A (tiny) configuration library.
Author-email: Moltony <koronavirusnyj@gmail.com>
License: BSD-3-Clause
Project-URL: Homepage, https://github.com/IAmMoltony/configtony
Project-URL: Repository, https://github.com/IAmMoltony/configtony.git
Project-URL: Issues, https://github.com/IAmMoltony/configtony/issues
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Libraries
Classifier: Typing :: Typed
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: json5
Dynamic: license-file

# configtony

A (tiny) configuration library.

## Installing

```bash
# The easy way
pip install configtony

# Installing from source
git clone https://github.com/IAmMoltony/configtony.git
cd configtony
pip install .
```

## Example

```python
from configtony import Config

config = Config("config.jsonc")
# Adds an option called 'username' that is of string type, default 'John'
config.add_option("username", str, "John")
config.add_option("some_flag", bool, False)
config.parse()

print(config.get("username"))
```
