Tooling to analyze or perform actions on Python code in Houdini packages
Project description
The houdini_package_runner project aims to provide an extensible API and set of tools for analyzing and acting upon files in a Houdini package.
The current tools are all geared towards Python compatibility and styling.
Supported file types include:
- Python files and packages
- Python code/context sections inside Houdini XML type files
- Menus (MainMenu*.xml, ParmMenu.xml, etc)
- Python panels
- Shelf tools
- Digital Assets (binary or expanded asset folders)
- Python code sections (PythonModule, OnCreated, etc)
- Python code inside DialogScript definition
- Callbacks
- Default parameter expressions
- Menu scripts
- Included shelf tools
Currently, the runner tools only function outside of Houdini on disk files.
The following read-only tool runners are provided:
The following tool runner which can modify files are provided:
- black - Perform black formatting on Python code
- isort - Use isort to sort Python imports
- modernize - Use python-modernize for support Python 2 to 3 conversion.
NOTES:
- In order for the above runner tools to work you'll need to have them installed and available via commandline
- Operations on binary digital asset files (.otl, .hda) requires that Houdini's provided hotl command be available to run.
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
Built Distribution
File details
Details for the file houdini_package_runner-0.4.1.tar.gz
.
File metadata
- Download URL: houdini_package_runner-0.4.1.tar.gz
- Upload date:
- Size: 69.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9761ed2c49f2da3fa18a6f1c0a53379d6ae9ecc1aa7823051b70e3abe1f38407 |
|
MD5 | 92903c2f726ffb1678275dba4700d4d5 |
|
BLAKE2b-256 | 97a6089125da7af7f70703703c35082c5eaffd38d5b57f2a1b53c322f85fe285 |
File details
Details for the file houdini_package_runner-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: houdini_package_runner-0.4.1-py3-none-any.whl
- Upload date:
- Size: 40.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df4029983507ff6608d3ee1e68dc6102a0ac3c42a16563db1f508c91d6a35038 |
|
MD5 | 03b2e194863ee010bf22ae03faa62372 |
|
BLAKE2b-256 | 98d4e82798f6fcfbb86f1f7d99d694ccb65a3fc289824e8895dadb8449ec6199 |