Skip to main content

A python library for manipulating a stash database

Project description

A python library for querying and updating a stash sqlite database

pystashlib and Stash compatibility table:

pystashlib Stash version Stash schema
v0.4.0-v0.4.3 v0.24.0-v0.24.3 54
v0.3.0-v0.3.1 v0.17.0-v0.17.2 36
v0.2.8 v0.15.0-v0.16.1 31
v0.2.7 v0.14.0 30
v0.2.5 v0.12.0-v0.13.1 29
v0.2.4 v0.11.0 28

Changelog

v0.4.3

  • Added support for performer name disambiguation

Changed

  • query_performer_name Returns list[PerformersRow] instead of PerformersRow.

  • create_performer_from_url Added disambiguation argument

    def create_performer_from_url(self, name, disambiguation, url, commit=True):

Added

  • query_performer_name_disambiguated Returns a PerformersRow match on name and disambiguation.

    Pass None or "" to get a PerformersRow with no disambiguation.

v0.4.2

  • Added back tree_from_file and scrape functions to new stashlib.html module with lxml as an optional dependency

v0.4.1

  • Fix image blob saving

v0.4.0

  • Update to support Stash v0.24.3

v0.3.1

  • Removed tree_from_file and scrape functions from stashlib.common to remove dependency on lxml

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

pystashlib-0.4.3.tar.gz (36.6 kB view details)

Uploaded Source

Built Distribution

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

pystashlib-0.4.3-py3-none-any.whl (39.3 kB view details)

Uploaded Python 3

File details

Details for the file pystashlib-0.4.3.tar.gz.

File metadata

  • Download URL: pystashlib-0.4.3.tar.gz
  • Upload date:
  • Size: 36.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for pystashlib-0.4.3.tar.gz
Algorithm Hash digest
SHA256 3a05b4a7e77ffa2e84f761d50f5a197fb5f33439adf584a839e0255950c273d8
MD5 cf389c9fa271e2bd70c3902cec688722
BLAKE2b-256 ad998b1e1718e018a62a0f5f83196fd31965b4d14b3c7ed308234971d7f4ab0d

See more details on using hashes here.

File details

Details for the file pystashlib-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: pystashlib-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 39.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for pystashlib-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 445a945eabf4b7458e0489de789da94efdba840beac83c5f7ea94753136cf865
MD5 138baaf52c62c01c211fcffc6e115074
BLAKE2b-256 1ca56edc3a5c74bea335e795c45db1c4bae84f527f3247a5d803c8e1a402f9bb

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