external_dependencies
external_dependencies : A CLI interface to install external dependencies using apt or static build from s3
Installation
Usage
[DEV] Install the virtual env
uv sync
If not already activated then run uvx pre-commit install (for more info on it: https://skillcorner.slite.com/app/docs/OFzvpQNh8VBOcQ)
Test
To run tests you can cd into a package directory and run uv run pytest.
Tests will also be run in the CI/CD.
Versioning and dependencies
Your code should be under the package directory.
If you have set requirements directly in your pyproject.toml you can run uv sync.
It will create a virtual environment (.venv/) with the requirements and create a uv.lock file to freeze your dependencies.
In order to add or remove dependencies, you can use:
uv add boto3
uv remove boto3
You can also add dependencies in the dev group or any arbitrary optional group:
uv add coverage pirlo poethepoet pytest ruff --dev
uv add pandas --optional analysis
You can also upgrade your virtual environment and update your lock file if there is new versions of dependencies compatible with your requirements:
uv sync --upgrade
When you want to release a new version of a package, you must follow this:
- major (breaking change) 1.0.2 --> 2.0.0
- minor (new feature) 1.0.2 --> 1.1.0
- patch (fix) 1.0.2 --> 1.0.3
- prerelease (durint test) 1.0.2 --> 1.0.3a0
We try to follow the semantic versioning from https://semver.org/ as recommended by Python Foundation (https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#semantic-versioning-preferred)
Metadata
Release files for external-dependencies 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| external_dependencies-1.1.0.tar.gz | 23.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| external_dependencies-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.7 kB
Release files / external_dependencies-1.1.0.tar.gz
| Download URL | external_dependencies-1.1.0.tar.gz |
|---|---|
| Size | 23.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b283f50ea00c527911ae1f40da2135f833dfcbec3bdd3cd0fce0a3f6dac3597
|
|
BLAKE2b-256 checksum How to use checksums |
25d1f92de51bd8008a7d9aadea8773de14c3598ace88a661063c620a64ae0fbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.4.16
|
Release files / external_dependencies-1.1.0-py3-none-any.whl
| Download URL | external_dependencies-1.1.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
814146fd7c047df7a6fb773c549552a4d9ada80967f10647dbc980a4a0221aa3
|
|
BLAKE2b-256 checksum How to use checksums |
04eabd71332afa65475aff9c563861fd8399fee9e450d0aa7f10ce49228c16cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.4.16
|