Skip to main content

External type annotations for Autodesk Maya Python API

Project description

types-maya

Typed Version License CI Tests

External type annotations for Autodesk Maya Python API.

The goal is to provide stubs for Pyright or ty language servers.

Installation

Install with pip or uv pip.

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

types_maya-0.3.0.tar.gz (57.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

types_maya-0.3.0-py3-none-any.whl (38.0 kB view details)

Uploaded Python 3

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

Hashes for types_maya-0.3.0.tar.gz
Algorithm Hash digest
SHA256 84462fbe25448dd80a70af3ac872eaad5b6590b9493604fd65b9a349bdaf299a
MD5 7f008910f5eca6050bb4f30cdf182215
BLAKE2b-256 7514a92de3b0408bd9e3cf1cae4be5816d6481199ebe551a648c28e7e892cc35

See more details on using hashes here.

Provenance

The following attestation bundles were made for types_maya-0.3.0.tar.gz:

Publisher: release.yml on tahv/types-maya

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for types_maya-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a0b7d2dfe3ede37444a88f197d86902f5444567e8bcc744aa3f7481405b081ed
MD5 da50ddbbd94e349156035bb82fa0fdba
BLAKE2b-256 bd13155d4dbf3ac560fd68d4b88246fd676481e78c8e82d0e51141e4260798a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for types_maya-0.3.0-py3-none-any.whl:

Publisher: release.yml on tahv/types-maya

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page