Skip to main content

A comprehensive toolkit for Autodesk Maya providing utilities for modeling, animation, rigging, and UI management.

Project description

MAYATK (Maya Toolkit)

License: MIT Version Python Maya Tests

mayatk is a collection of utility functions and helper classes for Autodesk Maya, providing convenience wrappers and common workflow patterns for Maya scripting.

Overview

mayatk provides a comprehensive set of production-ready utilities for Maya automation, organized into specialized modules for different aspects of 3D workflow development.

Installation

pip install mayatk

Requirements:

  • Python 3.11+
  • Autodesk Maya 2025+

mayatk ships mayapy-package-manager.bat — an interactive Windows menu for installing, updating, and backing up packages in Maya's bundled Python interpreter.

Package Structure

Core Modules

Module Description
core_utils Core Maya operations, decorators, scene management
edit_utils Mesh editing, modeling, geometry operations
node_utils Node operations, dependency graph, connections
xform_utils Transform utilities, positioning, coordinates
env_utils Environment management, scene hierarchy

Specialized Modules

Module Description
uv_utils UV mapping and texture coordinate tools
rig_utils Rigging, constraints, character setup
anim_utils Animation, keyframe management
mat_utils Materials, shaders, texture management
cam_utils Camera utilities and viewport management
display_utils Display layers, visibility, viewport settings
light_utils Lighting utilities and rendering tools
nurbs_utils NURBS surfaces and curve operations
ui_utils User interface components and utilities

Bundled UITK Editors

MayaUiHandler ships with a one-line entry point for launching the uitk editor windows from a Maya shelf button or script:

from mayatk.ui_utils.maya_ui_handler import MayaUiHandler
MayaUiHandler.instance().editors.show("browser")
Editor key Description
browser Searchable launcher for every UI registered with the switchboard — supports tagging, filtering by name/tag, hide lists, launch options, and JSON-portable presets.
style Theme + QSS variable editor for live restyling of the dark/light themes.
hotkey Keyboard-shortcut editor for slots registered with the switchboard.

MayaUiHandler.instance() is reentrant:

  • If tentacle (or any other tool) already created the handler, the call returns the existing singleton — opening the editor on top of the same switchboard the rest of the application is using.
  • If nothing has set up a handler yet, the call bootstraps one with a fresh Switchboard, so the shelf button is the only line of code needed.

The editor is cached per-handler — clicking the shelf button twice focuses the existing window rather than spawning a duplicate; closing it via the OS close button + reopening rebuilds transparently.

License

MIT License - See LICENSE file for details

Links

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

mayatk-0.11.7-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file mayatk-0.11.7-py3-none-any.whl.

File metadata

  • Download URL: mayatk-0.11.7-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for mayatk-0.11.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0d03ec8bfe7f355b27afffb7a06fc7a912890ee2483b6127be3ab10120a57071
MD5 9c069efe783327603c761113ef94333d
BLAKE2b-256 fb9efffc406e34675244d0f62de44d719d5136bb1ff30ea956eb550ca4e1adfe

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