TensorImgPipeline
This is a repository for creating and running Tensor Image Pipelines, short tipis.
- Github repository: https://github.com/tensorimgpipeline/TensorImgPipeline/
- Documentation https://tensorimgpipeline.github.io/TensorImgPipeline/
Development
To contribute to this project it is strongly recommended to use the devcontainer for local testing. Since some tests involve creating demo projects, which could lead to tampering with your local environment outside of the project.
If your contribution does not involve in certain actions, you might also execute run tests on a local test environment. For Example: Your tests includes only backend actions, which do not interact with the app config or create new scaffolding projects.
If you change files that interact with project scaffolding or CLI flows, run the full suite (preferably in devcontainer) and extend tests if necessary.
Use explicit test scopes locally:
# Fast feedback (unit-focused)
make test-fast
# Full suite (unit + integration + e2e)
make test-full
Setup devcontainer
- Ensure docker or podman (recommended) are installed and configured correctly.
- Install VScode Extensions for Remote Development
This project already provides the necessary configurations to run this project inside devcontainer:
- Open Command Pallete.
- Execute
Dev Containers: Reopen in Container
Getting started with your project
1. Create a New Repository
First, create a repository on GitHub with the same name as this project, and then run the following commands:
git init -b main
git add .
git commit -m "init commit"
git remote add origin git@github.com:tensorimgpipeline/TensorImgPipeline.git
git push -u origin main
2. Set Up Your Development Environment
Then, install the environment and the pre-commit hooks with
make install
This will also generate your uv.lock file
3. Run the pre-commit hooks
Initially, the CI/CD pipeline might be failing due to formatting issues. To resolve those run:
uv run pre-commit run -a
4. Commit the changes
Lastly, commit the changes made by the two steps above to your repository.
git add .
git commit -m 'Fix formatting issues'
git push origin main
You are now ready to start development on your project! The CI/CD pipeline will be triggered when you open a pull request, merge to main, or when you create a new release.
To finalize the set-up for publishing to PyPI, see here. For activating the automatic documentation with MkDocs, see here. To enable the code coverage reports, see here.
Releasing a new version
See the project changelog for release notes and migration-impacting changes:
-
Create an API Token on PyPI.
-
Add the API Token to your projects secrets with the name
PYPI_TOKENby visiting this page. -
Create a new release on Github.
-
Create a new tag in the form
*.*.*.
For more details, see here.
Repository initiated with fpgmaas/cookiecutter-uv.
Release files for TensorImgPipeline 1.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tensorimgpipeline-1.2.5.tar.gz | 290.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tensorimgpipeline-1.2.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 372.6 kB
Release files / tensorimgpipeline-1.2.5.tar.gz
| Download URL | tensorimgpipeline-1.2.5.tar.gz |
|---|---|
| Size | 290.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9af896ac6e207948331ba971e8785d37020056a0a52abc802546bfbe50ea0439
|
|
BLAKE2b-256 checksum How to use checksums |
36f68191d30872c27725d54d90e137c31e50aa0eafa67dcfff395ed37a3cf263
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.20
|
Release files / tensorimgpipeline-1.2.5-py3-none-any.whl
| Download URL | tensorimgpipeline-1.2.5-py3-none-any.whl |
|---|---|
| Size | 82.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a0792ff792f5a70f0589c31310fe652dbfdb56acf19b0e288e3024ce56762d4
|
|
BLAKE2b-256 checksum How to use checksums |
9d9c45807cc353abbdabebcc86f83160b9e1ef848057c15f742c2a895bcf6fd5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.20
|