From 6e173a821ed5327fe0ce83df0552eac1ff926883 Mon Sep 17 00:00:00 2001 From: extreme4all <> Date: Sat, 6 Jun 2026 23:44:28 +0200 Subject: [PATCH 1/5] init data science export --- .gitignore | 3 + development/data_analytics/.python-version | 1 + development/data_analytics/README.md | 0 development/data_analytics/pyproject.toml | 12 + .../scraper_data_v3/database.py | 61 ++++ .../data_analytics/scraper_data_v3/main.py | 148 +++++++++ .../data_analytics/scraper_data_v3/osrs.py | 186 +++++++++++ .../data_analytics/scraper_data_v3/ptime.py | 14 + .../data_analytics/scraper_data_v3/queries.py | 70 ++++ .../scraper_data_v3/settings.py | 10 + development/data_analytics/uv.lock | 301 ++++++++++++++++++ pyproject.toml | 5 + 12 files changed, 811 insertions(+) create mode 100644 development/data_analytics/.python-version create mode 100644 development/data_analytics/README.md create mode 100644 development/data_analytics/pyproject.toml create mode 100644 development/data_analytics/scraper_data_v3/database.py create mode 100644 development/data_analytics/scraper_data_v3/main.py create mode 100644 development/data_analytics/scraper_data_v3/osrs.py create mode 100644 development/data_analytics/scraper_data_v3/ptime.py create mode 100644 development/data_analytics/scraper_data_v3/queries.py create mode 100644 development/data_analytics/scraper_data_v3/settings.py create mode 100644 development/data_analytics/uv.lock diff --git a/.gitignore b/.gitignore index 39b3ebc9..555ceb9e 100644 --- a/.gitignore +++ b/.gitignore @@ -177,3 +177,6 @@ _infra/_minio_data/* !_infra/_minio_data/.gitkeep */*spec*.md /spec/* +development/data_analytics/data/* +*.parquet +sdv3_state.txt \ No newline at end of file diff --git a/development/data_analytics/.python-version b/development/data_analytics/.python-version new file mode 100644 index 00000000..e4fba218 --- /dev/null +++ b/development/data_analytics/.python-version @@ -0,0 +1 @@ +3.12 diff --git a/development/data_analytics/README.md b/development/data_analytics/README.md new file mode 100644 index 00000000..e69de29b diff --git a/development/data_analytics/pyproject.toml b/development/data_analytics/pyproject.toml new file mode 100644 index 00000000..f69018f9 --- /dev/null +++ b/development/data_analytics/pyproject.toml @@ -0,0 +1,12 @@ +[project] +name = "data-analytics" +version = "0.1.0" +description = "Add your description here" +readme = "README.md" +requires-python = ">=3.12" +dependencies = [ + "mysqlclient>=2.2.8", + "polars>=1.41.2", + "pydantic-settings>=2.14.1", + "sqlalchemy>=2.0.50", +] diff --git a/development/data_analytics/scraper_data_v3/database.py b/development/data_analytics/scraper_data_v3/database.py new file mode 100644 index 00000000..1788d2e5 --- /dev/null +++ b/development/data_analytics/scraper_data_v3/database.py @@ -0,0 +1,61 @@ +import polars as pl +import ptime +import queries +from settings import Settings +from sqlalchemy import create_engine, text + +engine = create_engine(url=Settings().database_uri, pool_pre_ping=True) + + +def read_sql(query: str, params: dict) -> pl.DataFrame: + with engine.connect() as connection: + connection.execute(text("SET SESSION wait_timeout = 10;")) + return pl.read_database( + connection=connection, + query=query, + execute_options={"parameters": params}, + ) + + +@ptime._timer +def get_scrape_batch(last_id: int, batch_size: int) -> pl.DataFrame: + return read_sql( + query=queries.SCRAPE_BATCH_SQL, + params={ + "last_id": last_id, + "batch_size": batch_size, + }, + ) + + +@ptime._timer +def get_skill_data(min_id: int, max_id: int) -> pl.DataFrame: + return read_sql( + query=queries.SKILL_RANGE_SQL, + params={ + "min_id": min_id, + "max_id": max_id, + }, + ) + + +@ptime._timer +def get_activity_data(min_id: int, max_id: int) -> pl.DataFrame: + return read_sql( + query=queries.ACTIVITY_RANGE_SQL, + params={ + "min_id": min_id, + "max_id": max_id, + }, + ) + + +@ptime._timer +def get_full_data(min_id: int, max_id: int) -> pl.DataFrame: + return read_sql( + query=queries.FULL_RANGE_SQL, + params={ + "min_id": min_id, + "max_id": max_id, + }, + ) diff --git a/development/data_analytics/scraper_data_v3/main.py b/development/data_analytics/scraper_data_v3/main.py new file mode 100644 index 00000000..be0e8a15 --- /dev/null +++ b/development/data_analytics/scraper_data_v3/main.py @@ -0,0 +1,148 @@ +import time +from dataclasses import dataclass + +import database as db +import polars as pl +import ptime +from osrs import PARQUET_SCHEMA, activity_lookup, skill_lookup +from settings import Settings + +BATCH_SIZE = 5_000 +SAVE_THRESHOLD = 100_000 +STATE_PATH = f"{Settings().base_path}/sdv3_state.txt" + + +def read_state(path: str) -> tuple[int, int]: + try: + with open(path, "r") as f: + line = f.read().strip() + min_id, max_id = map(int, line.split(",")) + return min_id, max_id + except FileNotFoundError: + return 0, 0 + + +def save_state(min_id: int, max_id: int, path: str): + with open(path, "w+") as f: + f.write(f"{min_id},{max_id}") + + +@ptime._timer +def save_parquet(df: pl.DataFrame, path: str): + print(f"\tFinal: {df.shape}, {df.estimated_size()} bytes") + print(f"\tSaving parquet to {path}") + df.write_parquet( + file=path, + compression="zstd", + mkdir=True, + ) + + +@dataclass +class Context: + df: pl.DataFrame + min_id: int + max_id: int + + +def get_context(min_id: int, max_id: int) -> Context: + return Context(df=pl.DataFrame(schema=PARQUET_SCHEMA), min_id=min_id, max_id=max_id) + + +def main_v2(): + _, max_id = read_state(path=STATE_PATH) + context = get_context(min_id=max_id, max_id=max_id) + + while True: + ######################################## + # get batch + ######################################## + scrape_df = db.get_scrape_batch( + last_id=context.max_id, + batch_size=BATCH_SIZE, + ) + if scrape_df.is_empty(): + break + ######################################## + # get batch edges + ######################################## + min_id = scrape_df.select(pl.min("scrape_id")).item() + max_id = scrape_df.select(pl.max("scrape_id")).item() + context.max_id = max_id + ######################################## + # get full data for batch + ######################################## + full_df = db.get_full_data(min_id=min_id, max_id=max_id) + print(f"\tFull data: {full_df.shape}") + ######################################## + # pivot the whole df + ######################################## + full_df = full_df.pivot( + on="_name", + values="_value", + index=["scrape_id", "scrape_date", "player_id", "player_name"], + aggregate_function="min", + ) + + ######################################## + # cleanup column names and verify they are all known + ######################################## + name_map = {} + for c in full_df.iter_columns(): + if c.name in ["scrape_id", "scrape_date", "player_id", "player_name"]: + continue + _error = False + try: + name_map[c.name] = skill_lookup(c.name) + continue + except ValueError: + _error = True + + try: + name_map[c.name] = activity_lookup(c.name) + continue + except ValueError: + _error = True + + if _error: + raise ValueError(f"Unknown column: [{c.name}]") + + full_df = full_df.rename(name_map) + ######################################## + # cast values to UInt32 + ######################################## + full_df = full_df.cast( + { + k: pl.UInt32 + for k in full_df.columns + if k not in ["player_name", "scrape_date"] + } + ) + ######################################## + # merge to df, if column is not in df, add it with null values first to ensure consistent schema + ######################################## + context.df = pl.concat([context.df, full_df], how="diagonal") + print(f"Batch [{min_id} - {max_id}] merged, total rows: {len(context.df)}\n") + if len(context.df) >= SAVE_THRESHOLD: + _min = context.min_id + _max = context.max_id + _t = int(time.time()) + + path = f"{Settings().base_path}/sdv3_{_t}_{_min}_{_max}.parquet" + save_parquet(df=context.df, path=path) + save_state(min_id=_min, max_id=_max, path=STATE_PATH) + context = get_context(min_id=_max, max_id=_max) + + # final save after loop + if len(context.df) > 0: + _min = context.min_id + _max = context.max_id + _t = int(time.time()) + + path = f"{Settings().base_path}/sdv3_{_t}_{_min}_{_max}.parquet" + save_parquet(df=context.df, path=path) + save_state(min_id=_min, max_id=_max, path=STATE_PATH) + + +if __name__ == "__main__": + main_v2() diff --git a/development/data_analytics/scraper_data_v3/osrs.py b/development/data_analytics/scraper_data_v3/osrs.py new file mode 100644 index 00000000..5c60d193 --- /dev/null +++ b/development/data_analytics/scraper_data_v3/osrs.py @@ -0,0 +1,186 @@ +import re +from typing import Any + +import polars as pl + + +def _normalize(name: str) -> str: + name = name.lower().replace("\u2019", "'").replace("'", "") + return re.sub(r"[^a-z0-9]+", "_", name).strip("_") + + +# example https://secure.runescape.com/m=hiscore_oldschool/index_lite.json?player=ferrariic +SKILL_NAMES: list[str] = [ + "Attack", + "Defence", + "Strength", + "Hitpoints", + "Ranged", + "Prayer", + "Magic", + "Cooking", + "Woodcutting", + "Fletching", + "Fishing", + "Firemaking", + "Crafting", + "Smithing", + "Mining", + "Herblore", + "Agility", + "Thieving", + "Slayer", + "Farming", + "Runecraft", + "Hunter", + "Construction", + "Sailing", +] +NORMALIZED_SKILL_NAMES: list[str] = [_normalize(n) for n in SKILL_NAMES] + +ACTIVITY_NAMES: list[str] = [ + "Grid Points", + "League Points", + "Deadman Points", + "Bounty Hunter - Hunter", + "Bounty Hunter - Rogue", + "Bounty Hunter (Legacy) - Hunter", + "Bounty Hunter (Legacy) - Rogue", + "Clue Scrolls (all)", + "Clue Scrolls (beginner)", + "Clue Scrolls (easy)", + "Clue Scrolls (medium)", + "Clue Scrolls (hard)", + "Clue Scrolls (elite)", + "Clue Scrolls (master)", + "LMS - Rank", + "PvP Arena - Rank", + "Soul Wars Zeal", + "Rifts closed", + "Colosseum Glory", + "Collections Logged", + "Abyssal Sire", + "Alchemical Hydra", + "Amoxliatl", + "Araxxor", + "Artio", + "Barrows Chests", + "Brutus", + "Bryophyta", + "Callisto", + "Calvar'ion", + "Cerberus", + "Chambers of Xeric", + "Chambers of Xeric: Challenge Mode", + "Chaos Elemental", + "Chaos Fanatic", + "Commander Zilyana", + "Corporeal Beast", + "Crazy Archaeologist", + "Dagannoth Prime", + "Dagannoth Rex", + "Dagannoth Supreme", + "Deranged Archaeologist", + "Doom of Mokhaiotl", + "Duke Sucellus", + "General Graardor", + "Giant Mole", + "Grotesque Guardians", + "Hespori", + "Kalphite Queen", + "King Black Dragon", + "Kraken", + "Kree'Arra", + "K'ril Tsutsaroth", + "Lunar Chests", + "Mimic", + "Nex", + "Nightmare", + "Phosani's Nightmare", + "Obor", + "Phantom Muspah", + "Sarachnis", + "Scorpia", + "Scurrius", + "Shellbane Gryphon", + "Skotizo", + "Sol Heredit", + "Spindel", + "Tempoross", + "The Gauntlet", + "The Corrupted Gauntlet", + "The Hueycoatl", + "The Leviathan", + "The Royal Titans", + "The Whisperer", + "Theatre of Blood", + "Theatre of Blood: Hard Mode", + "Thermonuclear Smoke Devil", + "Tombs of Amascut", + "Tombs of Amascut: Expert Mode", + "TzKal-Zuk", + "TzTok-Jad", + "Vardorvis", + "Venenatis", + "Vet'ion", + "Vorkath", + "Wintertodt", + "Yama", + "Zalcano", + "Zulrah", +] +NORMALIZED_ACTIVITY_NAMES: list[str] = [_normalize(n) for n in ACTIVITY_NAMES] + + +LOOKUP: dict[str, str] = { + "cs_beginner": "clue_scrolls_beginner", + "cs_easy": "clue_scrolls_easy", + "cs_medium": "clue_scrolls_medium", + "cs_hard": "clue_scrolls_hard", + "cs_master": "clue_scrolls_master", + "cs_elite": "clue_scrolls_elite", + "cs_all": "clue_scrolls_all", + "tombs_of_amascut_expert": "tombs_of_amascut_expert_mode", + "theatre_of_blood_hard": "theatre_of_blood_hard_mode", +} + + +def skill_lookup(col: str) -> str: + col = _normalize(col) + if col in NORMALIZED_SKILL_NAMES: + return col + _col = LOOKUP.get(col, None) + if _col is None: + raise ValueError(f"Unknown skill column: [{col}] => [{_col}]") + if _col not in NORMALIZED_SKILL_NAMES: + raise ValueError(f"Lookup column is not a known skill: [{col}] => [{_col}]") + return _col + + +def activity_lookup(col: str) -> str: + _col = _normalize(col) + if _col in NORMALIZED_ACTIVITY_NAMES: + return _col + _col = LOOKUP.get(_col, None) + if _col is None: + raise ValueError(f"Unknown activity column: [{col}] => [{_col}]") + if _col not in NORMALIZED_ACTIVITY_NAMES: + raise ValueError(f"Lookup column is not a known activity: [{col}] => [{_col}]") + return _col + + +def column_name(canonical: str) -> str: + return _normalize(canonical) + + +def _schema_col(name: str) -> tuple[str, Any]: + return (column_name(name), pl.UInt32()) + + +PARQUET_SCHEMA: dict[str, Any] = { + "player_id": pl.UInt32(), + "player_name": pl.Utf8(), + "scrape_date": pl.Date(), + **dict(_schema_col(n) for n in NORMALIZED_SKILL_NAMES), + **dict(_schema_col(n) for n in NORMALIZED_ACTIVITY_NAMES), +} diff --git a/development/data_analytics/scraper_data_v3/ptime.py b/development/data_analytics/scraper_data_v3/ptime.py new file mode 100644 index 00000000..57c2b3bf --- /dev/null +++ b/development/data_analytics/scraper_data_v3/ptime.py @@ -0,0 +1,14 @@ +import time +from functools import wraps + + +def _timer(func): + @wraps(func) + def wrapper(*args, **kwargs): + start = time.perf_counter() + result = func(*args, **kwargs) + end = time.perf_counter() + print(f"{func.__name__} took {end - start:.3f}s") + return result + + return wrapper diff --git a/development/data_analytics/scraper_data_v3/queries.py b/development/data_analytics/scraper_data_v3/queries.py new file mode 100644 index 00000000..015e044b --- /dev/null +++ b/development/data_analytics/scraper_data_v3/queries.py @@ -0,0 +1,70 @@ +SCRAPE_BATCH_SQL = """ + SELECT sdv.scrape_id, sdv.scrape_date, sdv.player_id, pl.name AS player_name + FROM scraper_data_v3 sdv + JOIN Players pl ON sdv.player_id = pl.id + WHERE sdv.scrape_id > :last_id + ORDER BY sdv.scrape_id ASC + LIMIT :batch_size +""" + + +SKILL_RANGE_SQL = """ + SELECT sps.scrape_id, s.skill_name, ps.skill_value + FROM scraper_player_skill sps + JOIN player_skill ps ON sps.player_skill_id = ps.player_skill_id + JOIN skill s ON ps.skill_id = s.skill_id + WHERE sps.scrape_id BETWEEN :min_id AND :max_id +""" + + +ACTIVITY_RANGE_SQL = """ + SELECT spa.scrape_id, a.activity_name, pa.activity_value + FROM scraper_player_activity spa + JOIN player_activity pa ON spa.player_activity_id = pa.player_activity_id + JOIN activity a ON pa.activity_id = a.activity_id + WHERE spa.scrape_id BETWEEN :min_id AND :max_id +""" + +FULL_RANGE_SQL = """ +SELECT + a.scrape_id, + a.scrape_date, + a.player_id, + a.player_name, + a._name, + a._value, + a._type +FROM ( + SELECT + sdv.scrape_id, + sdv.scrape_date, + sdv.player_id, + pl.name AS player_name, + s.skill_name AS _name, + ps.skill_value AS _value, + 'skill' AS _type + FROM scraper_data_v3 sdv + JOIN Players pl ON sdv.player_id = pl.id + JOIN scraper_player_skill sps ON sdv.scrape_id = sps.scrape_id + JOIN player_skill ps ON sps.player_skill_id = ps.player_skill_id + JOIN skill s ON ps.skill_id = s.skill_id + + UNION ALL + + SELECT + sdv.scrape_id, + sdv.scrape_date, + sdv.player_id, + pl.name AS player_name, + a.activity_name AS _name, + pa.activity_value AS _value, + 'activity' AS _type + FROM scraper_data_v3 sdv + JOIN Players pl ON sdv.player_id = pl.id + JOIN scraper_player_activity spa ON sdv.scrape_id = spa.scrape_id + JOIN player_activity pa ON spa.player_activity_id = pa.player_activity_id + JOIN activity a ON pa.activity_id = a.activity_id +) a +WHERE a.scrape_id BETWEEN :min_id AND :max_id +ORDER BY a.scrape_id, _type, _name; +""" diff --git a/development/data_analytics/scraper_data_v3/settings.py b/development/data_analytics/scraper_data_v3/settings.py new file mode 100644 index 00000000..c2260f89 --- /dev/null +++ b/development/data_analytics/scraper_data_v3/settings.py @@ -0,0 +1,10 @@ +from pydantic import Field +from pydantic_settings import BaseSettings + + +class Settings(BaseSettings): + database_uri: str = Field(default=...) + base_path: str = Field(default=...) + + class Config: + env_file = ".env" diff --git a/development/data_analytics/uv.lock b/development/data_analytics/uv.lock new file mode 100644 index 00000000..d8a791e3 --- /dev/null +++ b/development/data_analytics/uv.lock @@ -0,0 +1,301 @@ +version = 1 +revision = 3 +requires-python = ">=3.12" + +[[package]] +name = "annotated-types" +version = "0.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89", size = 16081, upload-time = "2024-05-20T21:33:25.928Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643, upload-time = "2024-05-20T21:33:24.1Z" }, +] + +[[package]] +name = "data-analytics" +version = "0.1.0" +source = { virtual = "." } +dependencies = [ + { name = "mysqlclient" }, + { name = "polars" }, + { name = "pydantic-settings" }, + { name = "sqlalchemy" }, +] + +[package.metadata] +requires-dist = [ + { name = "mysqlclient", specifier = ">=2.2.8" }, + { name = "polars", specifier = ">=1.41.2" }, + { name = "pydantic-settings", specifier = ">=2.14.1" }, + { name = "sqlalchemy", specifier = ">=2.0.50" }, +] + +[[package]] +name = "greenlet" +version = "3.5.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/6d/6e/802acd792aebb2256fbbee8cacf2727faaeb6f240ac11008f09eae4414bc/greenlet-3.5.1.tar.gz", hash = "sha256:5a56aeb7d5d9cc4b3a735efb5095bd4b4f6f0e4f93e5ca876d0e2315137b7829", size = 197356, upload-time = "2026-05-20T15:05:03.917Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c4/37/4549f149c9797c21b32c2683c33522af22522099de128b2406672526d005/greenlet-3.5.1-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:fa4f98af3a528f0c3fd592a26df7f376f93329c8f4d987f6bb979057af8bf5e2", size = 286220, upload-time = "2026-05-20T13:07:28.463Z" }, + { url = "https://files.pythonhosted.org/packages/38/ff/a4f436709716965eaab9f36ea7b906c8a927fbe32fb1372a2071d964f6b1/greenlet-3.5.1-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ffea73584b216150eab159b6d12348fb253e68757974de1e2c40d8a318ac89ed", size = 601585, upload-time = "2026-05-20T14:00:06.141Z" }, + { url = "https://files.pythonhosted.org/packages/65/ad/54bc3fcee3ad368a61b19b67d88117f7a8c29727bf71fffdeda81fbd946e/greenlet-3.5.1-cp312-cp312-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1072b4f9edcc1e192d9283a66a3e68d6b84c561de33a83d7858beb9ba1effe10", size = 614215, upload-time = "2026-05-20T14:05:42.675Z" }, + { url = "https://files.pythonhosted.org/packages/40/69/b91cda0647df839483201545913514c2827ebea5e5ccdf931842763bc127/greenlet-3.5.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:add5217d68b31130f0beca584d7fef4878327d2e31642b66618a14eef312b63b", size = 611358, upload-time = "2026-05-20T13:14:26.37Z" }, + { url = "https://files.pythonhosted.org/packages/59/90/3cf77e080350cd02fa307bb2abf05df48f4482c240275bbd2c203ba8bb1c/greenlet-3.5.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:a5ea42a752d47a145eae922b605cd1634665ac3d5ec1e72402d5048e8d60d207", size = 1570475, upload-time = "2026-05-20T14:02:25.29Z" }, + { url = "https://files.pythonhosted.org/packages/65/2c/18cece62045e74598c3c393f70dce4a63f56222015ba29a5d4eeb04f764c/greenlet-3.5.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c5551170cf4f5ff5623e9af81323751979fee2c731e2287b61f73cd27257b823", size = 1635625, upload-time = "2026-05-20T13:14:34.027Z" }, + { url = "https://files.pythonhosted.org/packages/30/f5/310d104ddf41eb5a70f4c268d22508dfb0c3c8e86fec152be34d0d2ed819/greenlet-3.5.1-cp312-cp312-win_amd64.whl", hash = "sha256:3c8bb982ad117d29478ef8f5533e97df21f1e2befd17a299257b0c96d1371c0b", size = 238791, upload-time = "2026-05-20T13:10:39.018Z" }, + { url = "https://files.pythonhosted.org/packages/62/90/ceca11f504cd23a8047a3dea31919adc48df9b626dd0c13f0d858734fdfd/greenlet-3.5.1-cp312-cp312-win_arm64.whl", hash = "sha256:80eb4b04dadc4e67df3fae179a32c4706a3f495bc7f22fc8a81115d5f5512188", size = 235580, upload-time = "2026-05-20T13:08:45.056Z" }, + { url = "https://files.pythonhosted.org/packages/27/69/7f7e5372d998b81001899b1c0823c957aa413ba0f2662e65821611cc31e4/greenlet-3.5.1-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:51518ff74664078fc51bffcc6fc529b0df5ae58da192691cee765d45ce944a2b", size = 285060, upload-time = "2026-05-20T13:08:51.899Z" }, + { url = "https://files.pythonhosted.org/packages/b1/bf/387f9b6b865fd2ae0d0be09e0004827295a01b71be76ed350dd1e28a91a4/greenlet-3.5.1-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1ffdb3c0bb002c99cd8f298957e046c3dbf6006b5b7cdf11a4e19194624a0a0a", size = 604370, upload-time = "2026-05-20T14:00:07.492Z" }, + { url = "https://files.pythonhosted.org/packages/32/f5/169ce3d4e4c67291bd18f8cbe0299c9f3e45102c7f1fb3c14780c93e4532/greenlet-3.5.1-cp313-cp313-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7715a5a2c3378ba602c3a440558261e13a820bb53a82693aacd7b7f6d964e283", size = 616987, upload-time = "2026-05-20T14:05:44.237Z" }, + { url = "https://files.pythonhosted.org/packages/ee/e5/7f2e41d5273be07e77560d61ea4e56485b4d6c316d2a84518c62d1364061/greenlet-3.5.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:dc71ff466927a201b08305acac451ebe1aedfcea002f62f1f2f2ac2ac1e6a135", size = 613911, upload-time = "2026-05-20T13:14:27.539Z" }, + { url = "https://files.pythonhosted.org/packages/c5/a4/fbdc67579b73615a1f91615e814303cc71e06128f7baaba87be79b8fb90c/greenlet-3.5.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:cd443683db272ebaaca03af98c0b063ab30db70ea8a31a1559f35e3f7b744ccd", size = 1570689, upload-time = "2026-05-20T14:02:27.225Z" }, + { url = "https://files.pythonhosted.org/packages/e6/b4/77abbe35078be39718a46cd49caf16bceb35662f97a34101dca28aa98e47/greenlet-3.5.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:089fff7a6ce8d9316d1f65ebc00273a56be258c1725b32b94de90a3a979557e1", size = 1635602, upload-time = "2026-05-20T13:14:36.344Z" }, + { url = "https://files.pythonhosted.org/packages/37/f7/129f27ca700845b8ee8ca88ce7f43435a1239c2eddb7677fc938822762cf/greenlet-3.5.1-cp313-cp313-win_amd64.whl", hash = "sha256:110a1ca7b49b014b097f6078272c3f4ed31af45b254de5228b79adba879f6af9", size = 238683, upload-time = "2026-05-20T13:11:50.57Z" }, + { url = "https://files.pythonhosted.org/packages/6d/5c/a485a36e87df8d8fd0632ee01511244f5156a20ed3746cc6599340326395/greenlet-3.5.1-cp313-cp313-win_arm64.whl", hash = "sha256:f16ba1efc0715b680a18b8123d90dad887c6112ae3555b4b5c32c149540c6b4e", size = 235499, upload-time = "2026-05-20T13:12:42.028Z" }, + { url = "https://files.pythonhosted.org/packages/8a/cb/c62454606daf5640369c94d8a9dd540599b1bfc090e2d2180cb77f4038d2/greenlet-3.5.1-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:d8ab31c9de8651a2facdd5c5bb0011f2380dd1a7af78ce2adf4b56095294fc07", size = 285579, upload-time = "2026-05-20T13:08:56.396Z" }, + { url = "https://files.pythonhosted.org/packages/ec/71/c4270398c2eba968a6071af1dfbdcaeee6ec1c24bc8b435b8cc452700da6/greenlet-3.5.1-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5e300185139abc337ade480c327183adf42a875ac7181bfe66d7d4efea31fbea", size = 651106, upload-time = "2026-05-20T14:00:09.448Z" }, + { url = "https://files.pythonhosted.org/packages/1a/ab/71e34b78a44ec271fb5f550c17bc46d301ddc5953890d935f270b0dcdb5a/greenlet-3.5.1-cp314-cp314-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7ffdb990dcaa0234cf9845aead5df2e3c3a8b6507d409274dd87e0d5ab05ffc2", size = 663478, upload-time = "2026-05-20T14:05:45.88Z" }, + { url = "https://files.pythonhosted.org/packages/77/96/4efd6fa5c62c85426a0c19077a586258ebc3a2a146ff2493e4312a697a22/greenlet-3.5.1-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2f82b3597e9d83b63408affed0b48fd0f54935edac4302237b9a837be0dae33c", size = 660800, upload-time = "2026-05-20T13:14:29.129Z" }, + { url = "https://files.pythonhosted.org/packages/7a/e0/6c71401a25cac7000261304e866a2f2cc04dc74810d40e2f118aa4799495/greenlet-3.5.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c0141e37414c10164e702b8fb1473304221ad98f71600850c6ef7ff4880feba0", size = 1617518, upload-time = "2026-05-20T14:02:28.662Z" }, + { url = "https://files.pythonhosted.org/packages/41/26/c5c06643e8c0af9e7bf18e16cb51d0ab7625155f0392e1c9015d66d556cd/greenlet-3.5.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:50ae25a67bea74ea41fb14b960bc532df73eb713417b2d61892dced82fe8d3bc", size = 1681593, upload-time = "2026-05-20T13:14:39.417Z" }, + { url = "https://files.pythonhosted.org/packages/8a/bd/e11a108317485075e68af9d23039619b86b28130c3b50d227d42edece64b/greenlet-3.5.1-cp314-cp314-win_amd64.whl", hash = "sha256:8a17c42330e261299766b75ac1ea32caa437a9453c8f65d16a13140db378ecd3", size = 239800, upload-time = "2026-05-20T13:09:30.128Z" }, + { url = "https://files.pythonhosted.org/packages/47/f8/8e8e8417b7bf28639a5a56356ef934d0375e1d0c70a57e04d7701e870ffe/greenlet-3.5.1-cp314-cp314-win_arm64.whl", hash = "sha256:7b5f5fae05b8ac6d176a61b60c394a8cbdc2b5b91b81793066e68745cf165e54", size = 236862, upload-time = "2026-05-20T13:09:10.498Z" }, + { url = "https://files.pythonhosted.org/packages/90/12/41bf27fde4d3605d3773ae57751eda182b8be2f5398011c041173b1d9534/greenlet-3.5.1-cp314-cp314t-macosx_11_0_universal2.whl", hash = "sha256:ea8da1e900d758d078810d4255d8c6aa572181896a31ec79d779eb79c3adc9ad", size = 293637, upload-time = "2026-05-20T13:12:35.529Z" }, + { url = "https://files.pythonhosted.org/packages/44/44/ba14b23e9757707050c2f397d305bbcae62e5d7cad122f8b6baec5ae4a1f/greenlet-3.5.1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a19570c52a21420dcbc94e661994bc325c0b5b11304540fed514586da5dc8f2e", size = 650840, upload-time = "2026-05-20T14:00:11.079Z" }, + { url = "https://files.pythonhosted.org/packages/a8/37/5ddc2b686a6844f91abecef43411842426da2e1573f60b49ecf2547f4ae1/greenlet-3.5.1-cp314-cp314t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:3d955c89b75eeca4723d7cc14135f393cd47c32e2a6cb4a8e4c6e760a26b0986", size = 656416, upload-time = "2026-05-20T14:05:47.118Z" }, + { url = "https://files.pythonhosted.org/packages/e1/f0/d17510297c35a2992712f0bf84de3779749999f7d3d63aa1f09db7c62dbe/greenlet-3.5.1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:de2daaaebd1a5aa88c49045b6baf9310b3263796bd88db713edf37cf53e7bb4e", size = 654397, upload-time = "2026-05-20T13:14:30.696Z" }, + { url = "https://files.pythonhosted.org/packages/37/eb/147387705bb89092645b012586e7273cb5ed3c90ef7eaf3a69173eaf0209/greenlet-3.5.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:3bfbd69cc349e43bf3a8ae1c85548ff0718efc887615c2db16c3833d7b0b072d", size = 1614469, upload-time = "2026-05-20T14:02:30.192Z" }, + { url = "https://files.pythonhosted.org/packages/a6/4e/37ee0da7732b7aa9896f17e15579a9df34b9fcb9dd494f0adfa749af6623/greenlet-3.5.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:4378720dd888136c27215a0214d32a4d37c3852765d45bc37aad0623423cfd78", size = 1675115, upload-time = "2026-05-20T13:14:40.972Z" }, + { url = "https://files.pythonhosted.org/packages/57/f3/97dfcf4a6eb5077f8a672234216fb5923eb89f2cab7081cb10b2cf75b605/greenlet-3.5.1-cp314-cp314t-win_amd64.whl", hash = "sha256:45718441607f9325d948db98cbc691276059316d0358c188c246da4e1d4d23d2", size = 245246, upload-time = "2026-05-20T13:12:22.646Z" }, + { url = "https://files.pythonhosted.org/packages/5d/73/d7f72e34b582f694f4a9b248162db7b09cc458a259ba8f0c0bfa1a34ea7d/greenlet-3.5.1-cp315-cp315-macosx_11_0_universal2.whl", hash = "sha256:2baee5ca02031757ffe8cc3d69f0cc0aec7065ce362622da74f32d3bcab1c541", size = 285575, upload-time = "2026-05-20T13:12:07.043Z" }, + { url = "https://files.pythonhosted.org/packages/df/59/fa9c6e87dc8ad27a95dabe2f29f372b733d05a8a67470f6c901ed9975655/greenlet-3.5.1-cp315-cp315-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9b1ec3274918a81d3ea778b9e75b56b72b33f300edb6cf7f3a7fe1dae56683de", size = 656428, upload-time = "2026-05-20T14:00:12.556Z" }, + { url = "https://files.pythonhosted.org/packages/f6/f9/e753408871eaa61dfe35e619cfc67512b036fde99893685d50eea9e07146/greenlet-3.5.1-cp315-cp315-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:111e2390ffffc47d5840b01711dd7fac07d4c09283d0283e7f3264b14e284c64", size = 667064, upload-time = "2026-05-20T14:05:48.662Z" }, + { url = "https://files.pythonhosted.org/packages/96/27/5565b5b40389f1c7753003a07e21892fda8660926787036d5bc0308b8113/greenlet-3.5.1-cp315-cp315-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e630136e905fe5ff43e86945ae41220b6d1470956a39220e708110ac48d01ea5", size = 665697, upload-time = "2026-05-20T13:14:32.943Z" }, + { url = "https://files.pythonhosted.org/packages/cf/82/e7de4178c0c2d1c9a5a3be3cc0b33e46a85b3ee4a77c071bf7ad8600e079/greenlet-3.5.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:975eac34b44a7077ca4d421348455b94f0f518246a7f14bc6d2fdcfe5b584368", size = 1621256, upload-time = "2026-05-20T14:02:31.91Z" }, + { url = "https://files.pythonhosted.org/packages/00/10/f2dddcf7dacac17dfc68691809589adad06135eb28930429cf58a6467a2f/greenlet-3.5.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:9ab3c3a0b2ae6198e67c898dad5215a49f9ae0d0081b3c3ec59f333e39eeca26", size = 1685956, upload-time = "2026-05-20T13:14:42.55Z" }, + { url = "https://files.pythonhosted.org/packages/22/17/4a232b32133230ada52f70e9d7f5b65b0caef8772f01849bd8d149e7e4ca/greenlet-3.5.1-cp315-cp315-win_amd64.whl", hash = "sha256:cbfc69be86e10dcfef5b1e6269d1d6926552aa89ee39e1de3353360c1b6989ab", size = 239802, upload-time = "2026-05-20T13:13:15.481Z" }, + { url = "https://files.pythonhosted.org/packages/c2/ae/4e623a7e6d4d2a5f4cb8e4c82de4169fc637942caae68d6e676b8a128ac5/greenlet-3.5.1-cp315-cp315-win_arm64.whl", hash = "sha256:92fd6d44ac5e5a887c8a5dc4a8ba0ba908527c31c12f78c6bc7dcfe8aab279f6", size = 236853, upload-time = "2026-05-20T13:15:37.301Z" }, + { url = "https://files.pythonhosted.org/packages/7a/57/816d9cff29119da3505b3d6a5e14a8af89006ac36f47f891ff293ee05af1/greenlet-3.5.1-cp315-cp315t-macosx_11_0_universal2.whl", hash = "sha256:a6fdf2433a5441ef9a95464f7c3e674775da1c8c1177fff311cee1acad4626ed", size = 293877, upload-time = "2026-05-20T13:10:19.078Z" }, + { url = "https://files.pythonhosted.org/packages/23/a1/59b0a7c7d140ff1a75626680b9a9899b79a9176cab298b394968fb023295/greenlet-3.5.1-cp315-cp315t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7546556f0d649f99f6a361098a55f761181bb2ea12ff150bb16d26092ad88244", size = 655333, upload-time = "2026-05-20T14:00:14.758Z" }, + { url = "https://files.pythonhosted.org/packages/72/1b/5efe127597625042218939d01855109f352779050768b670b52edcc16a6c/greenlet-3.5.1-cp315-cp315t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:d5ee3ea898009fa898f85f9982255d35278c477bebe185beca249cab42d4526c", size = 659443, upload-time = "2026-05-20T14:05:50.159Z" }, + { url = "https://files.pythonhosted.org/packages/6c/6d/c404246ea4d22d097a7426d0efb5b781bd7eb67715f09e79001bd552ab18/greenlet-3.5.1-cp315-cp315t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a5c81f74d204d3edd136ebfd50dce53acbb776995d721a0fe801626cfc93b8cd", size = 658356, upload-time = "2026-05-20T13:14:35.091Z" }, + { url = "https://files.pythonhosted.org/packages/51/02/f8ee37fb6d2219329f350af241c27fcf12df57e723d11f6fc6d3bacdadaa/greenlet-3.5.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:2c18ef16bf6d4dd410e4dd52996888ea1497be26892fe5bbc73580aba4287b8e", size = 1619216, upload-time = "2026-05-20T14:02:33.403Z" }, + { url = "https://files.pythonhosted.org/packages/93/c5/3dc9475ace2c7a3680da12372cddd7f1ac874eb410a1ac48d3e9dab83782/greenlet-3.5.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:17d86354f0ae6b61bf9be5148d0dd34e06c3cb7c602c671f79f29ac3b150e659", size = 1678427, upload-time = "2026-05-20T13:14:43.71Z" }, + { url = "https://files.pythonhosted.org/packages/df/4e/750c15c317a41ffb36f0bf40b933e3d744a7dede61889f74443ea69690cf/greenlet-3.5.1-cp315-cp315t-win_amd64.whl", hash = "sha256:e7516cf6ae6b8a582c2770a0caed47b8a48373ed732c33d69a72913ae6ac923e", size = 245225, upload-time = "2026-05-20T13:13:59.366Z" }, + { url = "https://files.pythonhosted.org/packages/4f/fd/d3baea2eeb7b617efd47e87ca06e2ec2c6118d303aa9e918e0ce16eadc10/greenlet-3.5.1-cp315-cp315t-win_arm64.whl", hash = "sha256:5028648bf2253ec4745add746129d3904121fa7fe871a76bed23c5720573ce0a", size = 239590, upload-time = "2026-05-20T13:13:37.382Z" }, +] + +[[package]] +name = "mysqlclient" +version = "2.2.8" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/eb/b0/9df076488cb2e536d40ce6dbd4273c1f20a386e31ffe6e7cb613902b3c2a/mysqlclient-2.2.8.tar.gz", hash = "sha256:8ed20c5615a915da451bb308c7d0306648a4fd9a2809ba95c992690006306199", size = 92287, upload-time = "2026-02-10T10:58:37.405Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/db/1f/7d6b3fbfc8a317805fdb8bbfbc23af99f2090497090e82513daf491a29ce/mysqlclient-2.2.8-cp312-cp312-win_amd64.whl", hash = "sha256:000c7ec3d11e7c411db832e4cfcd7f05db47464326381f5d5ae991b4bb572f93", size = 207171, upload-time = "2026-02-10T10:58:39.827Z" }, + { url = "https://files.pythonhosted.org/packages/e6/d5/76e369b0fdccd2eb9ed7d890e4e3e23aa1344fea62f0180d7f1574285e54/mysqlclient-2.2.8-cp313-cp313-win_amd64.whl", hash = "sha256:a81f5e12f8d05439709cb02fba97f9f76d1a6c528164f2260d8798fec969e300", size = 207158, upload-time = "2026-02-10T10:58:38.663Z" }, + { url = "https://files.pythonhosted.org/packages/42/44/6ae21b4e8490eb5167d04fa7452c462ffd72a502b96bf531477ef044a380/mysqlclient-2.2.8-cp314-cp314-win_amd64.whl", hash = "sha256:9bed7c8d3b629bdc09e17fb628d5b3b0a5fd1f12b09432b464b9126c727bedc0", size = 211644, upload-time = "2026-02-10T10:58:45.022Z" }, + { url = "https://files.pythonhosted.org/packages/66/e5/037d55623be9f681236e04abe12e1290847c06bd48270c3f19ac33493cbf/mysqlclient-2.2.8-cp314-cp314t-win_amd64.whl", hash = "sha256:260cce0e81446c83bf0a389e0fae38d68547d9f8fc0833bc733014e10ce28a99", size = 213067, upload-time = "2026-02-10T10:58:43.389Z" }, +] + +[[package]] +name = "polars" +version = "1.41.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "polars-runtime-32" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ff/f9/aeda46259b0669247a160315d2d51269de9504b9dd2f70acadbcb22f46b7/polars-1.41.2.tar.gz", hash = "sha256:256d6731162371b77f3f29a55eacb8c0fc740ddb1a293a01d2ef5b5393c5c708", size = 737996, upload-time = "2026-05-29T17:39:15.604Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1f/22/28f62d24f7db56ac4343588f9362d49b7b4177e55ac47a466fe696b0099b/polars-1.41.2-py3-none-any.whl", hash = "sha256:23ce9a2910b6e3e8d4258770bf44aa17170958df7af6e85feedf4458a04d8d29", size = 833445, upload-time = "2026-05-29T17:37:05.576Z" }, +] + +[[package]] +name = "polars-runtime-32" +version = "1.41.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f9/56/54e3ea0e9b64f327179049e4742241cc6b1d3e8fa414b05a057dd26df367/polars_runtime_32-1.41.2.tar.gz", hash = "sha256:7af09ec1ab053da2c9669e8d15f809a4083a29be05db57111688b8051062af56", size = 2989474, upload-time = "2026-05-29T17:39:17.257Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d6/9b/fe72a3811c0357cdb06c67bdc7695fa1623ad47948fc523195f5ac31037f/polars_runtime_32-1.41.2-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:95a08346dac337357cdb825c8076df7d36da54c4caa59a5cb41d0a30691c5edd", size = 52265283, upload-time = "2026-05-29T17:37:09.407Z" }, + { url = "https://files.pythonhosted.org/packages/0a/93/fab9da803fd80d9e83ef88c20932f637a10bc611b20415fc322eec84bc44/polars_runtime_32-1.41.2-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:dedfaeec2c7f995298da7319dd9431d662e5dd1d0ec51b1459df4a0234ceff52", size = 46571222, upload-time = "2026-05-29T17:37:13.698Z" }, + { url = "https://files.pythonhosted.org/packages/c8/2a/8843f34a8ac57acd058a39b87b03b580dd352a490e9dae0415e02033bdd4/polars_runtime_32-1.41.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:18eea22c5cc34e27f8a60950458ad81e6a9ea75e89363ca1367e14e7e7f781fc", size = 50409372, upload-time = "2026-05-29T17:37:17.875Z" }, + { url = "https://files.pythonhosted.org/packages/6c/c6/92b352fe88cf51bd0a19fb99e1c0cbe46aa26c14dcf7995b89869cd932ae/polars_runtime_32-1.41.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2630540dfdfb0f36f9b04a07c7c2e3f50bf2ad384113263c1c812007ee9141e0", size = 56405484, upload-time = "2026-05-29T17:37:22.684Z" }, + { url = "https://files.pythonhosted.org/packages/74/c4/bae3174c3b02f6b441d2e58594387abcd509f67a098f682a83b195f08966/polars_runtime_32-1.41.2-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:20e969e08f9b137e233c04cc04de73d9795f89eb77d34854e40a025965a43763", size = 50603512, upload-time = "2026-05-29T17:37:27.422Z" }, + { url = "https://files.pythonhosted.org/packages/f4/ed/f2d26ae02d92c2689056838ed59e2a626326ad23c2831d58637d25f6c82a/polars_runtime_32-1.41.2-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:e7016a3deb641b64a31447abbbee0f34bd020a6a9ae34ee6b743837def15e2a4", size = 54328561, upload-time = "2026-05-29T17:37:32.587Z" }, + { url = "https://files.pythonhosted.org/packages/9b/c4/9c3831cc885dc7769e59abf8f583821a5fb4403fd0e4eba0ccc6d47a3d4b/polars_runtime_32-1.41.2-cp310-abi3-win_amd64.whl", hash = "sha256:1e5e5377c315e0dcafdfb2a31adc546abbaeb3f9cb1864e6536523d2af473265", size = 51978643, upload-time = "2026-05-29T17:37:37.443Z" }, + { url = "https://files.pythonhosted.org/packages/cd/c6/79e9f3f270270d7ed5575d92b7bfef49f01abd9275447161275b23b553a8/polars_runtime_32-1.41.2-cp310-abi3-win_arm64.whl", hash = "sha256:843d96f69d18eca53429c1198e58891db7f18111f83b9c419bb45ad9d73eaed5", size = 46006901, upload-time = "2026-05-29T17:37:42.522Z" }, +] + +[[package]] +name = "pydantic" +version = "2.13.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "annotated-types" }, + { name = "pydantic-core" }, + { name = "typing-extensions" }, + { name = "typing-inspection" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/18/a5/b60d21ac674192f8ab0ba4e9fd860690f9b4a6e51ca5df118733b487d8d6/pydantic-2.13.4.tar.gz", hash = "sha256:c40756b57adaa8b1efeeced5c196f3f3b7c435f90e84ea7f443901bec8099ef6", size = 844775, upload-time = "2026-05-06T13:43:05.343Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fd/7b/122376b1fd3c62c1ed9dc80c931ace4844b3c55407b6fb2d199377c9736f/pydantic-2.13.4-py3-none-any.whl", hash = "sha256:45a282cde31d808236fd7ea9d919b128653c8b38b393d1c4ab335c62924d9aba", size = 472262, upload-time = "2026-05-06T13:43:02.641Z" }, +] + +[[package]] +name = "pydantic-core" +version = "2.46.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9d/56/921726b776ace8d8f5db44c4ef961006580d91dc52b803c489fafd1aa249/pydantic_core-2.46.4.tar.gz", hash = "sha256:62f875393d7f270851f20523dd2e29f082bcc82292d66db2b64ea71f64b6e1c1", size = 471464, upload-time = "2026-05-06T13:37:06.98Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ce/8c/af022f0af448d7747c5154288d46b5f2bc5f17366eaa0e23e9aa04d59f3b/pydantic_core-2.46.4-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:3245406455a5d98187ec35530fd772b1d799b26667980872c8d4614991e2c4a2", size = 2106158, upload-time = "2026-05-06T13:38:57.215Z" }, + { url = "https://files.pythonhosted.org/packages/19/95/6195171e385007300f0f5574592e467c568becce2d937a0b6804f218bc49/pydantic_core-2.46.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:962ccbab7b642487b1d8b7df90ef677e03134cf1fd8880bf698649b22a69371f", size = 1951724, upload-time = "2026-05-06T13:37:02.697Z" }, + { url = "https://files.pythonhosted.org/packages/8e/bc/f47d1ff9cbb1620e1b5b697eef06010035735f07820180e74178226b27b3/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8233f2947cf85404441fd7e0085f53b10c93e0ee78611099b5c7237e36aacbf7", size = 1975742, upload-time = "2026-05-06T13:37:09.448Z" }, + { url = "https://files.pythonhosted.org/packages/5b/11/9b9a5b0306345664a2da6410877af6e8082481b5884b3ddd78d47c6013ce/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3a233125ac121aa3ffba9a2b59edfc4a985a76092dc8279586ab4b71390875e7", size = 2052418, upload-time = "2026-05-06T13:37:38.234Z" }, + { url = "https://files.pythonhosted.org/packages/f1/b7/a65fec226f5d78fc39f4a13c4cc0c768c22b113438f60c14adc9d2865038/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5b712b53160b79a5850310b912a5ef8e57e56947c8ad690c227f5c9d7e561712", size = 2232274, upload-time = "2026-05-06T13:38:27.753Z" }, + { url = "https://files.pythonhosted.org/packages/68/f0/92039db98b907ef49269a8271f67db9cb78ae2fc68062ef7e4e77adb5f61/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9401557acd873c3a7f3eb9383edef8ac4968f9510e340f4808d427e75667e7b4", size = 2309940, upload-time = "2026-05-06T13:38:05.353Z" }, + { url = "https://files.pythonhosted.org/packages/5f/97/2aab507d3d00ca626e8e57c1eac6a79e4e5fbcc63eb99733ff55d1717f65/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:926c9541b14b12b1681dca8a0b75feb510b06c6341b70a8e500c2fdcff837cce", size = 2094516, upload-time = "2026-05-06T13:39:10.577Z" }, + { url = "https://files.pythonhosted.org/packages/22/37/a8aca44d40d737dde2bc05b3c6c07dff0de07ce6f82e9f3167aeaf4d5dea/pydantic_core-2.46.4-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:56cb4851bcaf3d117eddcef4fe66afd750a50274b0da8e22be256d10e5611987", size = 2136854, upload-time = "2026-05-06T13:40:22.59Z" }, + { url = "https://files.pythonhosted.org/packages/24/99/fcef1b79238c06a8cbec70819ac722ba76e02bc8ada9b0fd66eba40da01b/pydantic_core-2.46.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c68fcd102d71ea85c5b2dfac3f4f8476eff42a9e078fd5faefff6d145063536b", size = 2180306, upload-time = "2026-05-06T13:40:10.666Z" }, + { url = "https://files.pythonhosted.org/packages/ae/6c/fc44000918855b42779d007ae63b0532794739027b2f417321cddbc44f6a/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:b2f69dec1725e79a012d920df1707de5caf7ed5e08f3be4435e25803efc47458", size = 2190044, upload-time = "2026-05-06T13:40:43.231Z" }, + { url = "https://files.pythonhosted.org/packages/6b/65/d9cadc9f1920d7a127ad2edba16c1db7916e59719285cd6c94600b0080ba/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:8d0820e8192167f80d88d64038e609c31452eeca865b4e1d9950a27a4609b00b", size = 2329133, upload-time = "2026-05-06T13:39:57.365Z" }, + { url = "https://files.pythonhosted.org/packages/d0/cf/c873d91679f3a30bcf5e7ac280ce5573483e72295307685120d0d5ad3416/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:fbdb89b3e1c94a30cc5edfce477c6e6a5dc4d8f84665b455c27582f211a1c72c", size = 2374464, upload-time = "2026-05-06T13:38:06.976Z" }, + { url = "https://files.pythonhosted.org/packages/47/bd/6f2fc8188f31bf10590f1e98e7b306336161fac930a8c514cd7bd828c7dc/pydantic_core-2.46.4-cp312-cp312-win32.whl", hash = "sha256:9aa768456404a8bf48a4406685ac2bec8e72b62c69313734fa3b73cf33b3a894", size = 1974823, upload-time = "2026-05-06T13:40:47.985Z" }, + { url = "https://files.pythonhosted.org/packages/40/8c/985c1d41ea1107c2534abd9870e4ed5c8e7669b5c308297835c001e7a1c4/pydantic_core-2.46.4-cp312-cp312-win_amd64.whl", hash = "sha256:e9c26f834c65f5752f3f06cb08cb86a913ceb7274d0db6e267808a708b46bc89", size = 2072919, upload-time = "2026-05-06T13:39:21.153Z" }, + { url = "https://files.pythonhosted.org/packages/c4/ba/f463d006e0c47373ca7ec5e1a261c59dc01ef4d62b2657af925fb0deee3a/pydantic_core-2.46.4-cp312-cp312-win_arm64.whl", hash = "sha256:4fc73cb559bdb54b1134a706a2802a4cddd27a0633f5abb7e53056268751ac6a", size = 2027604, upload-time = "2026-05-06T13:39:03.753Z" }, + { url = "https://files.pythonhosted.org/packages/51/a2/5d30b469c5267a17b39dec53208222f76a8d351dfac4af661888c5aee77d/pydantic_core-2.46.4-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:5d5902252db0d3cedf8d4a1bc68f70eeb430f7e4c7104c8c476753519b423008", size = 2106306, upload-time = "2026-05-06T13:37:48.029Z" }, + { url = "https://files.pythonhosted.org/packages/c1/81/4fa520eaffa8bd7d1525e644cd6d39e7d60b1592bc5b516693c7340b50f1/pydantic_core-2.46.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:c94f0688e7b8d0a67abf40e57a7eaaecd17cc9586706a31b76c031f63df052b4", size = 1951906, upload-time = "2026-05-06T13:37:17.012Z" }, + { url = "https://files.pythonhosted.org/packages/03/d5/fd02da45b659668b05923b17ba3a0100a0a3d5541e3bd8fcc4ecb711309e/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f027324c56cd5406ca49c124b0db10e56c69064fec039acc571c29020cc87c76", size = 1976802, upload-time = "2026-05-06T13:37:35.113Z" }, + { url = "https://files.pythonhosted.org/packages/21/f2/95727e1368be3d3ed485eaab7adbd7dda408f33f7a36e8b48e0144002b91/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e739fee756ba1010f8bcccb534252e85a35fe45ae92c295a06059ce58b74ccd3", size = 2052446, upload-time = "2026-05-06T13:37:12.313Z" }, + { url = "https://files.pythonhosted.org/packages/9c/86/5d99feea3f77c7234b8718075b23db11532773c1a0dbd9b9490215dc2eeb/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9d56801be94b86a9da183e5f3766e6310752b99ff647e38b09a9500d88e46e76", size = 2232757, upload-time = "2026-05-06T13:39:01.149Z" }, + { url = "https://files.pythonhosted.org/packages/d2/3a/508ac615935ef7588cf6d9e9b91309fdc2da751af865e02a9098de88258c/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2412e734dcb48da14d4e4006b82b46b74f2518b8a26ee7e58c6844a6cd6d03c4", size = 2309275, upload-time = "2026-05-06T13:37:41.406Z" }, + { url = "https://files.pythonhosted.org/packages/07/f8/41db9de19d7987d6b04715a02b3b40aea467000275d9d758ffaa31af7d50/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9551187363ffc0de2a00b2e47c25aeaeb1020b69b668762966df15fc5659dd5a", size = 2094467, upload-time = "2026-05-06T13:39:18.847Z" }, + { url = "https://files.pythonhosted.org/packages/2c/e2/f35033184cb11d0052daf4416e8e10a502ea2ac006fc4f459aee872727d1/pydantic_core-2.46.4-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:0186750b482eefa11d7f435892b09c5c606193ef3375bcf94aa00ae6bfb66262", size = 2134417, upload-time = "2026-05-06T13:40:17.944Z" }, + { url = "https://files.pythonhosted.org/packages/7e/7b/6ceeb1cc90e193862f444ebe373d8fdf613f0a82572dde03fb10734c6c71/pydantic_core-2.46.4-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5855698a4856556d86e8e6cd8434bc3ac0314ee8e12089ae0e143f64c6256e4e", size = 2179782, upload-time = "2026-05-06T13:40:32.618Z" }, + { url = "https://files.pythonhosted.org/packages/5a/f2/c8d7773ede6af08036423a00ae0ceffce266c3c52a096c435d68c896083f/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:cbaf13819775b7f769bf4a1f066cb6df7a28d4480081a589828ef190226881cd", size = 2188782, upload-time = "2026-05-06T13:36:51.018Z" }, + { url = "https://files.pythonhosted.org/packages/59/31/0c864784e31f09f05cdd87606f08923b9c9e7f6e51dd27f20f62f975ce9f/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:633147d34cf4550417f12e2b1a0383973bdf5cdfde212cb09e9a581cf10820be", size = 2328334, upload-time = "2026-05-06T13:40:37.764Z" }, + { url = "https://files.pythonhosted.org/packages/c2/eb/4f6c8a41efa30baa755590f4141abf3a8c370fab610915733e74134a7270/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:82cf5301172168103724d49a1444d3378cb20cdee30b116a1bd6031236298a5d", size = 2372986, upload-time = "2026-05-06T13:39:34.152Z" }, + { url = "https://files.pythonhosted.org/packages/5b/24/b375a480d53113860c299764bfe9f349a3dc9108b3adc0d7f0d786492ebf/pydantic_core-2.46.4-cp313-cp313-win32.whl", hash = "sha256:9fa8ae11da9e2b3126c6426f147e0fba88d96d65921799bb30c6abd1cb2c97fb", size = 1973693, upload-time = "2026-05-06T13:37:55.072Z" }, + { url = "https://files.pythonhosted.org/packages/7e/e8/cff247591966f2d22ec8c003cd7587e27b7ba7b81ab2fb888e3ab75dc285/pydantic_core-2.46.4-cp313-cp313-win_amd64.whl", hash = "sha256:6b3ace8194b0e5204818c92802dcdca7fc6d88aabbb799d7c795540d9cd6d292", size = 2071819, upload-time = "2026-05-06T13:38:49.139Z" }, + { url = "https://files.pythonhosted.org/packages/c6/1a/f4aee670d5670e9e148e0c82c7db98d780be566c6e6a97ee8035528ca0b3/pydantic_core-2.46.4-cp313-cp313-win_arm64.whl", hash = "sha256:184c081504d17f1c1066e430e117142b2c77d9448a97f7b65c6ac9fd9aee238d", size = 2027411, upload-time = "2026-05-06T13:40:45.796Z" }, + { url = "https://files.pythonhosted.org/packages/8d/74/228a26ddad29c6672b805d9fd78e8d251cd04004fa7eed0e622096cd0250/pydantic_core-2.46.4-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:428e04521a40150c85216fc8b85e8d39fece235a9cf5e383761238c7fa9b96fb", size = 2102079, upload-time = "2026-05-06T13:38:41.019Z" }, + { url = "https://files.pythonhosted.org/packages/ad/1f/8970b150a4b4365623ae00fc88603491f763c627311ae8031e3111356d6e/pydantic_core-2.46.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:23ace664830ee0bfe014a0c7bc248b1f7f25ed7ad103852c317624a1083af462", size = 1952179, upload-time = "2026-05-06T13:36:59.812Z" }, + { url = "https://files.pythonhosted.org/packages/95/30/5211a831ae054928054b2f79731661087a2bc5c01e825c672b3a4a8f1b3e/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ce5c1d2a8b27468f433ca974829c44060b8097eedc39933e3c206a90ee49c4a9", size = 1978926, upload-time = "2026-05-06T13:37:39.933Z" }, + { url = "https://files.pythonhosted.org/packages/57/e9/689668733b1eb67adeef047db3c2e8788fcf65a7fd9c9e2b46b7744fe245/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7283d57845ecf5a163403eb0702dfc220cc4fbdd18919cb5ccea4f95ee1cdab4", size = 2046785, upload-time = "2026-05-06T13:38:01.995Z" }, + { url = "https://files.pythonhosted.org/packages/60/d9/6715260422ff50a2109878fd24d948a6c3446bb2664f34ee78cd972b3acd/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8daafc69c93ee8a0204506a3b6b30f586ef54028f52aeeeb5c4cfc5184fd5914", size = 2228733, upload-time = "2026-05-06T13:40:50.371Z" }, + { url = "https://files.pythonhosted.org/packages/18/ae/fdb2f64316afca925640f8e70bb1a564b0ec2721c1389e25b8eb4bf9a299/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd2213145bcc2ba85884d0ac63d222fece9209678f77b9b4d76f054c561adb28", size = 2307534, upload-time = "2026-05-06T13:37:21.531Z" }, + { url = "https://files.pythonhosted.org/packages/89/1d/8eff589b45bb8190a9d12c49cfad0f176a5cbd1534908a6b5125e2886239/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7a5f930472650a82629163023e630d160863fce524c616f4e5186e5de9d9a49b", size = 2099732, upload-time = "2026-05-06T13:39:31.942Z" }, + { url = "https://files.pythonhosted.org/packages/06/d5/ee5a3366637fee41dee51a1fc91562dcf12ddbc68fda34e6b253da2324bb/pydantic_core-2.46.4-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:c1b3f518abeca3aa13c712fd202306e145abf59a18b094a6bafb2d2bbf59192c", size = 2129627, upload-time = "2026-05-06T13:37:25.033Z" }, + { url = "https://files.pythonhosted.org/packages/94/33/2414be571d2c6a6c4d08be21f9292b6d3fdb08949a97b6dfe985017821db/pydantic_core-2.46.4-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1a7dd0b3ee80d90150e3495a3a13ac34dbcbfd4f012996a6a1d8900e91b5c0fb", size = 2179141, upload-time = "2026-05-06T13:37:14.046Z" }, + { url = "https://files.pythonhosted.org/packages/7b/79/7daa95be995be0eecc4cf75064cb33f9bbbfe3fe0158caf2f0d4a996a5c7/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:3fb702cd90b0446a3a1c5e470bfa0dd23c0233b676a9099ddcc964fa6ca13898", size = 2184325, upload-time = "2026-05-06T13:36:53.615Z" }, + { url = "https://files.pythonhosted.org/packages/9f/cb/d0a382f5c0de8a222dc61c65348e0ce831b1f68e0a018450d31c2cace3a5/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:b8458003118a712e66286df6a707db01c52c0f52f7db8e4a38f0da1d3b94fc4e", size = 2323990, upload-time = "2026-05-06T13:40:29.971Z" }, + { url = "https://files.pythonhosted.org/packages/05/db/d9ba624cc4a5aced1598e88c04fdbd8310c8a69b9d38b9a3d39ce3a61ed7/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:372429a130e469c9cd698925ce5fc50940b7a1336b0d82038e63d5bbc4edc519", size = 2369978, upload-time = "2026-05-06T13:37:23.027Z" }, + { url = "https://files.pythonhosted.org/packages/f2/20/d15df15ba918c423461905802bfd2981c3af0bfa0e40d05e13edbfa48bc3/pydantic_core-2.46.4-cp314-cp314-win32.whl", hash = "sha256:85bb3611ff1802f3ee7fdd7dbff26b56f343fb432d57a4728fdd49b6ef35e2f4", size = 1966354, upload-time = "2026-05-06T13:38:03.499Z" }, + { url = "https://files.pythonhosted.org/packages/fc/b6/6b8de4c0a7d7ab3004c439c80c5c1e0a3e8d78bbae19379b01960383d9e5/pydantic_core-2.46.4-cp314-cp314-win_amd64.whl", hash = "sha256:811ff8e9c313ab425368bcbb36e5c4ebd7108c2bbf4e4089cfbb0b01eff63fac", size = 2072238, upload-time = "2026-05-06T13:39:40.807Z" }, + { url = "https://files.pythonhosted.org/packages/32/36/51eb763beec1f4cf59b1db243a7dcc39cbb41230f050a09b9d69faaf0a48/pydantic_core-2.46.4-cp314-cp314-win_arm64.whl", hash = "sha256:bfec22eab3c8cc2ceec0248aec886624116dc079afa027ecc8ad4a7e62010f8a", size = 2018251, upload-time = "2026-05-06T13:37:26.72Z" }, + { url = "https://files.pythonhosted.org/packages/e8/91/855af51d625b23aa987116a19e231d2aaef9c4a415273ddc189b79a45fee/pydantic_core-2.46.4-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:af8244b2bef6aaad6d92cda81372de7f8c8d36c9f0c3ea36e827c60e7d9467a0", size = 2099593, upload-time = "2026-05-06T13:39:47.682Z" }, + { url = "https://files.pythonhosted.org/packages/fb/1b/8784a54c65edb5f49f0a14d6977cf1b209bba85a4c77445b255c2de58ab3/pydantic_core-2.46.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5a4330cdbc57162e4b3aa303f588ba752257694c9c9be3e7ebb11b4aca659b5d", size = 1935226, upload-time = "2026-05-06T13:40:40.428Z" }, + { url = "https://files.pythonhosted.org/packages/e8/e7/1955d28d1afc56dd4b3ad7cc0cf39df1b9852964cf16e5d13912756d6d6b/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:29c61fc04a3d840155ff08e475a04809278972fe6aef51e2720554e96367e34b", size = 1974605, upload-time = "2026-05-06T13:37:32.029Z" }, + { url = "https://files.pythonhosted.org/packages/93/e2/3fedbf0ba7a22850e6e9fd78117f1c0f10f950182344d8a6c535d468fdd8/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c50f2528cf200c5eed56faf3f4e22fcd5f38c157a8b78576e6ba3168ec35f000", size = 2030777, upload-time = "2026-05-06T13:38:55.239Z" }, + { url = "https://files.pythonhosted.org/packages/f8/61/46be275fcaaba0b4f5b9669dd852267ce1ff616592dccf7a7845588df091/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0cbe8b01f948de4286c74cdd6c667aceb38f5c1e26f0693b3983d9d74887c65e", size = 2236641, upload-time = "2026-05-06T13:37:08.096Z" }, + { url = "https://files.pythonhosted.org/packages/60/db/12e93e46a8bac9988be3c016860f83293daea8c716c029c9ace279036f2f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:617d7e2ca7dcb8c5cf6bcb8c59b8832c94b36196bbf1cbd1bfb56ed341905edd", size = 2286404, upload-time = "2026-05-06T13:40:20.221Z" }, + { url = "https://files.pythonhosted.org/packages/e2/4a/4d8b19008f38d31c53b8219cfedc2e3d5de5fe99d90076b7e767de29274f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7027560ee92211647d0d34e3f7cd6f50da56399d26a9c8ad0da286d3869a53f3", size = 2109219, upload-time = "2026-05-06T13:38:12.153Z" }, + { url = "https://files.pythonhosted.org/packages/88/70/3cbc40978fefb7bb09c6708d40d4ad1a5d70fd7213c3d17f971de868ec1f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:f99626688942fb746e545232e7726926f3be91b5975f8b55327665fafda991c7", size = 2110594, upload-time = "2026-05-06T13:40:02.971Z" }, + { url = "https://files.pythonhosted.org/packages/9d/20/b8d36736216e29491125531685b2f9e61aa5b4b2599893f8268551da3338/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:fc3e9034a63de20e15e8ade85358bc6efc614008cab72898b4b4952bea0509ff", size = 2159542, upload-time = "2026-05-06T13:39:27.506Z" }, + { url = "https://files.pythonhosted.org/packages/1d/a2/367df868eb584dacf6bf82a389272406d7178e301c4ac82545ab98bc2dd9/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:97e7cf2be5c77b7d1a9713a05605d49460d02c6078d38d8bef3cbe323c548424", size = 2168146, upload-time = "2026-05-06T13:38:31.93Z" }, + { url = "https://files.pythonhosted.org/packages/c1/b8/4460f77f7e201893f649a29ab355dddd3beee8a97bcb1a320db414f9a06e/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:3bf92c5d0e00fefaab325a4d27828fe6b6e2a21848686b5b60d2d9eeb09d76c6", size = 2306309, upload-time = "2026-05-06T13:37:44.717Z" }, + { url = "https://files.pythonhosted.org/packages/64/c4/be2639293acd87dc8ddbcec41a73cee9b2ebf996fe6d892a1a74e88ad3f7/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:3ecbc122d18468d06ca279dc26a8c2e2d5acb10943bb35e36ae92096dc3b5565", size = 2369736, upload-time = "2026-05-06T13:37:05.645Z" }, + { url = "https://files.pythonhosted.org/packages/30/a6/9f9f380dbb301f67023bf8f707aaa75daadf84f7152d95c410fd7e81d994/pydantic_core-2.46.4-cp314-cp314t-win32.whl", hash = "sha256:e846ae7835bf0703ae43f534ab79a867146dadd59dc9ca5c8b53d5c8f7c9ef02", size = 1955575, upload-time = "2026-05-06T13:38:51.116Z" }, + { url = "https://files.pythonhosted.org/packages/40/1f/f1eb9eb350e795d1af8586289746f5c5677d16043040d63710e22abc43c9/pydantic_core-2.46.4-cp314-cp314t-win_amd64.whl", hash = "sha256:2108ba5c1c1eca18030634489dc544844144ee36357f2f9f780b93e7ddbb44b5", size = 2051624, upload-time = "2026-05-06T13:38:21.672Z" }, + { url = "https://files.pythonhosted.org/packages/f6/d2/42dd53d0a85c27606f316d3aa5d2869c4e8470a5ed6dec30e4a1abe19192/pydantic_core-2.46.4-cp314-cp314t-win_arm64.whl", hash = "sha256:4fcbe087dbc2068af7eda3aa87634eba216dbda64d1ae73c8684b621d33f6596", size = 2017325, upload-time = "2026-05-06T13:40:52.723Z" }, + { url = "https://files.pythonhosted.org/packages/9d/1d/8987ad40f65ae1432753072f214fb5c74fe47ffbd0698bb9cbbb585664f8/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:1d8ba486450b14f3b1d63bc521d410ec7565e52f887b9fb671791886436a42f7", size = 2095527, upload-time = "2026-05-06T13:39:52.283Z" }, + { url = "https://files.pythonhosted.org/packages/64/d3/84c282a7eee1d3ac4c0377546ef5a1ea436ce26840d9ac3b7ed54a377507/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:3009f12e4e90b7f88b4f9adb1b0c4a3d58fe7820f3238c190047209d148026df", size = 1936024, upload-time = "2026-05-06T13:40:15.671Z" }, + { url = "https://files.pythonhosted.org/packages/d7/ca/eac61596cdeb4d7e174d3dc0bd8a6238f14f75f97a24e7b7db4c7e7340a0/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ad785e92e6dc634c21555edc8bd6b64957ab844541bcb96a1366c202951ae526", size = 1990696, upload-time = "2026-05-06T13:38:34.717Z" }, + { url = "https://files.pythonhosted.org/packages/fa/c3/7c8b240552251faf6b3a957db200fcfbbcec36763c050428b601e0c9b83b/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:00c603d540afdd6b80eb39f078f33ebd46211f02f33e34a32d9f053bba711de0", size = 2147590, upload-time = "2026-05-06T13:39:29.883Z" }, +] + +[[package]] +name = "pydantic-settings" +version = "2.14.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pydantic" }, + { name = "python-dotenv" }, + { name = "typing-inspection" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/07/60/1d1e59c9c90d54591469ada7d268251f71c24bdb765f1a8a832cee8c6653/pydantic_settings-2.14.1.tar.gz", hash = "sha256:e874d3bec7e787b0c9958277956ed9b4dd5de6a80e162188fdaff7c5e26fd5fa", size = 235551, upload-time = "2026-05-08T13:40:06.542Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ae/8d/f1af3832f5e6eb13ba94ee809e72b8ecb5eef226d27ee0bef7d963d943c7/pydantic_settings-2.14.1-py3-none-any.whl", hash = "sha256:6e3c7edfd8277687cdc598f56e5cff0e9bfff0910a3749deaa8d4401c3a2b9de", size = 60964, upload-time = "2026-05-08T13:40:04.958Z" }, +] + +[[package]] +name = "python-dotenv" +version = "1.2.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/82/ed/0301aeeac3e5353ef3d94b6ec08bbcabd04a72018415dcb29e588514bba8/python_dotenv-1.2.2.tar.gz", hash = "sha256:2c371a91fbd7ba082c2c1dc1f8bf89ca22564a087c2c287cd9b662adde799cf3", size = 50135, upload-time = "2026-03-01T16:00:26.196Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0b/d7/1959b9648791274998a9c3526f6d0ec8fd2233e4d4acce81bbae76b44b2a/python_dotenv-1.2.2-py3-none-any.whl", hash = "sha256:1d8214789a24de455a8b8bd8ae6fe3c6b69a5e3d64aa8a8e5d68e694bbcb285a", size = 22101, upload-time = "2026-03-01T16:00:25.09Z" }, +] + +[[package]] +name = "sqlalchemy" +version = "2.0.50" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "greenlet", marker = "platform_machine == 'AMD64' or platform_machine == 'WIN32' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'ppc64le' or platform_machine == 'win32' or platform_machine == 'x86_64'" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/57/da/6fbf010c8ebb347679d0d100b22fe9ba5e13fd04046c5df7280d2f0bf706/sqlalchemy-2.0.50.tar.gz", hash = "sha256:af5607d11ef90fd6a5c0549fe0045dce1663d427426bcfb506dcb5346a85a3b9", size = 9907424, upload-time = "2026-05-24T19:20:04.018Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/be/b0/a9d19b43f38f878b1278bca5b00b909f7540d41494396dd2561f9ad0956d/sqlalchemy-2.0.50-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:23ae23d8b9d344d30d0a92f06d45825024a5790f1c1dd4cf452636a50d3e58cb", size = 2159807, upload-time = "2026-05-24T19:27:53.086Z" }, + { url = "https://files.pythonhosted.org/packages/f5/2c/191dd58a248fd2cfd4780fa82c375c505e4ad98c8b522fa69ec492130d77/sqlalchemy-2.0.50-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:47b71b933e7b4ebad407c8fdfd70d2c4f08b78b3238bb30eebdd6eb32ca51b89", size = 3343358, upload-time = "2026-05-24T20:09:29.279Z" }, + { url = "https://files.pythonhosted.org/packages/8a/2b/514fce8a7df81cf5bad7ff7865de7ac0c5776a38cc043475c4703eb7fe8b/sqlalchemy-2.0.50-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:110fdac56ace278949f00de805edacbd6141e382d992f9ba28238b3a0827a600", size = 3357994, upload-time = "2026-05-24T20:17:13.495Z" }, + { url = "https://files.pythonhosted.org/packages/35/a6/a0e283f5494f92b0d77e319ff77e437b1ffe4a051ba67c81d53234825475/sqlalchemy-2.0.50-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0f5e4ac70e9e757f6b3e87c0491ff034442ecd8dfd36d041a50564c322dafc0e", size = 3289399, upload-time = "2026-05-24T20:09:32.239Z" }, + { url = "https://files.pythonhosted.org/packages/b7/96/1b07325ba71752d6a028b77d07bed1483ad545f794e8b1dc89b3ba3b3c68/sqlalchemy-2.0.50-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:724f3dcbe53dd0151e3cb5e7ec4ba4c620bede579caacd16275dc35ce06e8615", size = 3321216, upload-time = "2026-05-24T20:17:15.581Z" }, + { url = "https://files.pythonhosted.org/packages/ed/8e/bad6ed253e8a99edfc99af02f7173ec48a1d3ed1b9b35a1b8bc1700900cc/sqlalchemy-2.0.50-cp312-cp312-win32.whl", hash = "sha256:1208050441471d003b7c8cb4054fb084f185cf35ac3f0ea270803865bca9939a", size = 2119194, upload-time = "2026-05-24T19:50:04.943Z" }, + { url = "https://files.pythonhosted.org/packages/b6/2d/314a6690dda4b9cfc571eab1a63cf6fe6e1470aa3759ccda6aa016ee0f5a/sqlalchemy-2.0.50-cp312-cp312-win_amd64.whl", hash = "sha256:9d1af51558029a156a70986b7df88f042b3d158d7c8d8fb5072912d4b32d89c7", size = 2146186, upload-time = "2026-05-24T19:50:06.74Z" }, + { url = "https://files.pythonhosted.org/packages/0b/c4/c42356b527296e9862f67990efce31ef78b4cf69cd3f80873a528a060320/sqlalchemy-2.0.50-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:06a9210bdc5f4298cff0781087e2ff45683922252dacc452846373a58761f093", size = 2156697, upload-time = "2026-05-24T19:27:54.764Z" }, + { url = "https://files.pythonhosted.org/packages/60/a1/b1a70e3c4365ac7fe9e347f3710f19b562c866fb96d45e3c891588789a7b/sqlalchemy-2.0.50-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8b53784972ade4f8174b9aa661f31a06f8a936d2cfdd602913ff3c6dd40ae873", size = 3284260, upload-time = "2026-05-24T20:09:34.195Z" }, + { url = "https://files.pythonhosted.org/packages/3f/4a/f3ac3caa19f263d57b0a47f8c91bbf56583dc2d3fc63acfbf644abb24fe0/sqlalchemy-2.0.50-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:31648fa14460537e768a7303b078e4344d208e0d23e06867c1f376a227ed82db", size = 3302280, upload-time = "2026-05-24T20:17:17.825Z" }, + { url = "https://files.pythonhosted.org/packages/66/55/ccada3e3d62254587819749a0bc69f41173eb48a6e385d10e66d32a9c88e/sqlalchemy-2.0.50-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:03f4323c980ad0e918cc9e5369b015f759f4e534db5bbaf4dc36832c10d05064", size = 3231580, upload-time = "2026-05-24T20:09:36.406Z" }, + { url = "https://files.pythonhosted.org/packages/05/f6/6809349130a2de0e109e7f00fd7d431da9565b9b2868b32ee684754f672b/sqlalchemy-2.0.50-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:2b9dcc43afef8ac157cd92fce96985d6b8b0cfbd3df4d666f66b4d55a75d202f", size = 3269375, upload-time = "2026-05-24T20:17:20.34Z" }, + { url = "https://files.pythonhosted.org/packages/48/84/278a811ef4e07be9c89dc5cdd7be833268509a66a68c4897cf585e67428f/sqlalchemy-2.0.50-cp313-cp313-win32.whl", hash = "sha256:60922d6599065ddca2c6f376b9aa2f41a6b85a271725e0909490bbc50b1998a5", size = 2117229, upload-time = "2026-05-24T19:50:08.215Z" }, + { url = "https://files.pythonhosted.org/packages/f6/1c/067cc6187ed32d2ec222fe6d2643acc1659a6d0659f8a7cbc5ad3ae83280/sqlalchemy-2.0.50-cp313-cp313-win_amd64.whl", hash = "sha256:287086e67275a212c4582d166a6fb03a65ccc5551d80866270ce0dd9f34eccd3", size = 2143126, upload-time = "2026-05-24T19:50:09.691Z" }, + { url = "https://files.pythonhosted.org/packages/df/32/10ac51b4be7cdecd7e93d069251c86dfbf70b7adbd7c67b48ccea6c49e1c/sqlalchemy-2.0.50-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c966932507a4d7d0a37314927dbfcd89720e3f37d2a1e3352e7ae7939fa8e8a0", size = 2158519, upload-time = "2026-05-24T19:27:56.472Z" }, + { url = "https://files.pythonhosted.org/packages/5a/76/e703d2f7681d7d66c4c891af3f07c7ccf4c76ad7f18351de035b5eda007a/sqlalchemy-2.0.50-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:faffef4bcc20a1892e65e155293d99d60855bbbc79250ab712819cfd56a8e6bb", size = 3282063, upload-time = "2026-05-24T20:09:38.57Z" }, + { url = "https://files.pythonhosted.org/packages/31/26/ef168b184a25701f9995e8fb7e503fafd7a99c1c77cda1bc1a26ea2ed486/sqlalchemy-2.0.50-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6c206aec519a2e7bd08abbfb33436e325fd22c632d9c21a9047e376ce241646e", size = 3287069, upload-time = "2026-05-24T20:17:21.942Z" }, + { url = "https://files.pythonhosted.org/packages/c2/15/765acc2bc693bccc43ca4a95d5b69750da8aaf6db1b5c616536e087f8920/sqlalchemy-2.0.50-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:bef4ac756363227ef6402a75fee025a4bc690f92328e825868939b3b3a446a6d", size = 3230453, upload-time = "2026-05-24T20:09:40.398Z" }, + { url = "https://files.pythonhosted.org/packages/63/61/08e03c3adbf5db0087a0b6816746fec8f3032fb2f7fc899a9bb9b2a48ce4/sqlalchemy-2.0.50-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:96fbee6b19c19cd1556c8bf9419447cf2ec149ffcab7ab64348c23e54ef8547f", size = 3252413, upload-time = "2026-05-24T20:17:24.067Z" }, + { url = "https://files.pythonhosted.org/packages/03/0c/370a1f2db38436c615e10134c8a37de3688e74084792380695f3f5083860/sqlalchemy-2.0.50-cp314-cp314-win32.whl", hash = "sha256:8f00e3eb43ba30eb1b238ee03a8a62309486d1321eda3328bb611e0340033ad8", size = 2120063, upload-time = "2026-05-24T19:50:11.08Z" }, + { url = "https://files.pythonhosted.org/packages/7f/a0/fe92bb9817863bc13ba093bda931979a26cc2ca69f8e8f26d07add3d7c6f/sqlalchemy-2.0.50-cp314-cp314-win_amd64.whl", hash = "sha256:15708c613cd5005b7dffe1f66ee6a63ee8f5e46799f71c70ebad74178c676a39", size = 2145830, upload-time = "2026-05-24T19:50:12.452Z" }, + { url = "https://files.pythonhosted.org/packages/cc/ff/e5640a98a0b2f491eb8fde10fb6c773621a2e44340de231fafcc9370f4a9/sqlalchemy-2.0.50-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:3699dac4be410e97049a1658e9480da9cde956594aa0f3aebc60b88f21c5ba70", size = 2178435, upload-time = "2026-05-24T19:42:58.889Z" }, + { url = "https://files.pythonhosted.org/packages/b7/85/337116e186f1236375b5fb70c21cfac98e8e8ab0d3a47be838dc47a59e08/sqlalchemy-2.0.50-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f96233858e3df43932ac11589e22520da6e8aeb624b03fedfeebb0e8ea213086", size = 3566059, upload-time = "2026-05-24T20:01:20.848Z" }, + { url = "https://files.pythonhosted.org/packages/96/34/bb0e190e161c3c2c24314a65add57218be14a4a9486886b7f5047c1ff7c8/sqlalchemy-2.0.50-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c4e70c46fad30c3bcc6a4708bc0130a3173e11a5b25f0ea4a9d8911b450f1f52", size = 3535366, upload-time = "2026-05-24T20:03:56.768Z" }, + { url = "https://files.pythonhosted.org/packages/df/5a/a7f759f97e4fd499c5d4e4488c760d5a7fbecf3028b465a04274fcd52384/sqlalchemy-2.0.50-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:1918a3cf564d16d95bca7301005f41ab2ad50b07cd3b9da50d3ed986db148d6a", size = 3474879, upload-time = "2026-05-24T20:01:23.058Z" }, + { url = "https://files.pythonhosted.org/packages/9d/d9/2907ea38eb60687d297bf9c39e5ee58053c87b57fe8a9cae97090cecbf10/sqlalchemy-2.0.50-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:b00098cdbdbd38c7be3d568b0c9c3122b8c0ec62b911b57cd5e6e0254d60a76d", size = 3486117, upload-time = "2026-05-24T20:03:59.052Z" }, + { url = "https://files.pythonhosted.org/packages/f2/e3/5aa06f167559f8c0bdae487e297d23ba548150ab016a3418265d617a4985/sqlalchemy-2.0.50-cp314-cp314t-win32.whl", hash = "sha256:1fbd55a969d7ac44a98e3dec75016074f809fa08f871585ace58dde110d1bf3e", size = 2150823, upload-time = "2026-05-24T20:08:58.644Z" }, + { url = "https://files.pythonhosted.org/packages/65/9b/112fb8f977582d7489d036e409e3723948bcf5320b3ac465f3c481bbe8f9/sqlalchemy-2.0.50-cp314-cp314t-win_amd64.whl", hash = "sha256:c5c3cdb753a9004183e1ccb634b41611654c989e61bc68617ce878e46d6f1e51", size = 2185794, upload-time = "2026-05-24T20:09:00.319Z" }, + { url = "https://files.pythonhosted.org/packages/d0/10/f7220e9b784d295d241c86ed99aeb537f92afcd469a64861f2717e9bb077/sqlalchemy-2.0.50-py3-none-any.whl", hash = "sha256:92064363517a3ff8212b5a93b8c62876579d8dfd1ca5b561335f30152d884fa9", size = 1943861, upload-time = "2026-05-24T19:59:01.119Z" }, +] + +[[package]] +name = "typing-extensions" +version = "4.15.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f/typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466", size = 109391, upload-time = "2025-08-25T13:49:26.313Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548", size = 44614, upload-time = "2025-08-25T13:49:24.86Z" }, +] + +[[package]] +name = "typing-inspection" +version = "0.4.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/55/e3/70399cb7dd41c10ac53367ae42139cf4b1ca5f36bb3dc6c9d33acdb43655/typing_inspection-0.4.2.tar.gz", hash = "sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464", size = 75949, upload-time = "2025-10-01T02:14:41.687Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/dc/9b/47798a6c91d8bdb567fe2698fe81e0c6b7cb7ef4d13da4114b41d239f65d/typing_inspection-0.4.2-py3-none-any.whl", hash = "sha256:4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7", size = 14611, upload-time = "2025-10-01T02:14:40.154Z" }, +] diff --git a/pyproject.toml b/pyproject.toml index 50069f37..d720c45c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,3 +60,8 @@ dev-mode-dirs = [ [tool.hatch.metadata] allow-direct-references = true + +[tool.uv.workspace] +members = [ + "development", +] From 7efe0cc5209b6f5a7c2ab6c53ebfd83af0924de3 Mon Sep 17 00:00:00 2001 From: extreme4all <> Date: Sun, 7 Jun 2026 12:35:21 +0200 Subject: [PATCH 2/5] league --- development/data_analytics/scraper_data_v3/osrs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/development/data_analytics/scraper_data_v3/osrs.py b/development/data_analytics/scraper_data_v3/osrs.py index 5c60d193..bd4db5c1 100644 --- a/development/data_analytics/scraper_data_v3/osrs.py +++ b/development/data_analytics/scraper_data_v3/osrs.py @@ -142,6 +142,7 @@ def _normalize(name: str) -> str: "cs_all": "clue_scrolls_all", "tombs_of_amascut_expert": "tombs_of_amascut_expert_mode", "theatre_of_blood_hard": "theatre_of_blood_hard_mode", + "league": "league_points", } From bc12c02910b22e4e7c45f76e9c6094bdfce73b9a Mon Sep 17 00:00:00 2001 From: extreme4all <> Date: Sun, 7 Jun 2026 12:36:11 +0200 Subject: [PATCH 3/5] data dir --- development/data_analytics/data | 1 + 1 file changed, 1 insertion(+) create mode 120000 development/data_analytics/data diff --git a/development/data_analytics/data b/development/data_analytics/data new file mode 120000 index 00000000..37453499 --- /dev/null +++ b/development/data_analytics/data @@ -0,0 +1 @@ +/mnt/d/wsl/dev/bot_detector/data_analytics/data \ No newline at end of file From 7f9c91df79ea9e1ae83d3f6bd031ffadc61717ef Mon Sep 17 00:00:00 2001 From: extreme4all <> Date: Sun, 7 Jun 2026 22:02:29 +0200 Subject: [PATCH 4/5] f/highscore_data --- .../data_analytics/highscore_data/database.py | 54 +++++ .../data_analytics/highscore_data/main.py | 167 +++++++++++++++ .../data_analytics/highscore_data/osrs.py | 191 ++++++++++++++++++ .../data_analytics/highscore_data/ptime.py | 14 ++ .../data_analytics/highscore_data/queries.py | 15 ++ .../data_analytics/highscore_data/settings.py | 10 + 6 files changed, 451 insertions(+) create mode 100644 development/data_analytics/highscore_data/database.py create mode 100644 development/data_analytics/highscore_data/main.py create mode 100644 development/data_analytics/highscore_data/osrs.py create mode 100644 development/data_analytics/highscore_data/ptime.py create mode 100644 development/data_analytics/highscore_data/queries.py create mode 100644 development/data_analytics/highscore_data/settings.py diff --git a/development/data_analytics/highscore_data/database.py b/development/data_analytics/highscore_data/database.py new file mode 100644 index 00000000..e0d9925e --- /dev/null +++ b/development/data_analytics/highscore_data/database.py @@ -0,0 +1,54 @@ +import time +from functools import wraps + +import polars as pl +import ptime +import queries +from settings import Settings +from sqlalchemy import create_engine, text +from sqlalchemy.exc import OperationalError + +engine = create_engine(url=Settings().database_uri, pool_pre_ping=True) + + +MAX_RETRIES = 5 + + +def _retry(func): + @wraps(func) + def wrapper(*args, **kwargs): + t = 0 + while True: + try: + result = func(*args, **kwargs) + break + except OperationalError as e: + if t >= MAX_RETRIES: + raise e + print(t, e) + t += 1 + return result + + return wrapper + + +def read_sql(query: str, params: dict) -> pl.DataFrame: + with engine.connect() as connection: + connection.execute(text("SET SESSION wait_timeout = 30;")) + return pl.read_database( + connection=connection, + query=query, + execute_options={"parameters": params}, + ) + + +@ptime._timer +@_retry +def get_full_data(start_ts: int, batch_size: int) -> pl.DataFrame: + return read_sql( + query=queries.FULL_RANGE_SQL, + params={ + "start_ts": start_ts, + "batch_size": batch_size, + }, + ) diff --git a/development/data_analytics/highscore_data/main.py b/development/data_analytics/highscore_data/main.py new file mode 100644 index 00000000..3685c6c4 --- /dev/null +++ b/development/data_analytics/highscore_data/main.py @@ -0,0 +1,167 @@ +import json +import time +from dataclasses import dataclass +from datetime import datetime + +import database as db +import polars as pl +import ptime +from osrs import ( + PARQUET_SCHEMA, + activity_lookup, + skill_lookup, +) +from settings import Settings + +BATCH_SIZE = 50_000 +SAVE_THRESHOLD = 100_000 +PREFIX = "hsd" +STATE_PATH = f"{Settings().base_path}/{PREFIX}_state.txt" + + +def read_state(path: str) -> int: + try: + with open(path, "r") as f: + start_ts = f.read().strip() + return int(start_ts) + except FileNotFoundError: + return 0 + + +def save_state(path: str, start_ts: int): + with open(path, "w+") as f: + f.write(f"{start_ts}") + + +@ptime._timer +def save_parquet(df: pl.DataFrame, path: str): + print(f"\tFinal: {df.shape}, {df.estimated_size()} bytes") + print(f"\tSaving parquet to {path}") + df.write_parquet( + file=path, + compression="zstd", + mkdir=True, + ) + + +@dataclass +class Context: + df: pl.DataFrame + start_ts: int + + +def get_context(start_ts: int) -> Context: + return Context(df=pl.DataFrame(schema=PARQUET_SCHEMA), start_ts=start_ts) + + +def detect_columns(df: pl.DataFrame, column: str): + raw = df.select( + pl.col(column).map_elements( + function=lambda x: list(json.loads(x).keys()), + return_dtype=pl.List(pl.Utf8), + ) + ) + unique = set( + raw.explode(column) # turn list rows into values + .get_column(column) + .to_list() + ) + return {x for x in unique if x is not None} + + +def save(ctx: Context, _min: int, _max: int) -> Context: + _t = int(time.time()) + + path = f"{Settings().base_path}/{PREFIX}_{_t}_{_min}_{_max}.parquet" + save_parquet(df=ctx.df, path=path) + save_state(path=STATE_PATH, start_ts=_max) + context = get_context(start_ts=_max) + return context + + +def main(): + start_ts = read_state(path=STATE_PATH) + context = get_context(start_ts=start_ts) + + while True: + ######################################## + # get batch + ######################################## + df = db.get_full_data( + start_ts=start_ts, + batch_size=BATCH_SIZE, + ) + if df.is_empty(): + print("No more data to process, exiting.") + break + min_ts: datetime = df.select(pl.min("scrape_ts")).item() + max_ts: datetime = df.select(pl.max("scrape_ts")).item() + start_ts = int(max_ts.timestamp()) + ######################################## + # expand skills and activities from json + ######################################## + skills = detect_columns(df=df, column="skills") + activities = detect_columns(df=df, column="activities") + + skills_dtype = pl.Struct({c: pl.UInt32() for c in skills}) + activities_dtype = pl.Struct({c: pl.UInt32() for c in activities}) + + df = df.with_columns( + pl.col("skills").str.json_decode(dtype=skills_dtype), + pl.col("activities").str.json_decode(dtype=activities_dtype), + ) + df = df.unnest("skills") + df = df.unnest("activities") + ######################################## + # cleanup column names and verify they are all known + ######################################## + name_map = {} + for c in df.iter_columns(): + if c.name in ["scrape_ts", "scrape_date", "player_id", "player_name"]: + continue + _error = False + try: + name_map[c.name] = skill_lookup(c.name) + continue + except ValueError: + _error = True + + try: + name_map[c.name] = activity_lookup(c.name) + continue + except ValueError: + _error = True + + if _error: + raise ValueError(f"Unknown column: [{c.name}]") + df = df.rename(name_map) + ######################################## + # cast values to UInt32 + ######################################## + df = df.cast( + { + k: pl.UInt32 + for k in df.columns + if k not in ["player_name", "scrape_date", "scrape_ts"] + } + ) + df = df.drop(["scrape_ts"]) + ######################################## + # merge to df, if column is not in df, add it with null values first to ensure consistent schema + ######################################## + context.df = pl.concat([context.df, df], how="diagonal") + print(f"Batch [{min_ts} - {max_ts}] merged, total rows: {len(context.df)}\n") + if len(context.df) >= SAVE_THRESHOLD: + _min = context.start_ts + _max = int(max_ts.timestamp()) + context = save(ctx=context, _min=_min, _max=_max) + + # final save after loop + if len(context.df) > 0: + _min = context.start_ts + _max = int(max_ts.timestamp()) + context = save(ctx=context, _min=_min, _max=_max) + + +if __name__ == "__main__": + main() diff --git a/development/data_analytics/highscore_data/osrs.py b/development/data_analytics/highscore_data/osrs.py new file mode 100644 index 00000000..298ae8db --- /dev/null +++ b/development/data_analytics/highscore_data/osrs.py @@ -0,0 +1,191 @@ +import re +from typing import Any + +import polars as pl + + +def _normalize(name: str) -> str: + name = name.lower().replace("\u2019", "'").replace("'", "") + return re.sub(r"[^a-z0-9]+", "_", name).strip("_") + + +# example https://secure.runescape.com/m=hiscore_oldschool/index_lite.json?player=ferrariic +SKILL_NAMES: list[str] = [ + "Attack", + "Defence", + "Strength", + "Hitpoints", + "Ranged", + "Prayer", + "Magic", + "Cooking", + "Woodcutting", + "Fletching", + "Fishing", + "Firemaking", + "Crafting", + "Smithing", + "Mining", + "Herblore", + "Agility", + "Thieving", + "Slayer", + "Farming", + "Runecraft", + "Hunter", + "Construction", + "Sailing", +] +NORMALIZED_SKILL_NAMES: list[str] = [_normalize(n) for n in SKILL_NAMES] + +ACTIVITY_NAMES: list[str] = [ + "Grid Points", + "League Points", + "Deadman Points", + "Bounty Hunter - Hunter", + "Bounty Hunter - Rogue", + "Bounty Hunter (Legacy) - Hunter", + "Bounty Hunter (Legacy) - Rogue", + "Clue Scrolls (all)", + "Clue Scrolls (beginner)", + "Clue Scrolls (easy)", + "Clue Scrolls (medium)", + "Clue Scrolls (hard)", + "Clue Scrolls (elite)", + "Clue Scrolls (master)", + "LMS - Rank", + "PvP Arena - Rank", + "Soul Wars Zeal", + "Rifts closed", + "Colosseum Glory", + "Collections Logged", + "Abyssal Sire", + "Alchemical Hydra", + "Amoxliatl", + "Araxxor", + "Artio", + "Barrows Chests", + "Brutus", + "Bryophyta", + "Callisto", + "Calvar'ion", + "Cerberus", + "Chambers of Xeric", + "Chambers of Xeric: Challenge Mode", + "Chaos Elemental", + "Chaos Fanatic", + "Commander Zilyana", + "Corporeal Beast", + "Crazy Archaeologist", + "Dagannoth Prime", + "Dagannoth Rex", + "Dagannoth Supreme", + "Deranged Archaeologist", + "Doom of Mokhaiotl", + "Duke Sucellus", + "General Graardor", + "Giant Mole", + "Grotesque Guardians", + "Hespori", + "Kalphite Queen", + "King Black Dragon", + "Kraken", + "Kree'Arra", + "K'ril Tsutsaroth", + "Lunar Chests", + "Mimic", + "Nex", + "Nightmare", + "Phosani's Nightmare", + "Obor", + "Phantom Muspah", + "Sarachnis", + "Scorpia", + "Scurrius", + "Shellbane Gryphon", + "Skotizo", + "Sol Heredit", + "Spindel", + "Tempoross", + "The Gauntlet", + "The Corrupted Gauntlet", + "The Hueycoatl", + "The Leviathan", + "The Royal Titans", + "The Whisperer", + "Theatre of Blood", + "Theatre of Blood: Hard Mode", + "Thermonuclear Smoke Devil", + "Tombs of Amascut", + "Tombs of Amascut: Expert Mode", + "TzKal-Zuk", + "TzTok-Jad", + "Vardorvis", + "Venenatis", + "Vet'ion", + "Vorkath", + "Wintertodt", + "Yama", + "Zalcano", + "Zulrah", +] +NORMALIZED_ACTIVITY_NAMES: list[str] = [_normalize(n) for n in ACTIVITY_NAMES] + +LOOKUP: dict[str, str] = { + "cs_beginner": "clue_scrolls_beginner", + "cs_easy": "clue_scrolls_easy", + "cs_medium": "clue_scrolls_medium", + "cs_hard": "clue_scrolls_hard", + "cs_master": "clue_scrolls_master", + "cs_elite": "clue_scrolls_elite", + "cs_all": "clue_scrolls_all", + "tombs_of_amascut_expert": "tombs_of_amascut_expert_mode", + "theatre_of_blood_hard": "theatre_of_blood_hard_mode", + "league": "league_points", +} + + +def skill_lookup(col: str) -> str: + col = _normalize(col) + if col in NORMALIZED_SKILL_NAMES: + return col + _col = LOOKUP.get(col, None) + if _col is None: + raise ValueError(f"Unknown skill column: [{col}] => [{_col}]") + if _col not in NORMALIZED_SKILL_NAMES: + raise ValueError(f"Lookup column is not a known skill: [{col}] => [{_col}]") + return _col + + +def activity_lookup(col: str) -> str: + _col = _normalize(col) + if _col in NORMALIZED_ACTIVITY_NAMES: + return _col + _col = LOOKUP.get(_col, None) + if _col is None: + raise ValueError(f"Unknown activity column: [{col}] => [{_col}]") + if _col not in NORMALIZED_ACTIVITY_NAMES: + raise ValueError(f"Lookup column is not a known activity: [{col}] => [{_col}]") + return _col + + +def column_name(canonical: str) -> str: + return _normalize(canonical) + + +def _schema_col(name: str) -> tuple[str, Any]: + return (column_name(name), pl.UInt32()) + + +skills_dtype = pl.Struct({column_name(n): pl.UInt32() for n in NORMALIZED_SKILL_NAMES}) +activities_dtype = pl.Struct( + {column_name(n): pl.UInt32() for n in NORMALIZED_ACTIVITY_NAMES} +) + +PARQUET_SCHEMA: dict[str, Any] = { + "player_id": pl.UInt32(), + "player_name": pl.Utf8(), + "scrape_date": pl.Date(), + **dict(_schema_col(n) for n in NORMALIZED_SKILL_NAMES), + **dict(_schema_col(n) for n in NORMALIZED_ACTIVITY_NAMES), +} diff --git a/development/data_analytics/highscore_data/ptime.py b/development/data_analytics/highscore_data/ptime.py new file mode 100644 index 00000000..57c2b3bf --- /dev/null +++ b/development/data_analytics/highscore_data/ptime.py @@ -0,0 +1,14 @@ +import time +from functools import wraps + + +def _timer(func): + @wraps(func) + def wrapper(*args, **kwargs): + start = time.perf_counter() + result = func(*args, **kwargs) + end = time.perf_counter() + print(f"{func.__name__} took {end - start:.3f}s") + return result + + return wrapper diff --git a/development/data_analytics/highscore_data/queries.py b/development/data_analytics/highscore_data/queries.py new file mode 100644 index 00000000..eca4e044 --- /dev/null +++ b/development/data_analytics/highscore_data/queries.py @@ -0,0 +1,15 @@ +FULL_RANGE_SQL = """ +select + hd.player_id, + pl.name as player_name, + hd.scrape_ts , + hd.scrape_date , + hd.skills, + hd.activities +from highscore_data hd +join Players pl on hd.player_id = pl.id +where hd.scrape_ts > FROM_UNIXTIME(:start_ts) +order by hd.scrape_ts asc +LIMIT :batch_size +; +""" diff --git a/development/data_analytics/highscore_data/settings.py b/development/data_analytics/highscore_data/settings.py new file mode 100644 index 00000000..c2260f89 --- /dev/null +++ b/development/data_analytics/highscore_data/settings.py @@ -0,0 +1,10 @@ +from pydantic import Field +from pydantic_settings import BaseSettings + + +class Settings(BaseSettings): + database_uri: str = Field(default=...) + base_path: str = Field(default=...) + + class Config: + env_file = ".env" From f1ebbc72854f8e2635d616543a318a0d272c5f79 Mon Sep 17 00:00:00 2001 From: extreme4all <> Date: Sat, 13 Jun 2026 20:21:48 +0200 Subject: [PATCH 5/5] wip --- .../data_analytics/highscore_data/database.py | 2 +- .../data_analytics/highscore_data/main.py | 18 ++++++++++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/development/data_analytics/highscore_data/database.py b/development/data_analytics/highscore_data/database.py index e0d9925e..3e201bf2 100644 --- a/development/data_analytics/highscore_data/database.py +++ b/development/data_analytics/highscore_data/database.py @@ -1,4 +1,3 @@ -import time from functools import wraps import polars as pl @@ -35,6 +34,7 @@ def wrapper(*args, **kwargs): def read_sql(query: str, params: dict) -> pl.DataFrame: with engine.connect() as connection: connection.execute(text("SET SESSION wait_timeout = 30;")) + connection.execute(text("SET time_zone = '+00:00';")) return pl.read_database( connection=connection, query=query, diff --git a/development/data_analytics/highscore_data/main.py b/development/data_analytics/highscore_data/main.py index 3685c6c4..c1ce5313 100644 --- a/development/data_analytics/highscore_data/main.py +++ b/development/data_analytics/highscore_data/main.py @@ -1,7 +1,8 @@ +import copy import json import time from dataclasses import dataclass -from datetime import datetime +from datetime import datetime, timezone import database as db import polars as pl @@ -79,6 +80,10 @@ def save(ctx: Context, _min: int, _max: int) -> Context: return context +def int_to_dt(x: int) -> datetime: + return datetime.fromtimestamp(x, tz=timezone.utc) + + def main(): start_ts = read_state(path=STATE_PATH) context = get_context(start_ts=start_ts) @@ -87,6 +92,7 @@ def main(): ######################################## # get batch ######################################## + print(f"searching with: {start_ts} == {int_to_dt(start_ts)}") df = db.get_full_data( start_ts=start_ts, batch_size=BATCH_SIZE, @@ -96,7 +102,15 @@ def main(): break min_ts: datetime = df.select(pl.min("scrape_ts")).item() max_ts: datetime = df.select(pl.max("scrape_ts")).item() - start_ts = int(max_ts.timestamp()) + print(f" Received: {min_ts}, {max_ts}") + print(f" Received: {min_ts.timestamp()}, {max_ts.timestamp()}") + + if start_ts == max_ts.timestamp(): + raise Exception("start_ts should be equal to min_ts not max_ts") + + _new_start_ts = int(max_ts.timestamp()) + print(f" Setting start_ts={_new_start_ts} == {int_to_dt(_new_start_ts)}") + start_ts = copy.copy(_new_start_ts) ######################################## # expand skills and activities from json ########################################