Skip to main content

Where you find all the state-of-the-art cooking utensils (salt, pepper, gradient descent... the usual).

Project description

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

  1. 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
  1. 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)
  1. 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
  1. 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.yml workflow
  • on the web interface (using the option minor or major), 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-version and build-package
  • on_pr.yml
    • triggers on commit to a PR
    • runs test-install-python-version, build-package, publish-to-testpypi, and version-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)

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

chuchichaestli-0.2.7.tar.gz (76.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chuchichaestli-0.2.7-py3-none-any.whl (99.7 kB view details)

Uploaded Python 3

File details

Details for the file chuchichaestli-0.2.7.tar.gz.

File metadata

  • Download URL: chuchichaestli-0.2.7.tar.gz
  • Upload date:
  • Size: 76.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for chuchichaestli-0.2.7.tar.gz
Algorithm Hash digest
SHA256 fdcfb37b8a8a646066238ef5e9dc7764beb6af88d6ea020b570f7ab71572f434
MD5 2fc9331c08c9d446aae6189501385c8a
BLAKE2b-256 cb5a8e8c9c3c08973e15b987858ad9e1bbe7e104e21cead71122587cd8148f5b

See more details on using hashes here.

File details

Details for the file chuchichaestli-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: chuchichaestli-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 99.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for chuchichaestli-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2fd7dc2160c5af2665bab0d2118dd3c47165795b3bd9797a1e2918cd496dbe54
MD5 bd5822d7a99e84e4340e3619b9d7f055
BLAKE2b-256 e77a42715fc0843a2d02cd49ec7b3aa865b92b7aa7df584640b95c8e168f2f26

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page