Skip to main content

A python library for interfacing with a stashapp's API

Project description

stashapp-tools

This library primarily serves as a API wrapper for Stash written in python

Usage

import stashapi.log as log
from stashapi.stashapp import StashInterface

stash = StashInterface({
    "scheme": "http",
    "domain":"localhost",
    "port": "9999",
    "logger": log
})

scene_data = stash.find_scene(1234)
log.info(scene_data)

This example creates a connection to Stash query's a scene with ID 1234 and prints the result to Stash's logs

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

stashapp-tools-0.2.4.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stashapp_tools-0.2.4-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file stashapp-tools-0.2.4.tar.gz.

File metadata

  • Download URL: stashapp-tools-0.2.4.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for stashapp-tools-0.2.4.tar.gz
Algorithm Hash digest
SHA256 d027141c9f974a577101d4ad48db78b0562591787e3a4559f47e2560b3a74d9f
MD5 8d1da19f9fa0b3743bb122ef834038e4
BLAKE2b-256 00e7d161e450bb3d998b3907b878a8a526c510a2ffa21ee0d5bb3550398cc7f5

See more details on using hashes here.

File details

Details for the file stashapp_tools-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: stashapp_tools-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for stashapp_tools-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e3c0659cee7ab084448dfea44af8da184f0cde1db69714dc1da8649498469262
MD5 338314971389fee8421af8365deee5ea
BLAKE2b-256 53b69d3d805dae5082dda5d316cbdaeb312fe1cce196ed68de5cd9f46d6349a2

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