Skip to main content
Project generated with PyScaffold

cffm

Configuratio ex Fontibus Multis - Configuration from many sources

The purpose of this library is to provide a flexible framework for an application’s/library’s configuration:

  • [x] Multiple sources with precedence, e.g. default values < config files < environmental variables

  • [x] Static typing with documentation

  • [x] Extension via Sections

  • [ ] Source validation

  • [ ] Autogenerate example config files

Example

>>> from cffm import config, field, section
>>> @config
... class AppConfig:
...     loglevel: int = field(1, description="Loglevel")
...     @section('bar')
...     class BarConfig:
...          foo: int
...          baz: bool = False

Metadata

Release files for cffm 0.2.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 cffm 0.2.6
File Size Uploaded Provenance Actions
cffm-0.2.6.tar.gz 29.8 kB Without provenance Details for cffm-0.2.6.tar.gz

Built distribution (wheel)

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

Total release size: 46.4 kB

Release files / cffm-0.2.6.tar.gz

Download URL cffm-0.2.6.tar.gz
Size 29.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b0f860dc5405fe4956999d74ef7c4a558dd56783beadeb9466057d3a84408803
BLAKE2b-256 checksum
How to use checksums
16aa9dd7a1818615623c7c5a89be2948a57dd3e9b0bb3d010577108a932b56ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release files / cffm-0.2.6-py3-none-any.whl

Download URL cffm-0.2.6-py3-none-any.whl
Size 16.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
537951b6e935c934a890db5b1b7fb2ce4a5f1a3570946be956beae5b4617b712
BLAKE2b-256 checksum
How to use checksums
a920c14fdd9d420196a547eae9b08417fc33010cbf4e2ce5e4caeca646e928a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Security for cffm 0.2.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