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_nameReturns list[PerformersRow] instead of PerformersRow. -
create_performer_from_urlAdded disambiguation argumentdef create_performer_from_url(self, name, disambiguation, url, commit=True):
Added
-
query_performer_name_disambiguatedReturns 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d7d51b31c05bdc95b2965bbbdeae7c55c810340436b96caf1323fe95cd24dfa
|
|
| MD5 |
a644936455945b1030c5cb94b7526c26
|
|
| BLAKE2b-256 |
03cf3f26ed96f21eb27721434d6fbe1cf8919fe2736ffff822acaf4aee5c6f44
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41ae275dc9eb34acfedf4b666480d00d07f96ed1fefcde6586c208fe20e0881b
|
|
| MD5 |
c2cdcfeb91c14bdd762b84657836e683
|
|
| BLAKE2b-256 |
9627efaece145902a02cf291014184a2f4d333c5a0aca181910cbd3b432fd7c3
|