Skip to main content

pipeline status coverage report licence version python

prgconfig

prgconfig is a little library that ease the manage of configuration file written in toml. It comes with nice default. The minimum you have to specify is your program name then it does the rest. It aims to fit to standard in use for location of configuration file. It is also totally configurable to fit your needs.

Installation

Recommended installation is by using pip:

pip install prgconfig

Usage

PrgConfig is a dict like object.

Basic example:

from prgconfig import PrgConfig

config = PrgConfig("prgname")

config.load()

print(config["section"]["key"])

See the constructor of PrgConfig class to get an idea of possible configuration.

Roadmap

See issues with the enhancement tag

Metadata

Release files for prgconfig 1.0.0

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

Source distribution (sdist)

Source distribution for prgconfig 1.0.0
File Size Uploaded Provenance
prgconfig-1.0.0.tar.gz 19.3 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 35.5 kB

Release files / prgconfig-1.0.0.tar.gz

Download URL prgconfig-1.0.0.tar.gz
Size 19.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d0cc315f061c61b859d2163223fc05f5fcf648745ddddeea11635c8826a8e3d6
BLAKE2b-256 checksum
How to use checksums
b1586699a40e7a913afaa2570bf1f62337cb10c6fd246e3e8b8a20739e5952e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.10 CPython/3.9.2 Linux/5.18.0-0.deb11.4-amd64

Release files / prgconfig-1.0.0-py3-none-any.whl

Download URL prgconfig-1.0.0-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3891bdd6fafa0c441100846a2dd531c927cf760f292307534dbb8b32f92f350
BLAKE2b-256 checksum
How to use checksums
ad77ff8cb97558325aafd50ea86a160f61614f78c1f6961687e46ad4e41c475a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.10 CPython/3.9.2 Linux/5.18.0-0.deb11.4-amd64

Security for prgconfig 1.0.0

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.

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