This is a repository for creating and running Pytorch Image Pipelines.
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
PytorchImagePipeline
This is a repository for creating and running Pytorch Image Pipelines.
- Github repository: https://github.com/makanu/PytorchImagePipeline/
- Documentation https://makanu.github.io/PytorchImagePipeline/
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, which may interact with certain files, please execute all tests inside devcontainer and extend tests if necessary.
To run all tests local execute the test like this (WARNING: this interacts with files outside this project):
IS_IN_CONTAINER=true uv run pytest
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:makanu/PytorchPipeline.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
- 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.
Project details
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 pytorchimagepipeline-0.0.4.tar.gz.
File metadata
- Download URL: pytorchimagepipeline-0.0.4.tar.gz
- Upload date:
- Size: 211.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21cc1c2e6b34c3e539cd0f61ab26d3e57bd608baacf9eb3e7e7a09127537d48c
|
|
| MD5 |
c1cc12996355e6d084eac4464edeaa2a
|
|
| BLAKE2b-256 |
c39257dfe54d538442bd59c0da44d392ec0fdc8a543a26fa7177b73c2127fd4b
|
File details
Details for the file pytorchimagepipeline-0.0.4-py3-none-any.whl.
File metadata
- Download URL: pytorchimagepipeline-0.0.4-py3-none-any.whl
- Upload date:
- Size: 57.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6b9f6faa6817348285f1bc4b916c50f4c06f66dec3e507ec16e0a3da1f576e9
|
|
| MD5 |
b2ab42bc43decf497f0f5fcee4c705e1
|
|
| BLAKE2b-256 |
df8b28568dc006d6172b91db2a6348d752285ad3e2d3391236fd7823b06ae37b
|