Skip to main content

settings

GitHub license Author Version Language Python sys.platform supported On GitHub

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
  • 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:

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

settings_read_write-1.3.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

settings_read_write-1.3-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file settings_read_write-1.3.tar.gz.

File metadata

  • Download URL: settings_read_write-1.3.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for settings_read_write-1.3.tar.gz
Algorithm Hash digest
SHA256 cf30b155fd4b619c89ff89e66f36cde9a5d5d3a1f4399bd9c2c46baa549eea64
MD5 2130277b5b2a526248c496979e15ed68
BLAKE2b-256 cceec2cacd65deb0b7561a9979178b7945e6d3722cc7aa498ddaa25d4e874fcd

See more details on using hashes here.

File details

Details for the file settings_read_write-1.3-py3-none-any.whl.

File metadata

  • Download URL: settings_read_write-1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for settings_read_write-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 70b97e9f12b965213601882541e5c7416e5183ddbb9ee43d469bfe0c938a63c8
MD5 97a8dcbd700b507f9a476bd12917433f
BLAKE2b-256 7893b56fc4e891fc542957ec510fdb6c7d765a893a6c26dc972d6437e870ee9c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.3 This release

2 files

1.2

2 files

1.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page