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")

For scripts, DCC integrations and automation, prefer a bot token over user credentials:

gazu.set_host("https://zou-server-url/api")
gazu.set_token("your-bot-jwt-token")

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

This version

1.2.0

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.2.0.tar.gz (124.6 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.2.0-py3-none-any.whl (90.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gazu-1.2.0.tar.gz
Algorithm Hash digest
SHA256 8df080cad3ebc6388eb30da7d0609acd4e941938b65d7ab6149eb79bfb942c72
MD5 e31a03a51deaca4ca435b62f2efb9241
BLAKE2b-256 21c0e186ba54af485836fe6617aa75b78f7c13b198349bf21d429fc7ad015bfd

See more details on using hashes here.

Provenance

The following attestation bundles were made for gazu-1.2.0.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: gazu-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 90.8 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ecc74bea64a8527539608cff8fb4be8bc1ae52d558beefad4e3c91ca614a40d
MD5 51f2d9f6a12541fcf4c5781636480218
BLAKE2b-256 ff47f83ce1195feae92257466d194d71f01e7ec3c9c61e3d880d643adbce87ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for gazu-1.2.0-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