uv init --package mon_package cd mon_package
For linux/macos :
source .venv/bin/activate For windows:
.venv\Scripts\activate
uv add httpx
uv add --dev pytest pytest-cov ruff black
uv run ruff check . uv run ruff format .
uv run black . --check uv run black .
uv run pytest -q uv run pytest -q uv run pytest --cov=mon_package --cov-report=term-missing --cov-report=html
uv build
uv publish --token "$PYPI_API_TOKEN"
uv publish --repository testpypi --token "$TESTPYPI_API_TOKEN"
git init initial-branch=main git remote add origin