Skip to main content

Gazu is a client for Zou, the API to store the data of your CG production.

Project description

Kitsu Logo

Gazu, Python client for the Kitsu API

The Kitsu Python client allows you to fetch data easily from the Kitsu collaboration platform. With Gazu, you bring assets and shots data into your pipeline tools. It comes with extra features such as preview publishing and event stream listening.

It is made to be used with the Kitsu API. It requires an up-and-running instance of Kitsu to run correctly.

CI badge Discord Downloads

Quickstart

Install Gazu in your application environment via pip:

pip install gazu

For the asynchronous API (gazu.aio), install the async extra:

pip install gazu[async]

The client requires a few extra configurations before being used. It needs to know where is located the API server and to log in:

import gazu

gazu.set_host("https://zou-server-url/api")
gazu.log_in("user@yourdomain.com", "password")

Let’s finish with an example. Fetch all the open projects:

projects = gazu.project.all_open_projects()

CLI

Gazu ships with an optional command-line interface. Install it with:

pip install gazu[cli]

Then log in and start querying your Kitsu instance from the terminal:

gazu-cli login --host https://zou-server-url/api
gazu-cli projects
gazu-cli assets --project "My Project"
gazu-cli my-tasks
gazu-cli shots --project "My Project" --sequence SEQ01
gazu-cli comment --task <task-id> --status wip --message "Started lighting"

Use gazu-cli --help to see all available commands. Add --json to any command to get machine-readable JSON output. You can also set the GAZU_PROJECT environment variable to avoid repeating --project.

Documentation

Documentation and specification are available on a dedicated website:

https://gazu.cg-wire.com

Projects using the Kitsu client

Our community-built open-source tools connect your content creation tools to your Kitsu instance. They are listed below:

  • Qtazu: Qt Widgets such as a login modal.

  • Nagato: Publishing and file versioning for Blender.

  • Bamboo: Pyside2 widgets to publish previews to Kitsu.

  • Gazu Publisher: Our work in progress publisher tool.

Contributions

All contributions are welcome as long as they respect the C4 contract.

The code must follow the pep8 convention.

You can use the pre-commit hook for Black (a Python code formatter) before committing :

pip install pre-commit
pre-commit install

Contributors

  • @aboellinger (Xilam)

  • @BigRoy (Colorbleed)

  • @col-one (Allegorithmic)

  • @EvanBldy (CGWire) - maintainer

  • @flablog (Les Fées Spéciales)

  • @frankrousseau (CGWire) - maintainer

  • @kguyaux

  • @LedruRollin (Xilam)

  • @g-Lul (TNZPV)

  • @jdrese (HEAJ)

  • @pcharmoille (Unit Image)

  • @tokejepsen (Bumpybox)

  • @tpodeva

About authors

Kitsu is written by CGWire, a company based in France. We help animation and VFX studios to collaborate better through efficient tooling. We already work with more than 70 studios around the world.

Visit cg-wire.com for more information.

CGWire Logo

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gazu-1.1.13.tar.gz (118.3 kB view details)

Uploaded Source

Built Distribution

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

gazu-1.1.13-py3-none-any.whl (88.0 kB view details)

Uploaded Python 3

File details

Details for the file gazu-1.1.13.tar.gz.

File metadata

  • Download URL: gazu-1.1.13.tar.gz
  • Upload date:
  • Size: 118.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gazu-1.1.13.tar.gz
Algorithm Hash digest
SHA256 20bbeaea1ed065281b620ac82e5d3caf0dd906b3f0ec5d3468095c5f494856d9
MD5 98d2e0879574cc2f0a02a7d6eb08c8f2
BLAKE2b-256 3c63c8ef03df1ac461b60d3b6134ff6d72b052f5113186500cffcb1a5ad98595

See more details on using hashes here.

Provenance

The following attestation bundles were made for gazu-1.1.13.tar.gz:

Publisher: release.yml on cgwire/gazu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gazu-1.1.13-py3-none-any.whl.

File metadata

  • Download URL: gazu-1.1.13-py3-none-any.whl
  • Upload date:
  • Size: 88.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gazu-1.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 6b04375f346e7d67482c48824cebc345d2a2453250a9746b9c80a881cb543875
MD5 012e964e818a4f027ad2507c486c459f
BLAKE2b-256 61f69608426d81ae911ac97c95400107746fa9b180e9da5a1a60167c52d94b85

See more details on using hashes here.

Provenance

The following attestation bundles were made for gazu-1.1.13-py3-none-any.whl:

Publisher: release.yml on cgwire/gazu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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