Git Product home page Git Product logo

zync-python's Introduction

ZYNC Python API

Install / Setup

Clone this repository to a centrally available location at your facility. This library will be used by both the Maya and Nuke plugins, so it must be easily accessible.

Once cloned, create a new file zync-python/config.py. This file should contain one line:

ZYNC_URL = "https://<site>.zyncio.com"

This address will match the address you use to access your ZYNC Web Console.

A sample configuration file "config.py.sample" is included in this repository.

Usage

import zync

# set up a ZYNC object
z = zync.Zync('script_name', 'api_key')

# authenticate with ZYNC
z.login(username='bcipriano', password='password')

# supply some non-default rendering paramters
job_params = dict( frange = '1-100',
               chunk_size = 2 )

# submit the job to ZYNC
z.submit_job('nuke', '/path/to/nuke_script.nk', 'write_node', job_params)

Dependencies

This library uses httplib2.

It is included with this API for convenience, though you can also install it with pip or easy_install:

easy_install httplib2

zync-python's People

Watchers

Nick Fox-Gieg avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.