testyourmodel
This is a template repository for Python projects that use uv for their dependency management.
- Github repository: https://github.com/niklub/testyourmodel/
- Documentation https://niklub.github.io/testyourmodel/
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:niklub/testyourmodel.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.
Metadata
Release files for testyourmodel 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| testyourmodel-0.0.1.tar.gz | 63.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| testyourmodel-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 67.0 kB
Release files / testyourmodel-0.0.1.tar.gz
| Download URL | testyourmodel-0.0.1.tar.gz |
|---|---|
| Size | 63.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0dc96a09564451c225dadb8dbe1ae9125a45fd75ab4ba96f81c2a78c6ed6e358
|
|
BLAKE2b-256 checksum How to use checksums |
6fb7c16728136b7c5205b57dc0cec73289cf7714186f188a519d80404022779b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / testyourmodel-0.0.1-py3-none-any.whl
| Download URL | testyourmodel-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1569afd0e0be05656bf05a7c5c8e98865508751a7cd95bcdfe1730b481614782
|
|
BLAKE2b-256 checksum How to use checksums |
5a6cfe1c41e6653b433fcdb274c5cd063055e3cb37de0bffa27030ba15b0e611
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|