ppconfig
Configuration helper
PyPI package: ppconfig
If you spot any problems or have any improvement ideas then feel free to open an issue and I will be glad to look into it for you.
Installation
A recommended way of installing the tool is pip install.
pip install
The tool is available in PyPI and can be installed using pip:
$ pip install --user ppconfig
Configuration
By default, configuration files are searched for in ~/.config/ (this can be overridden by class argument config_dir or environment variable XDG_CONFIG_HOME). If the config directory does not exist then it will be automatically created.
Usage
Let’s say we have ~/.config/app_name with the following contents:
[default] var1 = First Data [section_name] var2 = Some other random data
To read both variables from this file:
from ppconfig import Config
config = Config(config_file='app_name')
var1 = config.get('var1')
var2 = config.get('var2', section='section_name')
Metadata
Release files for ppconfig 1.0.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 | Provenance | Actions |
|---|---|---|---|---|
| ppconfig-1.0.3.tar.gz | 3.0 kB | Without provenance | Details for ppconfig-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ppconfig-1.0.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for ppconfig-1.0.3-py2.py3-none-any.whl |
Total release size: 17.7 kB
Release files / ppconfig-1.0.3.tar.gz
| Download URL | ppconfig-1.0.3.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
417a3f4ef4d3db1721a3c6f05a423fbbb4c8b5aa7c1132827f9f14f862cc9ca0
|
|
BLAKE2b-256 checksum How to use checksums |
7e123dd6a12f46b6f765c83203aeec8f0d2ce1722ac7a51dd24e71155ad14fa2
|
| 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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16
|
Release files / ppconfig-1.0.3-py2.py3-none-any.whl
| Download URL | ppconfig-1.0.3-py2.py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
770dc0829e3d3d80c48440211105a0fa8900049e1734eec8c86895cfbbdf0e56
|
|
BLAKE2b-256 checksum How to use checksums |
961975b7d1c315ad6f448bc2bb61432bb05006303ffc6bac42d58706a9edda4c
|
| 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/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16
|
Security for ppconfig 1.0.3
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.