Skip to main content

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


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.9.2.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file py_shotgun-0.0.9.2.tar.gz.

File metadata

  • Download URL: py_shotgun-0.0.9.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.6

File hashes

Hashes for py_shotgun-0.0.9.2.tar.gz
Algorithm Hash digest
SHA256 d6fbd1a22ab773d9357e4d04bf56690c375cb1ae0299c13dc0189a65fa875b29
MD5 8ae1ae68c43941450b7b7c4917b0f19f
BLAKE2b-256 ab69888d8d0014d1971288d285900fa2ee439ff640f0910afc83d6cfe8aad828

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page