Skip to main content

EZedCfg

A basic configuration loading package

https://img.shields.io/pypi/v/ezedcfg.svg https://img.shields.io/travis/stephenflynn/ezedcfg.svg Documentation Status Updates

This package’s primary purpose is to make it easier to change a programs default configuration by loading a custom configuration file in either YAML format or JSON Format.

It does this by performing a dictionary update on a supplied default configuration.

Installation

pip install ezedcfg

Usage

from ezedcfg import EZedCfg

default_configuration = {'item 1' : 1, 'item 2': False}
path_to_config = 'path/config.yml'

ezcfg = EZedCfg(default_configuration, path_to_config)

updated_configuration = ezcfg.load()

If you intend using a json configuration file, add json to the object arguments:

ezcfg = EZedCfg(default_configuration, path_to_config,'json')

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.5 (2017-09-20)

0.1.4 (2017-09-20)

  • Sundry fixes to allow Travis.ci to push a build to PyPi.

0.1.3 (2017-09-20)

  • Bugfix v2 for testing on python 3.3 and 3.4.

0.1.2 (2017-09-20)

  • Bugfix for testing on python 3.3 and 3.4.

0.1.0 (2017-09-18)

  • First release on PyPI.

Metadata

Release files for ezedcfg 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ezedcfg 0.1.7
File Size Uploaded Provenance Actions
ezedcfg-0.1.7.tar.gz 12.9 kB Without provenance Details for ezedcfg-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ezedcfg 0.1.7
File Interpreter ABI Platform Actions
ezedcfg-0.1.7-py3-none-any.whl Python 3 none any Details for ezedcfg-0.1.7-py3-none-any.whl

Total release size: 18.0 kB

Release files / ezedcfg-0.1.7.tar.gz

Download URL ezedcfg-0.1.7.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8b11b688d1b424e80f5153ea1102ba8b924340cdbfe988bf52ba426315a18049
BLAKE2b-256 checksum
How to use checksums
f041ad5b817498edc7fab554f027bc0ebb763df4d31963a1d614791620fb3777
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ezedcfg-0.1.7-py3-none-any.whl

Download URL ezedcfg-0.1.7-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
876aa49c47adf7742eded1eeddf005acbbfda269bc8cab83e8c294b4629bea4c
BLAKE2b-256 checksum
How to use checksums
d9bd873d3200ebad0807ec240d06cb8d423977dcd772df67ded3614504898c5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ezedcfg 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page