Introduction

Pyblish by Example

Welcome to the Pyblish by Example tutorial.

You will learn

  • The basics of publishing in the production of film and games

  • The fundamentals of Pyblisharrow-up-right and it's APIarrow-up-right

  • How to validate content

  • How to guarantee valid content on export

  • How to properly position and name content according to convention

  • How to visualise the results of one or more publishes

  • Developer and Artist communication through the UI

Introduction

Pyblish is an open source, cross-platform framework for test-driven content creation.

Pyblish by Example is a hands-on introduction to Pyblish using short example programs written like a book - to be read from top to bottom.

Installation

If you haven't already, go ahead and install Pyblish.

Any problems, have a look at the extended installation guidearrow-up-right.

How to use this guide

Start by confirming to yourself that you are indeed using version 1.4+ of Pyblish.

If not, see the top-left corner of this page for a dropdown of your version.

As you read through this guide it is recommended that you use the scripting API, accessible via pyblish.util.

Reporting issues

Should you happen to find errors or would like to contribute material to this guide, you can:

  1. Click on the + button to the right of each paragraph to add a comment

  2. Register on GitBookarrow-up-right to edit this book directly.

  3. Fork the GitHub repositoryarrow-up-right and submit a pull-request with your changes.

Content

Have a look to the left for a table of contents, and below for related topics in the forums.

Note: The below content was written at various versions of Pyblish and may not include current best practices, but all remain forwards compatible with version 1.4.

For example, .set_data("key", "value") has been superseded by .data["key"] = "value" but will still work with newer plug-ins.

Intermediate

Advanced

Changelog

Last updated

Was this helpful?