Skip to main content

Pipeline tools for (but not limited to) audiovisual projects.

Project description

The Grill

Build Status codecov Documentation Status PyPI version PyPI

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:

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.

  1. If conda is not on the system yet, install miniconda.

    Note: conda environment manager comes in two flavours:

    • Anaconda, which is conda + a lot of extra utilities.
    • miniconda is the main bootstrap for conda and is the preferred one. When in doubt, install this one.
  2. Launch Anaconda Prompt (it came as part of the miniconda installation)

  3. Create a new conda environment with python=3.7, e.g:

    (base) C:\>conda create -n grilldemo01 python=3.7
    
  4. Activate that environment

    (base) C:\>conda activate grilldemo01
    
  5. Install grill via pip

    (grilldemo01) C:\>python -m pip install grill
    
  6. If missing, optionally install graphviz via conda

    (grilldemo01) C:\>conda install -c anaconda graphviz
    
  7. If missing, optionally install usdview via 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 PyOpenGL as well:

    (grilldemo01) C:\>python -m pip install PyOpenGL
    
  8. Extend the PXR_PLUGINPATH_NAME environment variable to include the plugInfo.json file from the grill.resources path 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.json
    

    Which 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
    
  9. You should be able to launch usdview and see the Grill menu on the menu bar.

    (grilldemo01) C:\Users\Christian>usdview B:\read\cg\downloads\Kitchen_set\Kitchen_set\Kitchen_set.usd
    

    usdview_grill_menu

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

grill-0.8.0.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

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

grill-0.8.0-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

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

Hashes for grill-0.8.0.tar.gz
Algorithm Hash digest
SHA256 66ab17274753257a87ace20e1f5308b5359041fee85be91ef9a8153421ae219a
MD5 13ed084fdba06b58702f3932dc317e51
BLAKE2b-256 a55968d6a42b4e5ac19517da486cdd09ca4bbe0d9676ec1fbf15eb217f69a5ff

See more details on using hashes here.

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

Hashes for grill-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 400256a5c8b2257faa33156a62707425b5545c09869a100bd4cf83b51adf7900
MD5 47b3592b263e3d62dd716b9414d3db26
BLAKE2b-256 8a8421597d9b937d09ed4fcdd8b0831594b9f5595d0bcebc730f130d42ab4f33

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