Skip to content

Latest commit

 

History

59 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gazu type stubs

This repository holds type stubs for CGWire's Gazu Python API.

Note: This is WIP for the moment

Example

import gazu

gazu.set_host("https://zou.cgwire.com/api")
gazu.log_in(email="email@example.com", password="password")

project = gazu.project.get_project_by_name("My Project")
reveal_type(project) # Type of "project" is "ProjectDict | None"

gazu.project.update_project({"fps": 30}) # Missing key "id" for TypedDict "ProjectDictPartial"

Installation

Currently the project is not hosted on PyPi so you can install it directly from git:

❯ pip install git+https://github.com/johhnry/gazu-stubs.git

Or with Poetry/uv, add this to your dev dependencies:

❯ poetry add -G dev git+https://github.com/johhnry/gazu-stubs.git

# Or with uv
❯ uv add --dev git+https://github.com/johhnry/gazu-stubs.git

About

Gazu type stubs package

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages