Shotgun Python API
Project description
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
- For Python 2.4 and 2.5, install simplejson 2.0.9
- For Python 2.6 and higher, install simplejson 2.1.6
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.
- All tests require the nose unit testing tools, and a
tests/config
file (you can copy an example fromtests/example_config
). - Tests can be run individually like this:
nosetest tests/test_client.py
test_client
andtests_unit
use mock server interaction and do not require a Shotgun instance to be available (no modifications totests/config
are necessary).test_api
andtest_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 thetests/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
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shotgun_api3-3.0.34.tar.gz
(270.7 kB
view details)
File details
Details for the file shotgun_api3-3.0.34.tar.gz
.
File metadata
- Download URL: shotgun_api3-3.0.34.tar.gz
- Upload date:
- Size: 270.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 601f3ce5820e868df2cb03a1f869fea7131a68cb81df27c5282b25cc57f59dac |
|
MD5 | 3dc87aa1f237843e965cbb6aba5aaca3 |
|
BLAKE2b-256 | 485bd4657194c51cd842fd33699c6063acc721dd57c1e2e3ee8e395c0eba82c5 |