Add your description here
Project description
AI Engineering template (with uv)
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aieng_template_uv-0.1.1.tar.gz.
File metadata
- Download URL: aieng_template_uv-0.1.1.tar.gz
- Upload date:
- Size: 128.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bdbc9c38e3788239bbe50c6907bf4472b3256a1da639b3d59e9f2e4a5eeaa85
|
|
| MD5 |
16e282c3d4bb6ae3a8568b9a1e99bc19
|
|
| BLAKE2b-256 |
78e88cf36dcba97433bc6fb342b1c792e5ede0e9964125ebf40b572be78c6622
|
Provenance
The following attestation bundles were made for aieng_template_uv-0.1.1.tar.gz:
Publisher:
publish.yml on VectorInstitute/aieng-template-uv
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aieng_template_uv-0.1.1.tar.gz -
Subject digest:
6bdbc9c38e3788239bbe50c6907bf4472b3256a1da639b3d59e9f2e4a5eeaa85 - Sigstore transparency entry: 1328477766
- Sigstore integration time:
-
Permalink:
VectorInstitute/aieng-template-uv@38611bef80e6722b9ec22ffd9e0c8ee38f08f5ef -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/VectorInstitute
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@38611bef80e6722b9ec22ffd9e0c8ee38f08f5ef -
Trigger Event:
push
-
Statement type:
File details
Details for the file aieng_template_uv-0.1.1-py3-none-any.whl.
File metadata
- Download URL: aieng_template_uv-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4db38091956b2684761e955b6d4cf269554abe2a802c5449dca2bb2de0c7bda
|
|
| MD5 |
ad388ae66d21a2fe5b728f6a66e792cb
|
|
| BLAKE2b-256 |
7e8204303979880995eb725ba83fc586e094f27972242c8df8e08f1038b00438
|
Provenance
The following attestation bundles were made for aieng_template_uv-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on VectorInstitute/aieng-template-uv
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aieng_template_uv-0.1.1-py3-none-any.whl -
Subject digest:
a4db38091956b2684761e955b6d4cf269554abe2a802c5449dca2bb2de0c7bda - Sigstore transparency entry: 1328477801
- Sigstore integration time:
-
Permalink:
VectorInstitute/aieng-template-uv@38611bef80e6722b9ec22ffd9e0c8ee38f08f5ef -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/VectorInstitute
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@38611bef80e6722b9ec22ffd9e0c8ee38f08f5ef -
Trigger Event:
push
-
Statement type: