Installation¶
Goal: get a working openauc and confirm it runs.
Prerequisites¶
- Python 3.11, 3.12 or 3.13. These are the versions declared in
pyproject.toml(requires-python = ">=3.11,<3.14") and the three legs of the CI matrix. - uv for the development workflow.
Not published to PyPI
openauc is at version 0.1.0a1 and has not been released. Do not
run pip install openauc — it will not install this project. Use one of
the three paths below.
1. Development installation from a clone (recommended)¶
Run these from wherever you keep source checkouts:
uv sync --all-groups creates .venv/ and installs the runtime dependencies
plus the dev and docs groups. Confirm it worked — run this from the
repository root:
Expected output:
This is an editable installation: edits to src/openauc/ take effect
immediately, with no reinstall.
2. Installation from a locally built wheel¶
Use this to install into an environment that is not the repository's own — for a notebook, a separate project, or to check what a real user would get.
From the repository root:
That writes two files into dist/:
Then, from wherever you want the environment:
For example, if the clone is at ~/src/openauc-io:
Confirm:
3. Editable installation into an existing environment¶
If you already have a virtual environment and want to develop against the source tree:
What gets installed¶
Runtime dependencies: pydantic, numpy, xarray, pandas, PyYAML,
matplotlib, typer. The package ships a py.typed marker, so type checkers
see its annotations.
The openauc console script is installed with the package.
Verifying the installation¶
uv run openauc version # prints 0.1.0a1
uv run openauc formats # lists aucx, generic-long, generic-wide
import openauc
print(openauc.__version__) # '0.1.0a1'
print([f.format_id for f in openauc.available_formats()])
# ['aucx', 'generic-long', 'generic-wide']
Common failure modes¶
| Symptom | Cause | Fix |
|---|---|---|
command not found: openauc |
Not using the project environment | Prefix with uv run, or activate .venv |
No such command 'generate' |
Older checkout without the synthetic generator | git pull then uv sync --all-groups |
ModuleNotFoundError: openauc |
Wheel not installed in the active environment | Re-run the wheel install, check which python |
More in Troubleshooting.
Next step¶
Five-minute quickstart — a full workflow with no input files.