Gazu is a client for Zou, the API to store the data of your CG production.
Project description
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.
Quickstart
Install Gazu in your application environment via pip:
pip install gazu
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:
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gazu-1.1.6.tar.gz.
File metadata
- Download URL: gazu-1.1.6.tar.gz
- Upload date:
- Size: 104.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9e4c2f7ab984001cdd8f168def7965213314a6fb87f7e8d9b2bfb54f066c452
|
|
| MD5 |
ea47d479cdb4d795e9699497614562c4
|
|
| BLAKE2b-256 |
1e7d6aded4a1514a3bb3c1d9b145e65d06b754584a8a2b4f5e42f64e8932d727
|
Provenance
The following attestation bundles were made for gazu-1.1.6.tar.gz:
Publisher:
release.yml on cgwire/gazu
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gazu-1.1.6.tar.gz -
Subject digest:
f9e4c2f7ab984001cdd8f168def7965213314a6fb87f7e8d9b2bfb54f066c452 - Sigstore transparency entry: 1097051651
- Sigstore integration time:
-
Permalink:
cgwire/gazu@7aefd5218796b053a6f54efc79464ca5a03ce11a -
Branch / Tag:
refs/tags/v1.1.6 - Owner: https://github.com/cgwire
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7aefd5218796b053a6f54efc79464ca5a03ce11a -
Trigger Event:
push
-
Statement type:
File details
Details for the file gazu-1.1.6-py2.py3-none-any.whl.
File metadata
- Download URL: gazu-1.1.6-py2.py3-none-any.whl
- Upload date:
- Size: 79.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec78205afee0f8a6d14c61ae1afd995a5f1a348fd4b48885b91fc027f70704ef
|
|
| MD5 |
1821dc2184ac22ba5455c658f0578b41
|
|
| BLAKE2b-256 |
11d5aa183ed25bcaa3a94b2f48eb801e264ce86e4ba86aa057eaabcd66156042
|
Provenance
The following attestation bundles were made for gazu-1.1.6-py2.py3-none-any.whl:
Publisher:
release.yml on cgwire/gazu
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gazu-1.1.6-py2.py3-none-any.whl -
Subject digest:
ec78205afee0f8a6d14c61ae1afd995a5f1a348fd4b48885b91fc027f70704ef - Sigstore transparency entry: 1097051671
- Sigstore integration time:
-
Permalink:
cgwire/gazu@7aefd5218796b053a6f54efc79464ca5a03ce11a -
Branch / Tag:
refs/tags/v1.1.6 - Owner: https://github.com/cgwire
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7aefd5218796b053a6f54efc79464ca5a03ce11a -
Trigger Event:
push
-
Statement type: