Manage (read/ write) settings file in different formats (eg. JAML, JSON, ...)
Project description
settings
Description
Manage (read/ write) settings file in different formats (eg. JAML, JSON, ...)
Suppeorted standards
- json
- yaml/ yml
Required
- python3
- pip
Directories structure
- .github
- ISSUE_TEMPLATE
- bug_report.md
- feature-request.md
- workflows
- pypi-on-push.yml
- pypi-on-release.yml
- python-test.yml
- ISSUE_TEMPLATE
- settings
- __init__.py
- test-settings.py
- docs
- LICENSE
- README.md
- log
- trace.log
- requirements
- requirements.txt
- .gitignore
- setup.py
Execution examples
# Import
from settings import settings
# Inizialize
mysettings = settings(file, format) # file = file path; format = one of "json", "yml", "yaml" (default "yaml")
# Read
mysettings.read()
# Write
mysettings.write(a_dictionary_with_your_settings)
Changelog
Version_01.02_2021-02-22
- Fixed a minor bug
Version_01.01_2021-02-22
- Initial version
Made by Castellani Davide If you have any problem please contact me:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for settings_read_write-1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9429025b53f3360137b03f7d1e23a508a5f2f74f4656c257cfa3f9a3934974b |
|
MD5 | 2dc08a336385df75aeb946f673d85d8b |
|
BLAKE2b-256 | 9044b9bc30e57392daafd58989a686e6031457638f2a2ddbde6f17ce90a689b4 |