Skip to main content

External type annotations for Autodesk Maya Python API

Project description

types-maya

PyPI PyPI Buy Me a Coffee

External type annotations for Autodesk Maya Python API

PyPIGitLabGitHubChangelog


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

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.6.1.tar.gz (412.4 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.6.1-py3-none-any.whl (404.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: types_maya-0.6.1.tar.gz
  • Upload date:
  • Size: 412.4 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for types_maya-0.6.1.tar.gz
Algorithm Hash digest
SHA256 655a5f541dd3a96e05b2ca7ca08eeec961b347d26bcd7e2705bfe6ef2b2e68ec
MD5 b6258af79e23e3320517b1bfb8d98389
BLAKE2b-256 58c27fbc1adb2efada5c32573932d869dfb2cb5909dbdf50643330154ea5ba46

See more details on using hashes here.

File details

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

File metadata

  • Download URL: types_maya-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 404.0 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for types_maya-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b98c2e3e0e6baab9b0e9961019f762ec5297c295b4951a3e20c7f4413b19902e
MD5 26b87c07ac1505684e1ccec379325ef5
BLAKE2b-256 06c89bbe511d32816b3a6e936e20dadedda8240b1dbc8b2f762b4fa04131f5ac

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