Write configurations into .ini
This project leverages configureparser module to write your configurations into an .ini file at ease. It's designed for simplicity and ease of use, allowing you to manage .ini files.
Features
- Write: Write and store your configurations.
- Read: Read the only configuration you need.
- Modify: Modify the configuration.
- Store with sections: Store your configuration based on its type as a section.
Prerequisites
configparser
Usage
To use the functionality, import the Configuration function from ArtexConfigure.
from ArtexConfig import Configuration
settings_file = 'app_settings.ini'
app_settings = AppSettings(settings_file)
# Store settings
initial_settings = {
'theme': 'dark',
'language': 'en',
'notifications': 'True'
}
app_settings.store_settings('General', initial_settings)
# Modify a setting
app_settings.modify_setting('General', 'language', 'es')
# Verify the modification
print(app_settings.get_setting('General', 'language')) # Output: es
This project is managed by Artex AI. Soon an improved and stable version will roll out
Metadata
Release files for ArtexConfigure 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| artexconfigure-0.0.1.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ArtexConfigure-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / artexconfigure-0.0.1.tar.gz
| Download URL | artexconfigure-0.0.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79d1fa598fad513c5b0fbb1c673d1fbdbd9f84cd7bc7164e8456bb409f6b43f0
|
|
BLAKE2b-256 checksum How to use checksums |
2267c63d6b101b224401e7122042be89aa8b2ccbfc73bc3a3f32b8230aec6e02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / ArtexConfigure-0.0.1-py3-none-any.whl
| Download URL | ArtexConfigure-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
afc82ed931a571d5aef46c127a56af093bfada2d1d2f3856feb092d75baede2f
|
|
BLAKE2b-256 checksum How to use checksums |
f81a7ddb68d55fce0ef69e440723452400b943b58a64d901258b298d17f3fd11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|