External type annotations for Autodesk Maya Python API
Project description
types-maya
External type annotations for Autodesk Maya Python API.
Provide stubs for language servers such a Pyright or ty.
Project Information
Installation
pip install types-maya
Stubs status
maya.api.*: maintained manually and will likely remain incomplete for some time. Stubs are written from the Maya 2025 Reference.maya.cmds: generated from Maya Commands documentation using cmdsgen.maya.OpenMaya*: not something I'm focusing on, but contributions are welcome.
| Import name | Status |
|---|---|
maya.api.OpenMaya |
🟠 Incomplete (~45%) |
maya.api.OpenMayaAnim |
🟠 Unannotated |
maya.api.OpenMayaRender |
🟠 Incomplete (~12%) |
maya.api.OpenMayaUI |
🟠 Unannotated |
maya.cmds |
🟢 Complete |
maya.mel |
🟢 Complete |
maya.standalone |
🟢 Complete |
maya.OpenMaya |
🔴 Not Covered |
maya.OpenMayaAnim |
🔴 Not Covered |
maya.OpenMayaFX |
🔴 Not Covered |
maya.OpenMayaMPx |
🔴 Not Covered |
maya.OpenMayaRender |
🔴 Not Covered |
maya.OpenMayaUI |
🔴 Not Covered |
Notes
Annotated
is used to add context to some annotations. Some examples:
A sequence of 16 floats.
Annotated[Sequence[float], "[16]"]
A sequence of 4 sequences of 4 floats.
Annotated[Sequence[Sequence[float]], "[4[4]]"]
A sequence of 1 to 6 floats.
Annotated[Sequence[MArgType], "[1..6]"],
A list of 4 int, the x, y, x and w axis.
Annotated[list[int], "[x, y, z, w]"]
Deprecated property.
Annotated[Literal[5], "deprecated"]
Contributing
Contributions of any kind are welcome. Please open an issue or open a merge request.
Alternatives
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
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 types_maya-0.5.0.tar.gz.
File metadata
- Download URL: types_maya-0.5.0.tar.gz
- Upload date:
- Size: 409.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Alpine Linux","version":"3.23.4","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c921f275098d304b3b530b7c5350d0ba1583759a8f9ef43acd66ed6d0e37a654
|
|
| MD5 |
5ad59908c397b64d23d17f90db937b7a
|
|
| BLAKE2b-256 |
3ee875a0c46d4a22f2a215ef07ac4361ec2cc80325d632fc518d4514508e7cc0
|
File details
Details for the file types_maya-0.5.0-py3-none-any.whl.
File metadata
- Download URL: types_maya-0.5.0-py3-none-any.whl
- Upload date:
- Size: 401.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Alpine Linux","version":"3.23.4","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69d71137f09ccc3ddb5bcb4caa5b2b69f8910f1f7a9b07e383772ac133828912
|
|
| MD5 |
4ebdfb99e1db00b21a806839dddf0e0a
|
|
| BLAKE2b-256 |
7cf6da0e9dddc017e9e31ff4b25e992428b35fbc220429f17dfce758ee332978
|