Taxonomy data is included with PyInstaller packages and platform-specific installers, but not with the plain python package on PyPI (to keep package size small). This adds an option to download the missing data:
from naturtag.settings import setup
setup(overwrite=True, download=True)
I may later include this as an option in the CLI and GUI, but need to think about it some more. In particular, whether having the option to download and extract something is a potential security risk. Basically the process is:
Download a ~11MB .tar.gz archive from GitHub
Extract into .csv files
Load .csv files into a SQLite database
No scripts or other executable files are downloaded.
Taxonomy data is included with PyInstaller packages and platform-specific installers, but not with the plain python package on PyPI (to keep package size small). This adds an option to download the missing data:
I may later include this as an option in the CLI and GUI, but need to think about it some more. In particular, whether having the option to download and extract something is a potential security risk. Basically the process is:
.tar.gz
archive from GitHub.csv
files.csv
files into a SQLite databaseNo scripts or other executable files are downloaded.