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
Requirements
Developed using python 3.10.X with attempts to make things as backwards compatible where possible, if you are having issues please try using python 3.10
Installation
pip install stashapp-tools
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
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
stashapp-tools-0.2.11.tar.gz
(22.4 kB
view hashes)
Built Distribution
Close
Hashes for stashapp_tools-0.2.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fd60ac63d9abec604e227f347a05c79d8de3da40ad224888710962685cb3ebc |
|
MD5 | 1cff8985e0b8f391111922bb53076d1b |
|
BLAKE2b-256 | 375b3b79e917093ca026f809537e01d07cd77c630ea1682a2f56556bd8c6fa0d |