simple shotgun api wrap
Project description
pyShotgun
A python wrapper for shotgun api
usage
basic usage
import logging
logger = logging.getLogger(__name__)
import shotgun_api3
from py_shotgun import SGSchema
sg = shotgun_api3.Shotgun(server, script_name=script_name, api_key=script_key)
# init a shotgun api
SGSchema.set_api(sg)
SGProject = SGSchema.sgClasses.Project
SGReply = SGSchema.sgClasses.Reply
# get shotgun class from "SGSchema.sgClasses"
project = SGProject(1, sg, logger)
reply = SGReply(2, sg, logger)
print(project.name)
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
py_shotgun-0.0.1.tar.gz
(3.5 kB
view details)
File details
Details for the file py_shotgun-0.0.1.tar.gz.
File metadata
- Download URL: py_shotgun-0.0.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b902792268ca906f69426ddfffe6adfc0e6fffc38949e8ad466d30de5abe6e4
|
|
| MD5 |
96dd4ca5e3a8849d3ad2f0d87aee8706
|
|
| BLAKE2b-256 |
f702898484d65d453c1e98d7722d3948292019cc9f4af7e47be0aeb17cc2fc27
|