Python repository template
This serves as an example of how to set up a new Python project.
You should update this README to be specific to your project. You should update pyproject.toml with the name of your project and rename the src/repository_template directory to be appropriate for your project.
Run the example
A simple "Hello World" example can be run using:
uv run scripts/example.py
Set up the hooks
These pre-push hooks ensure that the formatter is run and the badges are updated every time you attempt to git push. This way formatting errors are caught and be corrected before they reach the GitHub continuous-integration (CI) step. The badges are then automatically up-to-date.
git config --local core.hooksPath .githooks/
Check the formatting
The formatting can be checked manually using:
./scripts/format.sh
this is exactly the script that is run in the CI pipeline and the pre-push hook. Formatting uses Prettier for markdown, shfmt for shell scripts, and ruff for Python.
Run the tests
The tests can be run manually using:
./scripts/test.sh
Metadata
Release files for cineon-api-format 3.6.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 | |
|---|---|---|---|
| cineon_api_format-3.6.1.tar.gz | 212.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cineon_api_format-3.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 218.1 kB
Release files / cineon_api_format-3.6.1.tar.gz
| Download URL | cineon_api_format-3.6.1.tar.gz |
|---|---|
| Size | 212.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d537c634f62ac9bda2833e73cdfb6d4e579e4f690c9cc7d1c0b35bf7fe1cbe01
|
|
BLAKE2b-256 checksum How to use checksums |
70303cc97136eec7dcd1220a831eb273f806d7290033d16787358c1620b63c16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / cineon_api_format-3.6.1-py3-none-any.whl
| Download URL | cineon_api_format-3.6.1-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60fa219837e95790ce1707dd65f06037bd484e41863fb901c7af52072662c220
|
|
BLAKE2b-256 checksum How to use checksums |
c7a1d41c45d604d1134f0b0229162426bb91561834666554ac4764ff92686661
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|