The agent that turns websites into APIs!
Release Process
This project uses a single source of truth for versioning: pyproject.toml.
How it works
- The version is defined only in
pyproject.toml src/reverse_api/__init__.pyreads the version dynamically usingimportlib.metadata- This means you only need to update the version in one place
To create a new release
Update version in
pyproject.toml:version = "x.y.z"Update CHANGELOG.md with release notes
Run the clean build script:
./scripts/clean_build.shCommit and tag:
git add pyproject.toml CHANGELOG.md git commit -m "release: vx.y.z - description" git tag vx.y.z -m "Release vx.y.z: description"Push to GitHub:
git push origin main git push origin vx.y.zPublish to PyPI:
source .env # or export UV_PUBLISH_TOKEN manually uv publish
Important Notes
- Never manually edit
src/reverse_api/__init__.pyto change the version - The version is automatically read from the installed package metadata
- During development (before install), the version shows as
0.0.0.dev - After installation, it shows the correct version from
pyproject.toml