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

Uploaded Source

File details

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

File metadata

  • Download URL: py_shotgun-0.0.10.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.20.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for py_shotgun-0.0.10.tar.gz
Algorithm Hash digest
SHA256 70334ff9da6a7d0418f27fbaf7995a9ac68151c371f199246062326be0a90def
MD5 4d4ce017670f61ff2fa029b69822ba27
BLAKE2b-256 68c7b07b837adb930cee37814048f9bb3cfb82a181a007598513e481d3b27786

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