Type Annotated Stubs for Autodesk Maya's python APIs
Project description
Maya Stubs
Type Annotated Stubs for Autodesk Maya's python APIs
Goals
Provide fully type annotated stubs for maya.cmds and OpenMaya 1.0 & 2.0
Status
Note that is very much in progress and it is unlikely that the stubs will ever be perfect.
At this point, even if some of the maya.cmds
annotations are wrong/misleading, I would consider it a better experience than using the stubs from the devkit.
The stubs from OpenMaya 1.0 and 2.0 are very minimal and only have *args, **kwargs
signatures, which should be pretty close to the devkit stubs.
- 🚧 maya.cmds: In Progress
- Stubs for all commands.
- Accurate Arguments signatures for most commands.
Parsed from the HTML Docs or the synopsys from
cmds.help("command")
- Accurate Positional Only Arguments for most command.
- Accurate Return types on most commands
- Docstrings.
- Accurate Arguments signatures all commands.
- Accurate Return types all most commands
- 🚧 OpenMaya 1.0: Incomplete
- Stubs for all members
- Accurate Argument Signatures
- Return Types
- Docstrings.
- 🚧 OpenMaya 2.0: Incomplete
- Stubs for all members
- Accurate Argument Signatures
- Return Types
- Docstrings.
Installation
You can get the stubs with one of two ways:
- Run
pip install maya-stubs
from the python executable used by your IDE. - Download them manually from the Github releases and let your IDE know of their location.
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
maya_stubs-0.4.0.tar.gz
(1.4 MB
view hashes)
Built Distribution
Close
Hashes for maya_stubs-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c8d749535e6d9bde761ca9f160d2df1b48dd11bc1d0b3884d60e5b0e8069527 |
|
MD5 | b5003c9cf1d6f1f5dd2a8eb771d38bb9 |
|
BLAKE2b-256 | a84d57ed738c776cc3802ec998d9c43039381f3a3d5b16c4f421654e74d60b3e |