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 |
- Update to support Stash v0.27.0
- Update to support Stash v0.25.0
- Add
requestspackage to list of requirements
- Updated StashInterface GQL client to support Stash v0.24.3
- Added support for performer name disambiguation
-
query_performer_nameReturns list[PerformersRow] instead of PerformersRow. -
create_performer_from_urlAdded disambiguation argumentdef create_performer_from_url(self, name, disambiguation, url, commit=True):
-
query_performer_name_disambiguatedReturns a PerformersRow match on name and disambiguation.Pass None or "" to get a PerformersRow with no disambiguation.
- Added back tree_from_file and scrape functions to new stashlib.html module with lxml as an optional dependency
- Fix image blob saving
- Update to support Stash v0.24.3
- Removed tree_from_file and scrape functions from stashlib.common to remove dependency on lxml