12 lines
519 B
Python
12 lines
519 B
Python
from pathlib import Path
|
|
|
|
# Resolve data files relative to this package, independent of the working directory
|
|
DATA_DIR = Path(__file__).resolve().parent / "data"
|
|
|
|
DEFAULT_MUSEUM_DATA_SOURCE_URL = "https://en.wikipedia.org/wiki/List_of_most_visited_museums"
|
|
WIKIPEDIA_REST_API_URL_PREFIX = "https://en.wikipedia.org/api/rest_v1/page/html"
|
|
|
|
# csv file downloaded from https://simplemaps.com/data/world-cities
|
|
RAW_POPULATION_DATA_FILE = DATA_DIR / "worldcities.csv"
|
|
MUSEUM_DATA_FILE = DATA_DIR / "updated_museum_data.csv"
|