Standard
A small Python utility library with predictable behavior and agent-first guidance.
The project and PyPI distribution are named standard; the Python import package and command are named std. Standard is an alpha Python library published on PyPI. The documentation site is live at appunni-m.github.io/python-standard.
Install from PyPI
python -m pip install standard
python -m pip install 'standard[fastapi]'
python -m pip install 'standard[aws]'
python -m pip install 'standard[fastapi,aws]'
The core provides YAML/TOML configuration, Pydantic Settings sources, immutable snapshots, recursive mapping helpers, and atomic text writes. FastAPI and AWS integrations are optional extras.
Install from this checkout
Run these commands from the repository root. Choose one integration command if you need that extra; each installs this checkout and its dependencies.
| Need | Command | Import path |
|---|---|---|
| Core only | python -m pip install -e . |
std |
| FastAPI | python -m pip install -e '.[fastapi]' |
std.fastapi |
| AWS | python -m pip install -e '.[aws]' |
std.aws |
| Both integrations | python -m pip install -e '.[fastapi,aws]' |
std.fastapi, std.aws |
First use
Create config/settings.yaml:
database:
host: localhost
Then load a value from it:
from std.config import ConfigManager
config = ConfigManager.from_file("config/settings.yaml")
host = config.snapshot.get_path("database.host", "localhost")
For Pydantic Settings, create config/app.yaml:
host: localhost
port: 8080
from std.config import YamlSettings
class Settings(YamlSettings):
std_config_file = "config/app.yaml"
host: str
port: int = 8080
settings = Settings()
By default, Pydantic Settings resolves values in this order: constructor values, Standard config files, process environment, dotenv, and file secrets. Callers can change the order through Pydantic's settings_customise_sources hook.
Agent guidance
std guide
std skill show
std skill install
std guide summarizes the library for coding agents. std skill show prints the packaged idiomatic-Python skill. std skill install writes it to .agents/skills/standard-python/SKILL.md and refuses to overwrite an existing file unless you pass --force.
The source repository contains the development checks, end-to-end tests, and full documentation site. The published distribution is intended to contain only the working library, its CLI, and the required package metadata, README, and license.
Metadata
Release files for standard 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 | |
|---|---|---|---|
| standard-0.1.1.tar.gz | 15.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| standard-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.0 kB
Release files / standard-0.1.1.tar.gz
| Download URL | standard-0.1.1.tar.gz |
|---|---|
| Size | 15.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba378b4bd87f05e314614c17229e0ca1af86c121ab44c00cb444b4ae8c8cc00a
|
|
BLAKE2b-256 checksum How to use checksums |
456a6e2f4cb1e425889424f01fec60747170cffced430b7f14a06df48947903a
|
| 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 Oct 12, 2026.
Transparency logRelease files / standard-0.1.1-py3-none-any.whl
| Download URL | standard-0.1.1-py3-none-any.whl |
|---|---|
| Size | 20.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a1d7b09ca24c24c9126ffeecafafd3fc51342735b4db5725ba75f0d5330f5e0
|
|
BLAKE2b-256 checksum How to use checksums |
685e1199e911a33f4d06877d4769731dc17924f5f8069caed3a397e544ff5312
|
| 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 Oct 12, 2026.
Transparency log