1

Premiers éléments de l'étude

This commit is contained in:
2025-12-01 21:57:05 +01:00
commit 22b4dae0ba
46 changed files with 2595 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
"""Télécharge le catalogue des thèmes LEGO depuis Rebrickable."""
from pathlib import Path
from lib.rebrickable.downloader import download_rebrickable_file
THEMES_FILE_NAME = "themes.csv.gz"
DESTINATION_DIR = Path("data/raw")
def main() -> None:
"""Lance le téléchargement du fichier des thèmes."""
download_rebrickable_file(THEMES_FILE_NAME, DESTINATION_DIR)
if __name__ == "__main__":
main()