Pipeline tools for (but not limited to) audiovisual projects.
Project description
The Grill
Cook digital.
grill namespace, meta-package with core tools and philosophy guidelines.
With future users and readers in mind, the grill aims to stick to the following principles:
- DRY (don't repeat yourself)
- SSOT (single source of truth)
- Convention over configuration (sensible defaults)
- SOLID (understandable, flexible and maintainable)
- KISS (keep it simple)
Foundational tools:
Install
python -m pip install grill
Extra Dependencies
The following optional dependencies should be installed separately.
- graphviz (for graph widgets)
- usdview (hopefully will be available soon via pypi). In the meantime, it can be downloaded from NVidia or built from USD source (conda recipe)
Conda Environment Example
For environment management, the grill uses conda.
This is a walk-through on how to start using the grill tools with a fresh conda environment.
-
If
condais not on the system yet, install miniconda.Note:
condaenvironment manager comes in two flavours: -
Launch Anaconda Prompt (it came as part of the
minicondainstallation) -
Create a new
condaenvironment withpython=3.7, e.g:(base) C:\>conda create -n grilldemo01 python=3.7 -
Activate that environment
(base) C:\>conda activate grilldemo01 -
Install
grillvia pip(grilldemo01) C:\>python -m pip install grill -
If missing, optionally install
graphvizvia conda(grilldemo01) C:\>conda install -c anaconda graphviz -
If missing, optionally install
usdviewvia NVidia builds or via building USD from source using this conda recipe.Note that if you're installing via the NVidia builds, you'll need
PyOpenGLas well:(grilldemo01) C:\>python -m pip install PyOpenGL -
Extend the
PXR_PLUGINPATH_NAMEenvironment variable to include theplugInfo.jsonfile from thegrill.resourcespath location.To know where the installed file is, run the following python command:
(grilldemo01) C:\Users\Christian>python -c "from pathlib import Path;from grill import resources;path=(Path(resources.__path__._path[0]) / 'plugInfo.json');assert path.is_file();print(path)"It will print something like:
C:\Users\Christian\.conda\envs\grilldemo01\lib\site-packages\grill\resources\plugInfo.jsonWhich you can use to extend the pixar environment variable, e.g:
(grilldemo01) C:\Users\Christian>set PXR_PLUGINPATH_NAME=%PXR_PLUGINPATH_NAME%;C:\Users\Christian\.conda\envs\grilldemo01\lib\site-packages\grill\resources\plugInfo.json -
You should be able to launch
usdviewand see theGrillmenu on the menu bar.(grilldemo01) C:\Users\Christian>usdview B:\read\cg\downloads\Kitchen_set\Kitchen_set\Kitchen_set.usd
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file grill-0.8.0.tar.gz.
File metadata
- Download URL: grill-0.8.0.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66ab17274753257a87ace20e1f5308b5359041fee85be91ef9a8153421ae219a
|
|
| MD5 |
13ed084fdba06b58702f3932dc317e51
|
|
| BLAKE2b-256 |
a55968d6a42b4e5ac19517da486cdd09ca4bbe0d9676ec1fbf15eb217f69a5ff
|
File details
Details for the file grill-0.8.0-py3-none-any.whl.
File metadata
- Download URL: grill-0.8.0-py3-none-any.whl
- Upload date:
- Size: 30.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
400256a5c8b2257faa33156a62707425b5545c09869a100bd4cf83b51adf7900
|
|
| MD5 |
47b3592b263e3d62dd716b9414d3db26
|
|
| BLAKE2b-256 |
8a8421597d9b937d09ed4fcdd8b0831594b9f5595d0bcebc730f130d42ab4f33
|