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.5.0 v0.25.0-v0.25.1 55
v0.4.0-v0.4.5 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.5.0

  • Update to support Stash v0.25.0

v0.4.5

  • Add requests package to list of requirements

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.5.0.tar.gz (36.8 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.5.0-py3-none-any.whl (39.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pystashlib-0.5.0.tar.gz
Algorithm Hash digest
SHA256 9dd77c096dc6f471ed0a8788cc96c1cbe3b85a37c695d022b1b9c96d860ada44
MD5 9de472ae9d773b2f414c373c8a013fe6
BLAKE2b-256 2dda5ede4fa54f3d2d48d89b13c1784c1234dedabb97722cde8e1b6e324e20fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pystashlib-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 39.4 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21227cf526fcc5b26202073fd0403037fc3f025cc5a1dd414b4c095425abac1e
MD5 736b638af21480e9fa92cada441fd152
BLAKE2b-256 e8f82a929d65bea910193d2a5877abf8f376b8844c0b16c78b8a67340e7ecb34

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