A simple tool to manage aliases in pyproject.toml
Project description
pyproject_aliases 0.2.0
A simple tool to manage aliases in pyproject.toml
Installation
pip install pyproject_aliases
Usage
The tool reads alias definitions from your pyproject.toml file and allows you to run them via the uv run alias command. Simply add or modify the aliases in the [tool.aliases] section, and then invoke an alias from the command line.
For example, to add an alias for pre-commit checks and pytests, update your pyproject.toml:
[tool.aliases]
check = "uv run pre-commit run --all-files"
test = "uv run pytest"
Then run:
$ uv run alias check
...
$ uv run alias
You must choose one of the available aliases:
check (uv run pre-commit run --all-files)
test (uv run pytest)
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 pyproject_aliases-0.2.0.tar.gz.
File metadata
- Download URL: pyproject_aliases-0.2.0.tar.gz
- Upload date:
- Size: 45.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c10a3ea7ffd3c23a11b499c0d320a7306575066cc99bdfe10bf3dd4242d4bed
|
|
| MD5 |
87d84137fbb5a10dec0d76f6ea2e27d1
|
|
| BLAKE2b-256 |
ba0946de7e5af043c922d4d03093adfea5c0e85a2bdc5c478a3f925b4a11aa23
|
File details
Details for the file pyproject_aliases-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pyproject_aliases-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f7dd5172e608e3d9e3ced9f91b9902f21774a6f612e3bbaf90aa42979bdbe30
|
|
| MD5 |
fd1067eced021aa69187c63b1840c3ae
|
|
| BLAKE2b-256 |
7655fff0b2a0e8c0ee4e5e0fd03c256bd69aa06b745d30819d8571145e392339
|