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.03_2021-03-07
- Added a needed requirements
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.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70b97e9f12b965213601882541e5c7416e5183ddbb9ee43d469bfe0c938a63c8 |
|
MD5 | 97a8dcbd700b507f9a476bd12917433f |
|
BLAKE2b-256 | 7893b56fc4e891fc542957ec510fdb6c7d765a893a6c26dc972d6437e870ee9c |