Metadata-Version: 2.1
Name: maya-stubs
Version: 0.4.0
Summary: Type Annotated Stubs for Autodesk Maya's python APIs
Home-page: https://www.github.com/Muream/maya-stubs
License: MIT
Keywords: stubs,autodesk,maya,cmds,OpenMaya
Author: Loïc Pinsard
Author-email: muream@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Project-URL: Repository, https://www.github.com/Muream/maya-stubs
Description-Content-Type: text/markdown

# 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
  - [x] Stubs for all commands.
  - [x] Accurate Arguments signatures for most commands.
    Parsed from the HTML Docs or the synopsys from `cmds.help("command")`
  - [x] Accurate Positional Only Arguments for most command.
  - [x] Accurate Return types on most commands
  - [x] Docstrings.
  - [ ] Accurate Arguments signatures all commands.
  - [ ] Accurate Return types all most commands
- 🚧 OpenMaya 1.0: Incomplete
  - [x] Stubs for all members
  - [ ] Accurate Argument Signatures
  - [ ] Return Types
  - [ ] Docstrings.
- 🚧 OpenMaya 2.0: Incomplete
  - [x] Stubs for all members
  - [ ] Accurate Argument Signatures
  - [ ] Return Types
  - [x] Docstrings.


## Installation

You can get the stubs with one of two ways:

1. Run `pip install maya-stubs` from the python executable used by your IDE.
2. Download them manually from the [Github releases](https://github.com/Muream/maya-stubs/releases) and let your IDE know of their location.


