bookshelf.constants#
bookshelf.constants #
Constants
DATA_FORMAT_VERSION = 'v0.3.2' module-attribute #
Version of the data format
This follows the semantic versioning scheme.
DEFAULT_BOOKSHELF = f'https://cr-prod-datasets-bookshelf.s3.us-west-2.amazonaws.com/{DATA_FORMAT_VERSION}' module-attribute #
Default URL for the remote bookshelf
ENV_PREFIX = 'BOOKSHELF_' module-attribute #
Prefix for environment variables
PROCESSED_DATA_DIR = os.path.join(ROOT_DIR, 'data', 'processed', DATA_FORMAT_VERSION) module-attribute #
Default directory for storing outputs
ROOT_DIR = os.path.abspath(Path(__file__).parents[4]) module-attribute #
Root directory of the repository