EYConf
Easy Yaml based Configuration for Python
Why EYConf?
- Schema-First Configuration: Define your config structure with Python dataclasses, get automatic YAML generation with comments
- Type-Safe Access: Access nested configuration values with full IDE support and runtime type checking
- Validation First: Catch configuration errors early with detailed, human-readable validation messages
- Zero Boilerplate: No manual YAML parsing, no dictionary access - just clean attribute access to your configuration
Installation
You can install EYConf from PyPI using pip.
You can choose your validation backend by installing the corresponding extra:
pip install eyconf[jsonschema]
pip install eyconf[pydantic]
For more information on validation backends, please refer to the documentation.
Example Usage
from dataclasses import dataclass
from eyconf import EYConf
@dataclass
class AppConfig:
"""Application configuration"""
database_url: str = "sqlite:///app.db"
debug: bool = False
# Creates/loads config.yaml automatically
config = EYConf(AppConfig)
# Use your config
print(config.data.debug) # False
This will create a config.yaml file in your current working directory with the following content:
# Application configuration
database_url: sqlite:///app.db
debug: false
Please refer to the documentation for more examples and detailed usage instructions.
Metadata
Release files for eyconf 0.8.0
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 |
|---|---|---|---|---|
| eyconf-0.8.0.tar.gz | 56.5 kB | With provenance | Details for eyconf-0.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eyconf-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for eyconf-0.8.0-py3-none-any.whl |
Total release size: 102.1 kB
Release files / eyconf-0.8.0.tar.gz
| Download URL | eyconf-0.8.0.tar.gz |
|---|---|
| Size | 56.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f09d1b6f5d99575380932623d50462cdfe1aa4a7898d75bcafb73237d2db3a2
|
|
BLAKE2b-256 checksum How to use checksums |
959190dbfb44118fcb1a6e373e51e62a2b258f110e91a2bef6821993b1294c39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.
Transparency logRelease files / eyconf-0.8.0-py3-none-any.whl
| Download URL | eyconf-0.8.0-py3-none-any.whl |
|---|---|
| Size | 45.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee1284b33749eb95a829a8b3832a4135905acb50b9ba2dbe485c7d241cdab358
|
|
BLAKE2b-256 checksum How to use checksums |
a1880527624e02bf8b4927a2fbde955801a291098c872823af2af6d99b3084f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.
Transparency logSecurity for eyconf 0.8.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for eyconf-0.8.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.
Transparency logA 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.