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.11.X with attempts to make things as backwards compatible where possible, if you are having issues please try using python 3.11
Installation
To install from PyPI use this command:
pip install stashapp-tools
To install directly from this repo use this command:
pip install git+https://github.com/stg-annon/stashapp-tools
Usage
import stashapi.log as log
from stashapi.stashapp import StashInterface
stash = StashInterface({
"scheme": "http",
"host":"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.55.tar.gz
(31.0 kB
view details)
Built Distribution
File details
Details for the file stashapp-tools-0.2.55.tar.gz
.
File metadata
- Download URL: stashapp-tools-0.2.55.tar.gz
- Upload date:
- Size: 31.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 795269fab0d74c80ead05d5b5e7863e66817e66d5c3197089de8c8e9037f1975 |
|
MD5 | 95eb6885bfaf086f77b348cd013529dc |
|
BLAKE2b-256 | 44e524227e020637a8d95f608aca815edc7d218affc726cc6796ae102c3b784a |
File details
Details for the file stashapp_tools-0.2.55-py3-none-any.whl
.
File metadata
- Download URL: stashapp_tools-0.2.55-py3-none-any.whl
- Upload date:
- Size: 32.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b70ac7618ad4f6cff7f74117606a3ca445ee55b30436ab2689c61f07b61304d |
|
MD5 | 3d0040e5e6a3e93e95883fe82632fce0 |
|
BLAKE2b-256 | b21c278fada2f8c3d071cf8e2223e044b473855010db6de99eba92cf484355b5 |