Skip to content

shotgunsoftware/python-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

96fea83 · Sep 18, 2017
Dec 5, 2016
Sep 18, 2017
Jul 10, 2017
Aug 23, 2012
Feb 10, 2016
Jul 10, 2017
Sep 18, 2017
Jun 7, 2011
Jul 17, 2017
Jul 19, 2011
Jul 25, 2011
Jul 25, 2011
Sep 18, 2017

Repository files navigation

Shotgun Python API

Shotgun provides a simple Python-based API for accessing Shotgun and integrating with other tools. This is the official API that is maintained by Shotgun Software (support@shotgunsoftware.com)

The latest version can always be found at http://github.com/shotgunsoftware/python-api

Minimum Requirements

  • Shotgun server v2.4.12+.
  • Python v2.4 - v2.7.

High Performance Requirements

Documentation

Tutorials and detailed documentation about the Python API are available at http://developer.shotgunsoftware.com/python-api).

Some useful direct links:

Changelog

You can see the full history of the Python API on the documentation site.

Tests

Integration and unit tests are provided.

Build Status

  • All tests require the nose unit testing tools, and a tests/config file (you can copy an example from tests/example_config).
  • Tests can be run individually like this: nosetest tests/test_client.py
  • test_client and tests_unit use mock server interaction and do not require a Shotgun instance to be available (no modifications to tests/config are necessary).
  • test_api and test_api_long do require a Shotgun instance, with a script key available for the tests. The server and script user values must be supplied in the tests/config file. The tests will add test data to your server based on information in your config. This data will be manipulated by the tests, and should not be used for other purposes.
  • To run all of the tests, use the shell script run-tests.