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.4 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.4

  • Updated StashInterface GQL client to support Stash v0.24.3

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.4.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.4-py3-none-any.whl (39.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pystashlib-0.4.4.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.4.tar.gz
Algorithm Hash digest
SHA256 6d7d51b31c05bdc95b2965bbbdeae7c55c810340436b96caf1323fe95cd24dfa
MD5 a644936455945b1030c5cb94b7526c26
BLAKE2b-256 03cf3f26ed96f21eb27721434d6fbe1cf8919fe2736ffff822acaf4aee5c6f44

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pystashlib-0.4.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 41ae275dc9eb34acfedf4b666480d00d07f96ed1fefcde6586c208fe20e0881b
MD5 c2cdcfeb91c14bdd762b84657836e683
BLAKE2b-256 9627efaece145902a02cf291014184a2f4d333c5a0aca181910cbd3b432fd7c3

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