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.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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1be9d4dd838a55a12ce95077cc8d0b30ec1cba33394538a9968e8e19811b8d5d |
|
MD5 | ccf311d81c7cb9c146e6615cefab64bb |
|
BLAKE2b-256 | a0b65c85e81268dd14e290a2b774fbb3595fe09023faabf5958ed66d75b5eb21 |