Skip to main content

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

Metadata

Release files for stashapp-tools 0.2.59

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stashapp-tools 0.2.59
File Size Uploaded Provenance
stashapp-tools-0.2.59.tar.gz 33.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for stashapp-tools 0.2.59
File Interpreter ABI Platform
stashapp_tools-0.2.59-py3-none-any.whl Python 3 none any Details

Total release size: 67.8 kB

Release files / stashapp-tools-0.2.59.tar.gz

Download URL stashapp-tools-0.2.59.tar.gz
Size 33.0 kB
Tags Source
SHA-256 checksum
How to use checksums
639d98b9e587a7c0b616c9c9d3560c064cf83b6cf877b441782b30586afc4a36
BLAKE2b-256 checksum
How to use checksums
ada860680ce6651cb66aa982720366b08ce23237b084078d787f7edfaf023a1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.18

Release files / stashapp_tools-0.2.59-py3-none-any.whl

Download URL stashapp_tools-0.2.59-py3-none-any.whl
Size 34.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebe7819399d4cd264c87de71f23b2bc9338c55e5ae0c8966c2aa7b1ff9202323
BLAKE2b-256 checksum
How to use checksums
644d7262a8dd1f96c012c4b3271453d4c3cbde7caa6b291d18b00553fc6ad64a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.18

Security for stashapp-tools 0.2.59

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.59 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page