hyperell_regulator.paths module¶
Cache paths relative to HYPERELL_REGULATOR_DATA or the working directory.
EXAMPLES:
sage: import os
sage: from hyperell_regulator.paths import data_dir, data_path
sage: os.environ["HYPERELL_REGULATOR_DATA"] = tmp_dir()
sage: data_path("lmfdb_cache", "g2c.json").startswith(str(data_dir()))
True