Python API#

Warning

Please note the following warnings prior to using the Rez Python API:

  • We try our best to not break users, but there are no compatibility guarantees between different versions of Rez.

  • The Python API does not currently support rereading from configuration files, or changing to new configuration files after the Python API has initially been imported. If you need to support this functionality, prefer the CLI instead.

rez.build_process

rez.build_system

rez.bundle_context

rez.command

rez.config

rez.developer_package

rez.exceptions

Exceptions.

rez.package_cache

rez.package_copy

rez.package_filter

rez.package_help

rez.package_maker

rez.package_move

rez.package_order

rez.package_py_utils

This sourcefile is intended to be imported in package.py files, in functions including:

rez.package_remove

rez.package_repository

rez.package_resources

rez.package_search

Default algorithms for searching for packages based on some criteria.

rez.package_serialise

rez.package_test

rez.packages

rez.plugin_managers

Manages loading of all types of Rez plugins.

rez.release_hook

rez.release_vcs

rez.resolved_context

rez.resolver

rez.rex_bindings

Provides wrappers for various types for binding to Rex.

rez.rex

rez.serialise

Read and write data from file.

rez.shells

Pluggable API for creating subshells using different programs, such as bash.

rez.solver

The dependency resolving module.

rez.status

rez.suite

rez.system

rez.util

Misc useful stuff.

rez.utils

rez.version

Implements everything needed to manipulate versions and requirements.

rez.wrapper