Configgy
A subtle Python package for loading configuration files without having to specify the file type.
Installation
You can install the package from PyPI using pip:
pip install configgy
Usage
Here's an example of how to use the package to load a configuration file:
from configgy.loader import ConfigLoader
data = ConfigLoader().load_config_file("file.json")
The load_config function takes a single argument, the path to the configuration file. It will automatically detect the file type and use the appropriate loader.
Currently, the package supports the following file types:
- INI
- YAML
- TOML
- JSON
Metadata
Release files for configgy 0.1.1
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 |
|---|---|---|---|---|
| configgy-0.1.1.tar.gz | 2.4 kB | Without provenance | Details for configgy-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| configgy-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for configgy-0.1.1-py3-none-any.whl |
Total release size: 4.8 kB
Release files / configgy-0.1.1.tar.gz
| Download URL | configgy-0.1.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2ea314a8fbeefe0e0bfc43447fd2a5f7cf7352dcca47eb6cc315cdcc17925fd
|
|
BLAKE2b-256 checksum How to use checksums |
a90d0280cba8c2060559081d144e6bb64c08b77915f47880ddafa99ea6288644
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.15 CPython/3.8.10 Windows/10
|
Release files / configgy-0.1.1-py3-none-any.whl
| Download URL | configgy-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55e1a82dc17e8f31d4ae14d6cdf0d66eaa263a62f2e96ff0dc49003e7ab26e8d
|
|
BLAKE2b-256 checksum How to use checksums |
03b4d00b84a56b96a8822c28aacc01ccddcfd069359cdd0c4998d6bd324c3c83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.15 CPython/3.8.10 Windows/10
|
Security for configgy 0.1.1
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.