Configuration helpers (YAML + dotenv layered priority) — standalone module from the SciTeX ecosystem
Project description
scitex-config
Configuration helpers (YAML + dotenv with layered priority) extracted from the SciTeX ecosystem as a standalone package.
Install
pip install scitex-config
API
import scitex_config as cfg
# YAML-based (recommended)
config = cfg.get_config()
print(config.MY_KEY)
# Path resolution
paths = cfg.get_paths()
paths.function_cache # ~/.scitex/cache/function/...
# Layered (env > .env > yaml > defaults)
pc = cfg.PriorityConfig()
pc["DATABASE_URL"]
Status
Standalone fork of scitex.config. Only dep is PyYAML. The umbrella
package's scitex.config import path is preserved via a sys.modules-alias
bridge.
License
AGPL-3.0-only (see LICENSE).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scitex_config-0.3.0.tar.gz.
File metadata
- Download URL: scitex_config-0.3.0.tar.gz
- Upload date:
- Size: 30.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
248974689131e46fa699378a0113e3eacb04f527cf8cb9b239b0aa86ac59dc82
|
|
| MD5 |
e1486d732a5fcce20beabb94f60acb75
|
|
| BLAKE2b-256 |
655353bfb26dcfa152d773da96152ae4faf065de00ad56a8cef2c4033e97f8a2
|
Provenance
The following attestation bundles were made for scitex_config-0.3.0.tar.gz:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-config
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_config-0.3.0.tar.gz -
Subject digest:
248974689131e46fa699378a0113e3eacb04f527cf8cb9b239b0aa86ac59dc82 - Sigstore transparency entry: 1396136314
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-config@8e12b91119184e794f36c9d9fc8fecfcd9cb8aa9 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@8e12b91119184e794f36c9d9fc8fecfcd9cb8aa9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file scitex_config-0.3.0-py3-none-any.whl.
File metadata
- Download URL: scitex_config-0.3.0-py3-none-any.whl
- Upload date:
- Size: 31.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53d6b255497379e5533ee626b74ad17c743569f925e397f3cdf1e45f9f27357d
|
|
| MD5 |
6f510d8f6b10e961899c9b5cec771f74
|
|
| BLAKE2b-256 |
94873c0e4155da585e235f8d16c80f8b82e8ad5de085851d00983dd6f18ae159
|
Provenance
The following attestation bundles were made for scitex_config-0.3.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-config
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_config-0.3.0-py3-none-any.whl -
Subject digest:
53d6b255497379e5533ee626b74ad17c743569f925e397f3cdf1e45f9f27357d - Sigstore transparency entry: 1396136316
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-config@8e12b91119184e794f36c9d9fc8fecfcd9cb8aa9 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@8e12b91119184e794f36c9d9fc8fecfcd9cb8aa9 -
Trigger Event:
push
-
Statement type: