Skip to main content

External type annotations for Autodesk Maya Python API

Project description

types-maya

Source PyPI Typed

External type annotations for Autodesk Maya Python API.

Provide stubs for language servers such a Pyright or ty.

Project Information

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.

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.4.0.tar.gz (406.6 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.4.0-py3-none-any.whl (398.9 kB view details)

Uploaded Python 3

File details

Details for the file types_maya-0.4.0.tar.gz.

File metadata

  • Download URL: types_maya-0.4.0.tar.gz
  • Upload date:
  • Size: 406.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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}

File hashes

Hashes for types_maya-0.4.0.tar.gz
Algorithm Hash digest
SHA256 5f9010ea692b640fcb624449695da60a55ffb87686309c8994b2e7cbd24e6f74
MD5 433237b681ae7e30abf2a22c4787484b
BLAKE2b-256 9d55348f60cad75148a8b66831842e3224e8634c18dcd0f6fbf7d7ebd81d40d8

See more details on using hashes here.

File details

Details for the file types_maya-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: types_maya-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 398.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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}

File hashes

Hashes for types_maya-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03c2030c102250d55515910084baeb8422c5de9bf8f2d05e8bea98aa4618396e
MD5 04d4c31fd1bac6d0be49e3c993c3cb64
BLAKE2b-256 26af93a99146c0be7a1ce12e688841a068b760a79114b8a0c7cfe8a288b2d86b

See more details on using hashes here.

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