External type annotations for Autodesk Maya Python API
Project description
types-maya
External type annotations for Autodesk Maya Python API.
The goal is to provide stubs for Pyright or ty language servers.
Installation
pip install types-maya
Available stubs
The stubs are maintained manually and will likely remain incomplete for a long time.
I update the stubs based on my needs and mostly use Maya Python API 2.0 (maya.api).
| Import name | Status |
|---|---|
maya.api.OpenMaya |
🟠 Incomplete (~41%) |
maya.api.OpenMayaAnim |
🟠 Unannotated |
maya.api.OpenMayaRender |
🟠 Unannotated |
maya.api.OpenMayaUI |
🟠 Unannotated |
maya.cmds |
🟠 Unannotated |
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 |
The stubs are written from the Maya 2025 Reference.
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 a submit pull request.
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.3.0.tar.gz.
File metadata
- Download URL: types_maya-0.3.0.tar.gz
- Upload date:
- Size: 57.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84462fbe25448dd80a70af3ac872eaad5b6590b9493604fd65b9a349bdaf299a
|
|
| MD5 |
7f008910f5eca6050bb4f30cdf182215
|
|
| BLAKE2b-256 |
7514a92de3b0408bd9e3cf1cae4be5816d6481199ebe551a648c28e7e892cc35
|
Provenance
The following attestation bundles were made for types_maya-0.3.0.tar.gz:
Publisher:
release.yml on tahv/types-maya
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
types_maya-0.3.0.tar.gz -
Subject digest:
84462fbe25448dd80a70af3ac872eaad5b6590b9493604fd65b9a349bdaf299a - Sigstore transparency entry: 1003351552
- Sigstore integration time:
-
Permalink:
tahv/types-maya@576c2374f6e220b2c7b4dc118ccc600e2bd7ab96 -
Branch / Tag:
refs/tags/0.3.0 - Owner: https://github.com/tahv
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@576c2374f6e220b2c7b4dc118ccc600e2bd7ab96 -
Trigger Event:
push
-
Statement type:
File details
Details for the file types_maya-0.3.0-py3-none-any.whl.
File metadata
- Download URL: types_maya-0.3.0-py3-none-any.whl
- Upload date:
- Size: 38.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0b7d2dfe3ede37444a88f197d86902f5444567e8bcc744aa3f7481405b081ed
|
|
| MD5 |
da50ddbbd94e349156035bb82fa0fdba
|
|
| BLAKE2b-256 |
bd13155d4dbf3ac560fd68d4b88246fd676481e78c8e82d0e51141e4260798a9
|
Provenance
The following attestation bundles were made for types_maya-0.3.0-py3-none-any.whl:
Publisher:
release.yml on tahv/types-maya
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
types_maya-0.3.0-py3-none-any.whl -
Subject digest:
a0b7d2dfe3ede37444a88f197d86902f5444567e8bcc744aa3f7481405b081ed - Sigstore transparency entry: 1003351562
- Sigstore integration time:
-
Permalink:
tahv/types-maya@576c2374f6e220b2c7b4dc118ccc600e2bd7ab96 -
Branch / Tag:
refs/tags/0.3.0 - Owner: https://github.com/tahv
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@576c2374f6e220b2c7b4dc118ccc600e2bd7ab96 -
Trigger Event:
push
-
Statement type: