Skip to main content

AI Engineering template (with uv)


code checks unit tests integration tests docs codecov GitHub License

A template repo for AI Engineering projects (using python) and uv. This template is like our original AI Engineering template, however, unlike how that template uses poetry, this one uses uv for dependency management (as well as packaging and publishing).

🧑🏿‍💻 Developing

Installing dependencies

The development environment can be set up using uv. Hence, make sure it is installed and then run:

uv sync
source .venv/bin/activate

In order to install dependencies for testing (codestyle, unit tests, integration tests), run:

uv sync --dev
source .venv/bin/activate

In order to exclude installation of packages from a specific group (e.g. docs), run:

uv sync --no-group docs

If you're coming from poetry then you'll notice that the virtual environment is actually stored in the project root folder and is by default named as .venv. The other important note is that while poetry uses a "flat" layout of the project, uv opts for the the "src" layout. (For more info, see here)

Poetry to UV

The table below provides the uv equivalent counterparts for some of the more common poetry commands.

Poetry UV
poetry new <project-name> # creates new project uv init <project-name>
poetry install # installs existing project uv sync
poetry install --with docs,test uv sync --group docs --group test
poetry add numpy uv add numpy
poetry add pytest pytest-asyncio --groups dev uv add pytest pytest-asyncio --groups dev
poetry remove numpy uv remove numpy
poetry lock uv lock
poetry run <cmd> # runs cmd with the project venv uv run <cmd>
poetry build uv build
poetry publish uv publish
poetry cache clear pypi --all uv cache clean

For the full list of uv commands, you can visit the official docs.

Tidbit

If you're curious about what "uv" stands for, it appears to have been more or less chosen randomly.

Metadata

Release files for aieng-template-uv 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aieng-template-uv 0.1.1
File Size Uploaded Provenance
aieng_template_uv-0.1.1.tar.gz 128.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aieng-template-uv 0.1.1
File Interpreter ABI Platform
aieng_template_uv-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 136.2 kB

Release files / aieng_template_uv-0.1.1.tar.gz

Download URL aieng_template_uv-0.1.1.tar.gz
Size 128.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6bdbc9c38e3788239bbe50c6907bf4472b3256a1da639b3d59e9f2e4a5eeaa85
BLAKE2b-256 checksum
How to use checksums
78e88cf36dcba97433bc6fb342b1c792e5ede0e9964125ebf40b572be78c6622
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Apr 17, 2026.

Transparency log

Release files / aieng_template_uv-0.1.1-py3-none-any.whl

Download URL aieng_template_uv-0.1.1-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4db38091956b2684761e955b6d4cf269554abe2a802c5449dca2bb2de0c7bda
BLAKE2b-256 checksum
How to use checksums
7e8204303979880995eb725ba83fc586e094f27972242c8df8e08f1038b00438
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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 Apr 17, 2026.

Transparency log

Security for aieng-template-uv 0.1.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aieng_template_uv-0.1.1.tar.gz

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 Apr 17, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page