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.6.0 v0.27.0 67
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.6.0.tar.gz (38.3 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.6.0-py3-none-any.whl (40.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pystashlib-0.6.0.tar.gz
Algorithm Hash digest
SHA256 e3cd40d92d34dfb16d4ee9582a38952e1bddd4aa3c38a981ee1f2c27cfc34c08
MD5 083411ece63a9cfa01d12304bc969ada
BLAKE2b-256 8454c9a7ac0805a8ca9de386dc52c1c9f1a023506902a6588ca5ae8e4fa21020

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pystashlib-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cdf5aefdc0c35a06d3ac12dfabd128f70c5145f0914d37d2e5c86ac7e1e20271
MD5 7730817e22064f92e52ac17090015300
BLAKE2b-256 6a5c1d560f81c09e73f2ed5ec6c1e0cbd2a0e5243cbbfe0805e6c87ddf1f833f

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