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:
Metadata
Release files for settings-read-write 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| settings_read_write-1.3.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| settings_read_write-1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / settings_read_write-1.3.tar.gz
| Download URL | settings_read_write-1.3.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf30b155fd4b619c89ff89e66f36cde9a5d5d3a1f4399bd9c2c46baa549eea64
|
|
BLAKE2b-256 checksum How to use checksums |
cceec2cacd65deb0b7561a9979178b7945e6d3722cc7aa498ddaa25d4e874fcd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|
Release files / settings_read_write-1.3-py3-none-any.whl
| Download URL | settings_read_write-1.3-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70b97e9f12b965213601882541e5c7416e5183ddbb9ee43d469bfe0c938a63c8
|
|
BLAKE2b-256 checksum How to use checksums |
7893b56fc4e891fc542957ec510fdb6c7d765a893a6c26dc972d6437e870ee9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|