chuchichaestli
chuchichaestli is a collection of model architectures and other useful bits of code in use at the Intelligent Vision Systems group at the University of Applied Sciences Zurich (ZHAW).
Installation
Tagged releases are available as PyPI packages. To install the latest package, run:
pip install chuchichaestli
For the bleeding-edge package directly from the git main, clone the repository and run the following command in the root directory of the repository:
pip install -e .
Alternatively, you can install the package directly from GitHub:
pip install git+https://github.com/CAIIVS/chuchichaestli.git
Development
Releases and packages are automatically created with various GitHub action workflows. The general development workflow is as follows
- checkout to a non-default branch to apply patches, features, etc.
- each commit to a non-default branch triggers an install test (on latest Python versions) and a package build
- open a PR
- at opening and each subsequent commit to that PR, the build is uploaded to TestPyPI and a dev version is incremented (e.g. v1.2.0 -> v1.2.0-dev0)
- once the PR is reviewed, it can be merged
- at merge, the micro version is incremented on the main branch and tagged (e.g. v1.2.0-dev7 -> v1.2.1)
- subsequently, a package is built, published to PyPI, and released on GitHub with the latest version tag
- every once in a while it is necessary to bump minor or major versions
- minor and major version can be triggered, by manually dispatching the
on_dispatch.ymlworkflow - on the web interface (using the option
minorormajor), or - on CLI with
gh workflow run on_dispatch.yml -f type=minor(or-f type=major)
Reusable workflows
In .github/workflows/ there are several reusable workflows which
provide the basic utility for the triggered jobs:
test-install.yml- test install on various Python versions (by default 3.10-3.12)
- ruff linting checks (stop build if error occurs)
- run unit tests with pytest
- upload test results (for prosperity)
build-package.yml- build package for Python version 3.x
- upload package dist artifacts (by name)
github-release.yml- download package dist artifact (by name)
- sign package dist with Sigstore
- create and upload GitHub release
phdenzel/hatch-bump@v*- use hatch to increment a version
- commit and push changes
Triggered workflows
on_branches.yml- triggers on commit to any branch (except
main) not in a PR (pull request) - runs
test-install-python-versionandbuild-package
- triggers on commit to any branch (except
on_pr.yml- triggers on commit to a PR
- runs
test-install-python-version,build-package,publish-to-testpypi, andversion-bump-dev
on_merge.yml- triggers on PR merge
- runs
version-bump-on-merge(increments micro version on main)
on_push.yml- triggers on push to the main branch upon automatic version change
- runs
test-install-python-version,build-package,publish-to-pypi,github-release
on_dispatch.yml- triggers on dispatch (e.g. by running
gh workflow run on-dispatch.yml -f type=minor) - runs
version-bump(increments chosen type of version on main)
- triggers on dispatch (e.g. by running
Metadata
Release files for chuchichaestli 0.2.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chuchichaestli-0.2.18.tar.gz | 430.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chuchichaestli-0.2.18-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 602.4 kB
Release files / chuchichaestli-0.2.18.tar.gz
| Download URL | chuchichaestli-0.2.18.tar.gz |
|---|---|
| Size | 430.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12eab40f53f5e73367fac6efaddbfe652e4fd19b4c638a373fd859af63f099ac
|
|
BLAKE2b-256 checksum How to use checksums |
c0a74ff8c39ec4287931027cd92f7f68a12d8aa296336213e5eae3ce506fc5da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / chuchichaestli-0.2.18-py3-none-any.whl
| Download URL | chuchichaestli-0.2.18-py3-none-any.whl |
|---|---|
| Size | 172.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b374787df79b8c17ee30a978bbee5695dd0339cb39ba90ed571c165bcbf82ee
|
|
BLAKE2b-256 checksum How to use checksums |
0e5bf3fc821966284f3a7040f749426297a133b53fc15f84563946ee9144808a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|