Python package
A collection of Python modules.
Often distributed through PyPI and installable with pip.
e.g. The package Pyside6 contains multiple modules like QtWidgets and QtCore. And can be installed with
Backlinks¶
- Maya plugin
- A plugin can only be a single
.pyfile, because the plugin folder is not in the Python path.
If you want to include additional files, I recommend to distribute them as a Python module in thescriptsfolder, and import them from the plugin. You can also set them as a dependency, see Maya plugin template. - Python packages (a custom solution can be seen in Maya plugin template)
- A plugin can only be a single
- Maya module
- Maya modelchecker
- https://github.com/JakobJK/modelChecker
user needs to launch it with a command, adviced from the Maya shelf
- https://github.com/JakobJK/modelChecker
- expose a python tool in plugget without wrapping it
- Currently, I always wrap a tool in a wrapper plugin, publishing it in its own GitHub repo.
- qt-module-manager
- examples of wrapper plugins
- I made many plugins that are just light wrappers around a Python package.
- my pip packages
- prevent the need for wrapper plugins
- Many plugins are just light wrapper plugins around a Python package: some examples