without-env
A without Context backed by environment variables: the simplest possible
context, a static one loaded at startup and never changed.
EnvContext.load(MySettings) reads the environment once, at the boundary, into a
validated pydantic-settings
model (parse, don't validate), then hands that immutable value to processors via
current(). Because it never changes, a reloading source (a watched file, a
ConfigMap mount) is a separate plugin; see
without-configmap for the context-updated-by-a-stream
case.
from pydantic_settings import BaseSettings
from without_env import EnvContext
class Settings(BaseSettings):
default_mode: str = "upper"
max_bytes: int = 1_048_576
config = EnvContext.load(Settings) # reads os.environ once, validates
config.current().default_mode # the parsed value, same every call
See the
without-env guide
(with the API reference)
for the full surface.
Metadata
Release files for without-env 0.0.10
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 |
|---|---|---|---|---|
| without_env-0.0.10.tar.gz | 1.9 kB | Without provenance | Details for without_env-0.0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| without_env-0.0.10-py3-none-any.whl | Python 3 | none | any | Details for without_env-0.0.10-py3-none-any.whl |
Total release size: 4.7 kB
Release files / without_env-0.0.10.tar.gz
| Download URL | without_env-0.0.10.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f24f5a16319cc963e115f7578304b464c456ccbe9c7a0300ed5f451703b926cd
|
|
BLAKE2b-256 checksum How to use checksums |
a66854c3e631c17f2a49ac6b4f3f4c1335b2296e127a14f43ebc3eac5af9a203
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / without_env-0.0.10-py3-none-any.whl
| Download URL | without_env-0.0.10-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bfd188be77381bab81411faea5e6f4cdc73b336aec8a5cf6b9f158990f60f554
|
|
BLAKE2b-256 checksum How to use checksums |
a5bd61ad6029a37fd895166c4076702648e0f0387d7d2c9dff6a6410fae511d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for without-env 0.0.10
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.