comictagger/testing
Timmy Welch f72ebdb149 Simplify ComicCacher to store a single binary data field and ID(s)
If the ComicCacher is to be a generic cache for talkers it must assume
 very little. Current assumptions:
 - There are issues that can be queried individually by an "Issue ID" and they have a relation to a single series
 - There are series that can be queried individually by an "Series ID" and they have a relation to zero or more issues
 - There are Searches that can be queried by the search term and they have a relation to zero or more series

Each series and issue have a boolean `complete` attribute which is up to the talker to decide what it means.
Data is returned as a tuple ([series, complete] or [issue, complete]) or a list of tuples
An issue consists of an ID, an series ID and a binary data attribute which is up to the talker to determine what it means.
An series consists of in ID and a binary data attribute which is up to the talker to determine what it means.

The data attribute is binary to allow for compression and efficient storage of binary data (e.g. pickle) it is suggested to store it as json or similar text format encoded with utf-8. If the talker is using a website API it is suggested to store the raw response from the server.

All caches automatically expire 7 days after insertion.
2023-08-05 03:02:12 -07:00
..
data Fix sorting 2022-09-10 19:48:50 -07:00
__init__.py make tests and testing proper modules 2022-06-23 13:27:36 -07:00
comicdata.py Simplify ComicCacher to store a single binary data field and ID(s) 2023-08-05 03:02:12 -07:00
comicvine.py Convert ComicIssue into GenericMetadata 2023-08-02 09:00:04 -07:00
filenames.py Add more 4-digit issue number tests 2023-08-04 21:04:21 -07:00