Skip to main content
DotConfig
---------

Super simple python module for parsing structured config files with overrides

Install via:

```
pip install pydotconfig
```

## Example

```
import dotconfig
import os

# Try using these to override the config file values
# For example: export DCFG_BAR='Green Eggs'
ENVVARS = {
'foo': 'DCFG_FOO',
'bar': 'DCFG_BAR'
}

DEFAULTS = {
'foo': 'spam',
'bar': 'eggs'
}

if __name__ == '__main__':
cfg = dotconfig.Config('example', 'settings',
envvars=ENVVARS, defaults=DEFAULTS,
template_file='template.yaml')

print(cfg.to_dict())
```

Metadata

Release files for pydotconfig 0.1.6

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

Source distribution (sdist)

Source distribution for pydotconfig 0.1.6
File Size Uploaded Provenance Actions
pydotconfig-0.1.6.tar.gz 2.8 kB Without provenance Details for pydotconfig-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pydotconfig 0.1.6
File Interpreter ABI Platform Actions
pydotconfig-0.1.6-py2.7.egg Legacy Egg format - - Details for pydotconfig-0.1.6-py2.7.egg

Total release size: 7.5 kB

Release files / pydotconfig-0.1.6.tar.gz

Download URL pydotconfig-0.1.6.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c0463a201f6a60be2b8f450b370b60fdc299047f40391674444d654bae2f69fb
BLAKE2b-256 checksum
How to use checksums
f156840aa08de599a384626b8dc5acc83ae65d1827e224ca0df67143dda57763
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14

Release files / pydotconfig-0.1.6-py2.7.egg

Download URL pydotconfig-0.1.6-py2.7.egg
Size 4.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
a110496d63170d7acf175a563f7180ab7940ee0ab0819c026f27dab065d39a3e
BLAKE2b-256 checksum
How to use checksums
3aee3c7b0b552379bab7537cfdfe786d01d233c2e85f9fc6aa65afb40def85ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14

Security for pydotconfig 0.1.6

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