Skip to main content

types-maya

PyPI PyPI Buy Me a Coffee

External type annotations for Autodesk Maya Python API

PyPI • GitLab • GitHub • Changelog


Provide stubs for language servers such a Pyright or ty.

Installation

Install with pip or uv pip.

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

Metadata

Release files for types-maya 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for types-maya 0.6.1
File Size Uploaded
types_maya-0.6.1.tar.gz 412.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for types-maya 0.6.1
File Interpreter ABI Platform
types_maya-0.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 816.4 kB

Release files / types_maya-0.6.1.tar.gz

Download URL types_maya-0.6.1.tar.gz
Size 412.4 kB
Tags Source
SHA-256 checksum
How to use checksums
655a5f541dd3a96e05b2ca7ca08eeec961b347d26bcd7e2705bfe6ef2b2e68ec
BLAKE2b-256 checksum
How to use checksums
58c27fbc1adb2efada5c32573932d869dfb2cb5909dbdf50643330154ea5ba46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","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}

Release files / types_maya-0.6.1-py3-none-any.whl

Download URL types_maya-0.6.1-py3-none-any.whl
Size 404.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b98c2e3e0e6baab9b0e9961019f762ec5297c295b4951a3e20c7f4413b19902e
BLAKE2b-256 checksum
How to use checksums
06c89bbe511d32816b3a6e936e20dadedda8240b1dbc8b2f762b4fa04131f5ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","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}

Release history Release notifications | RSS feed

This release

0.6.1 This release

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page