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.

Alternatives


Buy Me a Coffee

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: types_maya-0.6.0.tar.gz
  • Upload date:
  • Size: 412.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","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.0.tar.gz
Algorithm Hash digest
SHA256 e6162f533936e3da3ee6891031d87091b20bfe4d165e2cac9d3dc9120b5510de
MD5 89771d3c221db4eec06b1aa725b094eb
BLAKE2b-256 838f2533a1f8cd58a3f1fe10b93235e8a2c6c9ed174bee672b4f2f241780973a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: types_maya-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 404.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a8d072894d5784f71ac3b4a6cd6783f987eefba32a6a6972ae4b16aa64fa801
MD5 89af26e1952488183011735d03a81a84
BLAKE2b-256 e66e243cb3f42602032872ce396c6040d5c1d0e65b312a6b54709745fc08355a

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