Skip to content

tahv/types-maya

Repository files navigation

types-maya

Typed Version License CI Tests

External type annotations for Autodesk Maya Python API.

The goal is to provide helper for Pyright language server to offer better autocompletion.

Installation

Install with pip or uv pip.

pip install types-maya

Available stubs

The stubs are maintained manually. This means they will likely remains incomplete for some time.

I update the stubs based on the needs of my projects and i mostly focus on Maya Python API 2.0 (maya.api).

Import name Status
maya.api.OpenMaya 🟠 Incomplete (~20%)
maya.api.OpenMayaAnim 🔴 Not Covered
maya.api.OpenMayaRender 🔴 Not Covered
maya.api.OpenMayaUI 🔴 Not Covered
maya.cmds 🔴 Not Covered
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.

Contributing

Contributions of any kind are welcome. Please open an issue or a submit pull request.