DrTrigon added a comment.
> Note 2: I haven't gone about cacheing the data yet. I'm still thinking about how to do it in a nice way. I'm considering either using the local dir `~/.local` or the temp dir `/tmp`. If I understand you right, you are talking about the color name "cache" file. A few important things to point out here: - these files never change since the color name definition should not change - these file are the main content of the package, the python code just returns the data stored in them - therefore theses files should be considered as "database" not "cache" and have to be contained and packaged with the python code - the functions doing web page parsing are ment to be runed once by a developer just to create a specific database file once (of course updates of the database as part of a new release or manually by an intressted user should be possible but are not a main focus), if a web page go off-line that's fine as we have the database file - thus the web pages are mentioned for transparency and documentation only TASK DETAIL https://phabricator.wikimedia.org/T76211 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: AbdealiJK, DrTrigon Cc: DrTrigon, Aklapper, jayvdb, valhallasw, pywikibot-bugs-list, Anshoe _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
