From ee17b3c3e5f974e000cb87d8f6a2ffde95586cbe Mon Sep 17 00:00:00 2001 From: Ziad Arafat Date: Thu, 5 Nov 2026 09:49:10 -0700 Subject: [PATCH] Bring doge_alignment up to the watch cog's standards Fixes: - setting or removing an alignment dropped the server's admin list - charts were YAML files inside the cog folder, which Downloader replaces on every update; they now live in Red's Config - the cog imported Wand (ImageMagick) at load time and couldn't load where ImageMagick is missing, such as dogebot's container - info.json pip-installed this whole repo, red-discordbot and discord included, into Red's lib folder - /alignment_remove_admin let the bot owner past one check and then refused them at the next Structure: the cog folder is self-contained like watch. chart.py holds the rules as pure functions; render.py keeps the image helpers (grid layout fixed, debug viewers removed) and is imported only when used. The repo is now a uv virtual project (no package build), with Red pinned to dogebot's 3.5.24. Standards: ruff with the lptn settings, ty and annotations, and pytest (chart rules, Config storage and red_delete_data_for_user on Red's test backend, image helpers) now cover both cogs; 52 tests. Missing features are listed in doge_alignment/TODO.md. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GUebqhE8dK19vyn4Ct5g1L --- README.md | 22 +- doge_alignment/TODO.md | 43 +++ doge_alignment/__init__.py | 16 +- doge_alignment/chart.py | 175 ++++++++++++ doge_alignment/doge_alignment.py | 446 ++++++++++++------------------- doge_alignment/info.json | 31 ++- doge_alignment/render.py | 85 ++++++ mise.toml | 5 +- pyproject.toml | 17 +- server_12345.yaml | 5 - src/doge_cogs/__init__.py | 2 - src/doge_cogs/alignment.py | 256 ------------------ src/doge_cogs/py.typed | 0 src/doge_cogs/tests.py | 87 ------ tests/test_alignment_chart.py | 150 +++++++++++ tests/test_alignment_cog.py | 55 ++++ tests/test_alignment_render.py | 41 +++ uv.lock | 273 ++++++++++--------- 18 files changed, 932 insertions(+), 777 deletions(-) create mode 100644 doge_alignment/TODO.md create mode 100644 doge_alignment/chart.py create mode 100644 doge_alignment/render.py delete mode 100644 server_12345.yaml delete mode 100644 src/doge_cogs/__init__.py delete mode 100644 src/doge_cogs/alignment.py delete mode 100644 src/doge_cogs/py.typed delete mode 100644 src/doge_cogs/tests.py create mode 100644 tests/test_alignment_chart.py create mode 100644 tests/test_alignment_cog.py create mode 100644 tests/test_alignment_render.py diff --git a/README.md b/README.md index df578a6..a12f9e3 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,26 @@ Red-DiscordBot cogs for dogebot. | Cog | What it does | |---|---| -| `doge_alignment` | Alignment chart manager | +| `doge_alignment` | A server's D&D alignment chart, with slash commands ([TODO](doge_alignment/TODO.md)) | | `watch` | Preload a movie or episodes into the home lab's media cache before you watch | +## doge_alignment + +Slash commands for a 3x3 D&D alignment chart per server. Enable them with `[p]slash enable ` and +`[p]slash sync`. + +| Command | | +|---|---| +| `/alignment_show` | the chart, grouped by alignment | +| `/alignment_set` | put yourself on the chart | +| `/alignment_set_other [target]` | place someone who isn't on the chart yet; alignment admins can move anyone | +| `/alignment_remove` | take yourself off | +| `/alignment_add_admin`, `/alignment_remove_admin` | server owner, bot owner or alignment admins only | + +Charts are stored in Red's Config. The rules live in `doge_alignment/chart.py` as pure, tested functions. +`render.py` holds image helpers for drawing the chart, which isn't wired up yet. Missing features are in +[doge_alignment/TODO.md](doge_alignment/TODO.md). + ## watch `[p]watch ` asks the home lab's media-preload service to fetch a movie or episodes into the VPS media @@ -47,7 +64,8 @@ mise run check # ruff, ty and pytest for the watch cog ## Development mise installs uv, and uv installs Python 3.11 (what Red 3.5 needs) and the dependencies, including the -generated client in editable mode. Lint and type checks cover the `watch` cog and its tests. +generated client in editable mode. ruff (the lptn settings), ty and pytest cover both cogs. Each cog folder is +self-contained, so Red's Downloader installs it without installing this repo as a package. ```sh mise install && mise run sync diff --git a/doge_alignment/TODO.md b/doge_alignment/TODO.md new file mode 100644 index 0000000..57ea033 --- /dev/null +++ b/doge_alignment/TODO.md @@ -0,0 +1,43 @@ +# doge_alignment: TODO + +Missing features and known gaps, roughly in priority order. The cleanup of 2026-11-05 already fixed the bugs +listed at the end. + +## Features + +1. **Draw the chart as an image.** This was the original goal: a 3x3 grid with a labelled cell per + alignment, filled with members' avatars. `render.py` has the building blocks (backgrounds, a grid layout, + round or rounded avatars with borders), but nothing composes them or sends the result yet. + - Decide on the image library first. Wand needs ImageMagick, which dogebot's Red container doesn't have. + Either add `libmagickwand` to `dogebot/containers/red/Containerfile` and `Wand` to `info.json`, or + port `render.py` to Pillow, which needs no system library. + - Download avatars with Red's aiohttp session, cache them briefly, and fall back to the default avatar. + - Show it from `/alignment_show`, perhaps with a `text` option for the current list. +2. **Use live names and avatars.** The chart stores each member's display name and avatar URL from when the + alignment was set, and both go stale. Look the member up when showing the chart, and keep the stored + copy only for members who have left. +3. **Group the slash commands** under one `/alignment` group (`set`, `show`, `remove`, `admin add`, + `admin remove`, `admin list`) instead of six top-level commands. Merge `alignment_set` and + `alignment_set_other`, since the second already covers the first. +4. **List the admins:** `/alignment admin list`. There's no way to see who they are today. +5. **Clear a chart** (alignment admins): wipe the chart, keeping the admins, with a confirmation button. +6. **Members who leave:** take them off the chart on `on_member_remove`, or show them greyed out. +7. **Recognise Red's admin and mod roles** (`bot.is_admin` and `bot.is_mod`) as alignment admins, so each + server doesn't have to set up its own list. +8. **Text commands** (`[p]alignment …`) for servers that haven't enabled slash commands. Today the cog only + works after `[p]slash enable` for each command and a `[p]slash sync`. +9. **Export and import** a chart as YAML, the format the cog used before it moved to Config, for backups and + for moving between servers. +10. Ideas, not commitments: + - let members suggest an alignment for someone else, applied when that person or an admin accepts; + - custom charts per server (other axes or labels than lawful/chaotic and good/evil). + +## Fixed in the 2026-11-05 cleanup + +- Setting or removing an alignment wiped the server's admin list. +- Charts were YAML files inside the cog folder, which Red's Downloader replaces on every update. They now + live in Red's Config, in the bot's database. +- The cog imported Wand (ImageMagick) at load time, so it couldn't load on dogebot. +- `info.json` pip-installed this whole repo, including `red-discordbot` and `discord`, into Red's lib folder. +- `/alignment_remove_admin` let the bot owner past one check and then refused them at the next. +- Added `red_delete_data_for_user`, so Red's data deletion also clears alignment charts and admin lists. diff --git a/doge_alignment/__init__.py b/doge_alignment/__init__.py index 5890219..f1df834 100644 --- a/doge_alignment/__init__.py +++ b/doge_alignment/__init__.py @@ -1,5 +1,17 @@ +"""Red cog: a server's D&D alignment chart.""" + +from redbot.core.bot import Red + from .doge_alignment import AlignmentCog +__red_end_user_data_statement__ = ( + "This cog stores your alignment, display name and avatar URL " + "for each server's chart, and whether you are an alignment admin " + "there. `/alignment_remove` takes you off a chart; Red's data " + "deletion removes you everywhere." +) -async def setup(bot): - await bot.add_cog(AlignmentCog(bot)) + +async def setup(bot: Red) -> None: + """Red's entry point.""" + await bot.add_cog(AlignmentCog(bot)) diff --git a/doge_alignment/chart.py b/doge_alignment/chart.py new file mode 100644 index 0000000..d90e8a6 --- /dev/null +++ b/doge_alignment/chart.py @@ -0,0 +1,175 @@ +"""The alignment chart: who sits where, and who may change it. + +Pure functions on plain dicts (stored as-is in Red's Config), so they can be +tested without a bot. Every change returns a new chart and leaves the old one +alone. +""" + +from typing import Literal, TypedDict, cast, get_args + +AlignmentName = Literal[ + "Lawful Good", + "Neutral Good", + "Chaotic Good", + "Lawful Neutral", + "True Neutral", + "Chaotic Neutral", + "Lawful Evil", + "Neutral Evil", + "Chaotic Evil", +] + +# The classic 3x3 chart, row by row: good, neutral, evil +ALIGNMENTS: tuple[AlignmentName, ...] = get_args(AlignmentName) + + +class UserAlignment(TypedDict): + """One user's place on the chart.""" + + alignment: AlignmentName + display_name: str + avatar_url: str | None + + +class AlignmentChart(TypedDict): + """A server's chart. User ids are strings (Config keys must be).""" + + users: dict[str, UserAlignment] + admins: list[str] + + +def empty_chart() -> AlignmentChart: + """Return a chart with nobody on it.""" + return {"users": {}, "admins": []} + + +def is_alignment(value: str) -> bool: + """Whether ``value`` is one of the nine alignments.""" + return value in ALIGNMENTS + + +def as_alignment(value: str) -> AlignmentName: + """Return ``value`` as an alignment. + + Raises: + ValueError: if it isn't one of the nine. + + """ + if not is_alignment(value): + msg = f"{value!r} is not an alignment" + raise ValueError(msg) + return cast("AlignmentName", value) + + +def normalize_chart(data: object) -> AlignmentChart: + """Return a well-formed chart from whatever was stored.""" + if not isinstance(data, dict): + return empty_chart() + users = data.get("users") + admins = data.get("admins") + return { + "users": { + str(uid): entry + for uid, entry in (users or {}).items() + if isinstance(entry, dict) + and is_alignment(entry.get("alignment", "")) + }, + "admins": [str(a) for a in (admins or [])], + } + + +def set_user_alignment( + chart: AlignmentChart, + user_id: str, + alignment: AlignmentName, + display_name: str, + avatar_url: str | None = None, +) -> AlignmentChart: + """Return a new chart with ``user_id`` at ``alignment``.""" + users = dict(chart["users"]) + users[user_id] = { + "alignment": alignment, + "display_name": display_name, + "avatar_url": avatar_url, + } + return {"users": users, "admins": list(chart["admins"])} + + +def remove_user_alignment( + chart: AlignmentChart, user_id: str +) -> AlignmentChart: + """Return a new chart without ``user_id``.""" + users = {k: v for k, v in chart["users"].items() if k != user_id} + return {"users": users, "admins": list(chart["admins"])} + + +def add_admin(chart: AlignmentChart, user_id: str) -> AlignmentChart: + """Return a new chart where ``user_id`` is an alignment admin.""" + admins = list(chart["admins"]) + if user_id not in admins: + admins.append(user_id) + return {"users": dict(chart["users"]), "admins": admins} + + +def remove_admin(chart: AlignmentChart, user_id: str) -> AlignmentChart: + """Return a new chart where ``user_id`` is not an alignment admin.""" + admins = [a for a in chart["admins"] if a != user_id] + return {"users": dict(chart["users"]), "admins": admins} + + +def forget_user(chart: AlignmentChart, user_id: str) -> AlignmentChart: + """Return a new chart with no trace of ``user_id`` (data deletion).""" + return remove_admin(remove_user_alignment(chart, user_id), user_id) + + +def may_set( + chart: AlignmentChart, + invoker_id: str, + target_id: str, + *, + privileged: bool, +) -> bool: + """Whether ``invoker_id`` may place ``target_id`` on the chart. + + Anyone may set their own alignment and place someone who isn't on + the chart yet; only alignment admins (or ``privileged`` users, such + as the bot owner) may move someone who already is. + """ + if invoker_id == target_id or target_id not in chart["users"]: + return True + return privileged or invoker_id in chart["admins"] + + +def may_manage_admins( + chart: AlignmentChart, invoker_id: str, *, privileged: bool +) -> bool: + """Whether ``invoker_id`` may add or remove alignment admins. + + ``privileged`` covers the server owner and the bot owner. + """ + return privileged or invoker_id in chart["admins"] + + +def format_chart(chart: AlignmentChart) -> str: + """Return the chart as text, in chart order, with empty cells left out. + + Raises: + ValueError: for an empty chart; check ``chart["users"]`` first. + + """ + if not chart["users"]: + msg = "the chart is empty" + raise ValueError(msg) + lines: list[str] = [] + for alignment in ALIGNMENTS: + names = sorted( + ( + entry["display_name"] + for entry in chart["users"].values() + if entry["alignment"] == alignment + ), + key=str.casefold, + ) + if names: + lines.append(f"**{alignment}**: {', '.join(names)}") + return "\n".join(lines) diff --git a/doge_alignment/doge_alignment.py b/doge_alignment/doge_alignment.py index b7359c6..9e524f8 100644 --- a/doge_alignment/doge_alignment.py +++ b/doge_alignment/doge_alignment.py @@ -1,341 +1,241 @@ -from __future__ import annotations +"""Slash commands for a server's alignment chart.""" -from pathlib import Path +from typing import Literal import discord -from redbot.core import app_commands, commands +from redbot.core import Config, app_commands, commands +from redbot.core.bot import Red -from doge_cogs.alignment import ( - load_file_buffer, - parse_alignment_chart, +from .chart import ( + ALIGNMENTS, + AlignmentChart, + add_admin, + as_alignment, + forget_user, + format_chart, + may_manage_admins, + may_set, + normalize_chart, + remove_admin, remove_user_alignment, - save_file_buffer, - serialize_alignment_chart, set_user_alignment, ) +RequestType = Literal["discord_deleted_user", "owner", "user", "user_strict"] + +ALIGNMENT_CHOICES = [app_commands.Choice(name=a, value=a) for a in ALIGNMENTS] + + +async def _reply(interaction: discord.Interaction, text: str) -> None: + await interaction.response.send_message(text, ephemeral=True) + class AlignmentCog(commands.Cog): - """Cog for keeping track of alignment charts.""" + """Keep track of everyone's D&D alignment.""" - def __init__(self, bot) -> None: + def __init__(self, bot: Red) -> None: + """Create the cog.""" self.bot = bot - self.data_dir = Path(__file__).parent / "data" - self.data_dir.mkdir(parents=True, exist_ok=True) + self.config = Config.get_conf( + self, identifier=0xA119E5C4A7, force_registration=True + ) + self.config.register_guild(users={}, admins=[]) - def _get_server_file(self, guild_id: int) -> Path: - return self.data_dir / f"{guild_id}.yaml" + async def red_delete_data_for_user( + self, *, requester: RequestType, user_id: int + ) -> None: + """Take a user off every chart and every admin list.""" + del requester + for guild_id in await self.config.all_guilds(): + group = self.config.guild_from_id(guild_id) + chart = normalize_chart(await group.all()) + await group.set(forget_user(chart, str(user_id))) + + async def _chart(self, guild: discord.Guild) -> AlignmentChart: + return normalize_chart(await self.config.guild(guild).all()) + + async def _save( + self, guild: discord.Guild, chart: AlignmentChart + ) -> None: + await self.config.guild(guild).set(chart) + + async def _is_bot_owner( + self, user: discord.User | discord.Member + ) -> bool: + return await self.bot.is_owner(user) @app_commands.command( name="alignment_show", - description="Display current alignment chart data.", + description="Show this server's alignment chart.", ) - async def alignment_show(self, interaction: discord.Interaction): - """Display current alignment chart (text form for now).""" - guild_id = interaction.guild_id - if guild_id is None: - await interaction.response.send_message( - "This command must be used in a server.", - ephemeral=True, - ) + @app_commands.guild_only() + async def alignment_show( + self, interaction: discord.Interaction + ) -> None: + """Show the chart as text.""" + if interaction.guild is None: return - - file_path = self._get_server_file(guild_id) - raw_data = load_file_buffer(file_path) - chart = parse_alignment_chart(raw_data) - + chart = await self._chart(interaction.guild) if not chart["users"]: - await interaction.response.send_message( - "No alignments set yet.", ephemeral=True - ) + await _reply(interaction, "No alignments set yet.") return - - lines = [] - for uid, entry in chart["users"].items(): - lines.append( - f"**{entry['display_name']}** — " - f"{entry['alignment']}" - ) - text_output = "\n".join(lines) - - await interaction.response.send_message( - text_output, ephemeral=True - ) + await _reply(interaction, format_chart(chart)) @app_commands.command( name="alignment_set", description="Set your alignment." ) - @app_commands.describe(alignment="Choose your D&D style alignment.") - @app_commands.choices( - alignment=[ - app_commands.Choice(name=a, value=a) - for a in ( - "Lawful Good", - "Neutral Good", - "Chaotic Good", - "Lawful Neutral", - "True Neutral", - "Chaotic Neutral", - "Lawful Evil", - "Neutral Evil", - "Chaotic Evil", - ) - ] - ) + @app_commands.guild_only() + @app_commands.describe(alignment="Your D&D alignment.") + @app_commands.choices(alignment=ALIGNMENT_CHOICES) async def alignment_set( self, interaction: discord.Interaction, alignment: app_commands.Choice[str], - ): - guild_id = interaction.guild_id - if guild_id is None or interaction.user is None: - await interaction.response.send_message( - "This command must be used in a server.", - ephemeral=True, - ) - return - - file_path = self._get_server_file(guild_id) - raw_data = load_file_buffer(file_path) - chart = parse_alignment_chart(raw_data) - - updated_chart = set_user_alignment( - chart, - user_id=str(interaction.user.id), - alignment=alignment.value, # type: ignore - display_name=interaction.user.display_name, - avatar_url=( - interaction.user.display_avatar.url - if interaction.user.display_avatar - else None - ), - ) - - save_file_buffer( - file_path, serialize_alignment_chart(updated_chart) - ) - await interaction.response.send_message( - f"Alignment set to **{alignment.value}**.", - ephemeral=True, - ) - - @app_commands.command( - name="alignment_remove", - description="Remove your alignment from the chart.", - ) - async def alignment_remove(self, interaction: discord.Interaction): - guild_id = interaction.guild_id - if guild_id is None or interaction.user is None: - await interaction.response.send_message( - "This command must be used in a server.", - ephemeral=True, - ) - return - - file_path = self._get_server_file(guild_id) - raw_data = load_file_buffer(file_path) - chart = parse_alignment_chart(raw_data) - - updated_chart = remove_user_alignment( - chart, str(interaction.user.id) - ) - save_file_buffer( - file_path, serialize_alignment_chart(updated_chart) - ) - - await interaction.response.send_message( - "Your alignment has been removed.", ephemeral=True - ) + ) -> None: + """Put yourself on the chart.""" + await self._set(interaction, alignment.value, None) @app_commands.command( name="alignment_set_other", - description="Set alignment for another user (with restrictions).", + description="Set someone's alignment (admins can move anyone).", ) + @app_commands.guild_only() @app_commands.describe( - target="The user whose alignment to set (leave blank to set your own)", - alignment="Choose the alignment to set", - ) - @app_commands.choices( - alignment=[ - app_commands.Choice(name=a, value=a) - for a in ( - "Lawful Good", - "Neutral Good", - "Chaotic Good", - "Lawful Neutral", - "True Neutral", - "Chaotic Neutral", - "Lawful Evil", - "Neutral Evil", - "Chaotic Evil", - ) - ] + target="Whose alignment to set (blank for your own)", + alignment="The alignment to set", ) + @app_commands.choices(alignment=ALIGNMENT_CHOICES) async def alignment_set_other( self, interaction: discord.Interaction, alignment: app_commands.Choice[str], target: discord.Member | None = None, - ): - guild_id = interaction.guild_id - if guild_id is None: - await interaction.response.send_message( - "This command must be used in a server.", - ephemeral=True, - ) + ) -> None: + """Place someone on the chart.""" + await self._set(interaction, alignment.value, target) + + async def _set( + self, + interaction: discord.Interaction, + value: str, + target: discord.Member | None, + ) -> None: + guild = interaction.guild + if guild is None: return - - file_path = self._get_server_file(guild_id) - raw_data = load_file_buffer(file_path) - chart = parse_alignment_chart(raw_data) - - # Default to the person invoking if no target given - target_member = target or interaction.user + member = target or interaction.user invoker_id = str(interaction.user.id) - target_id = str(target_member.id) - - is_bot_owner = await self.bot.is_owner(interaction.user) - is_admin = invoker_id in chart["admins"] or is_bot_owner - # Rule enforcement - if ( - target_id != invoker_id - and not is_admin - and target_id in chart["users"] + target_id = str(member.id) + chart = await self._chart(guild) + privileged = await self._is_bot_owner(interaction.user) + if not may_set( + chart, invoker_id, target_id, privileged=privileged ): - await interaction.response.send_message( - ( - f"{target_member.display_name}" - " already has an alignment set." - " You cannot change it." - ), - ephemeral=True, + await _reply( + interaction, + f"{member.display_name} already has an " + "alignment; only alignment admins can change " + "it.", ) return - - # Apply update - updated_chart = set_user_alignment( - chart, - user_id=target_id, - alignment=alignment.value, - display_name=target_member.display_name, - avatar_url=( - target_member.display_avatar.url - if target_member.display_avatar - else None + alignment = as_alignment(value) + await self._save( + guild, + set_user_alignment( + chart, + user_id=target_id, + alignment=alignment, + display_name=member.display_name, + avatar_url=member.display_avatar.url, ), ) - - save_file_buffer( - file_path, serialize_alignment_chart(updated_chart) + who = ( + "Your alignment" + if target_id == invoker_id + else f"Alignment for **{member.display_name}**" ) + await _reply(interaction, f"{who} set to **{alignment}**.") - if target_id == invoker_id: - await interaction.response.send_message( - f"Your alignment set to **{alignment.value}**.", - ephemeral=True, - ) - else: - await interaction.response.send_message( - f"Alignment for **{target_member.display_name}** set to **{alignment.value}**.", - ephemeral=True, - ) + @app_commands.command( + name="alignment_remove", + description="Take yourself off the alignment chart.", + ) + @app_commands.guild_only() + async def alignment_remove( + self, interaction: discord.Interaction + ) -> None: + """Remove your own alignment.""" + if interaction.guild is None: + return + chart = await self._chart(interaction.guild) + await self._save( + interaction.guild, + remove_user_alignment(chart, str(interaction.user.id)), + ) + await _reply(interaction, "Your alignment has been removed.") + + async def _may_manage_admins( + self, interaction: discord.Interaction, chart: AlignmentChart + ) -> bool: + guild = interaction.guild + privileged = ( + guild is not None + and interaction.user.id == guild.owner_id + ) or await self._is_bot_owner(interaction.user) + return may_manage_admins( + chart, str(interaction.user.id), privileged=privileged + ) @app_commands.command( name="alignment_add_admin", - description="Add a user as alignment admin.", + description="Let someone move anyone on the alignment chart.", ) + @app_commands.guild_only() async def alignment_add_admin( self, interaction: discord.Interaction, user: discord.Member - ): - guild_id = interaction.guild_id - if guild_id is None: - await interaction.response.send_message( - "This command must be used in a server.", - ephemeral=True, + ) -> None: + """Make ``user`` an alignment admin.""" + if interaction.guild is None: + return + chart = await self._chart(interaction.guild) + if not await self._may_manage_admins(interaction, chart): + await _reply( + interaction, + "Only the server owner and alignment admins " + "can change admins.", ) return - - # Only existing admins or server owner can add new admins - file_path = self._get_server_file(guild_id) - raw_data = load_file_buffer(file_path) - chart = parse_alignment_chart(raw_data) - is_bot_owner = await self.bot.is_owner(interaction.user) - invoker_id = str(interaction.user.id) - if not ( - invoker_id == str(interaction.guild.owner_id) - or invoker_id in chart["admins"] - or is_bot_owner - ): - await interaction.response.send_message( - "You do not have permission to modify admins.", - ephemeral=True, - ) - return - - if str(user.id) not in chart["admins"]: - chart["admins"].append(str(user.id)) - save_file_buffer( - file_path, serialize_alignment_chart(chart) - ) - - await interaction.response.send_message( + await self._save( + interaction.guild, add_admin(chart, str(user.id)) + ) + await _reply( + interaction, f"{user.display_name} is now an alignment admin.", - ephemeral=True, ) @app_commands.command( name="alignment_remove_admin", - description="Remove a user from alignment admins.", + description="Remove someone from the alignment admins.", ) + @app_commands.guild_only() async def alignment_remove_admin( self, interaction: discord.Interaction, user: discord.Member - ): - guild_id = interaction.guild_id - if guild_id is None: - await interaction.response.send_message( - "This command must be used in a server.", - ephemeral=True, + ) -> None: + """Stop ``user`` being an alignment admin.""" + if interaction.guild is None: + return + chart = await self._chart(interaction.guild) + if not await self._may_manage_admins(interaction, chart): + await _reply( + interaction, + "Only the server owner and alignment admins " + "can change admins.", ) return - - file_path = self._get_server_file(guild_id) - raw_data = load_file_buffer(file_path) - chart = parse_alignment_chart(raw_data) - - is_bot_owner = await self.bot.is_owner(interaction.user) - invoker_id = str(interaction.user.id) - if not ( - invoker_id == str(interaction.guild.owner_id) - or invoker_id in chart["admins"] - or is_bot_owner - ): - await interaction.response.send_message( - "You do not have permission to modify admins.", - ephemeral=True, - ) - return - - if ( - invoker_id != str(interaction.guild.owner_id) - and invoker_id not in chart["admins"] - ): - await interaction.response.send_message( - "You do not have permission to remove admins.", - ephemeral=True, - ) - return - - if str(user.id) in chart["admins"]: - chart["admins"].remove(str(user.id)) - save_file_buffer( - file_path, serialize_alignment_chart(chart) - ) - - await interaction.response.send_message( + await self._save( + interaction.guild, remove_admin(chart, str(user.id)) + ) + await _reply( + interaction, f"{user.display_name} is no longer an alignment admin.", - ephemeral=True, ) - - -if __name__ == "__main__": - print("hello") diff --git a/doge_alignment/info.json b/doge_alignment/info.json index ff962fc..49d0a85 100644 --- a/doge_alignment/info.json +++ b/doge_alignment/info.json @@ -1,10 +1,25 @@ { - "author" : ["GodEmperorDoge", "Victor Angeles", "ur mom"], - "install_msg" : "YES FUCK YEAH WE INSTALLED THIS SHIT.", - "name" : "doge_alignment", - "short" : "Alignment chart manager", - "requirements" : ["doge_cogs @ git+https://github.com/RustyRaptor/doge_cogs.git"], - "description": "Alignment chart manager", - "permissions" : [], - "tags" : [""] + "author": [ + "GodEmperorDoge", + "Victor Angeles", + "ur mom" + ], + "install_msg": "YES FUCK YEAH WE INSTALLED THIS SHIT.", + "name": "doge_alignment", + "short": "D&D alignment chart for your server", + "requirements": [], + "description": "Slash commands to put yourself (and others) on a server's 3x3 D&D alignment chart, with alignment admins who can move anyone.", + "tags": [ + "fun", + "alignment", + "dnd" + ], + "end_user_data_statement": "This cog stores your alignment, display name and avatar URL for each server's chart, and whether you are an alignment admin there. /alignment_remove takes you off a chart; Red's data deletion removes you everywhere.", + "min_bot_version": "3.5.0", + "min_python_version": [ + 3, + 11, + 0 + ], + "type": "COG" } diff --git a/doge_alignment/render.py b/doge_alignment/render.py new file mode 100644 index 0000000..fcbc207 --- /dev/null +++ b/doge_alignment/render.py @@ -0,0 +1,85 @@ +"""Building blocks for drawing the chart as an image (not wired up yet). + +Uses Wand (ImageMagick). The cog doesn't import this module, so it loads on +hosts without ImageMagick, such as dogebot's Red container. Drawing the chart +is on the TODO list in the repo. +""" + +from typing import Literal + +from wand.color import Color +from wand.drawing import Drawing +from wand.image import Image + +BorderShape = Literal["square", "circle", "rounded"] + + +def solid_color_background( + width: int = 512, + height: int = 512, + color: str = "black", +) -> Image: + """Return a solid colour image.""" + return Image(width=width, height=height, background=Color(color)) + + +def grid_positions( + count: int, + cell_size: tuple[int, int], + gap: int, + columns: int = 3, +) -> list[tuple[int, int]]: + """Return the top-left corner of ``count`` cells in a grid. + + Cells fill left to right, then top to bottom, ``gap`` pixels apart. + """ + width, height = cell_size + return [ + ((i % columns) * (width + gap), (i // columns) * (height + gap)) + for i in range(count) + ] + + +def _mask(size: tuple[int, int], shape: BorderShape) -> Image: + mask_img = Image( + width=size[0], height=size[1], background=Color("transparent") + ) + with Drawing() as mask: + mask.fill_color = Color("white") + if shape == "circle": + mask.circle( + (size[0] // 2, size[1] // 2), + (size[0] // 2, 0), + ) + else: + radius = min(size) // 8 + mask.rectangle( + left=0, + top=0, + width=size[0] - 1, + height=size[1] - 1, + radius=radius, + ) + mask.draw(mask_img) + return mask_img + + +def process_avatar( + img: Image, + size: tuple[int, int], + border: int, + border_color: str, + shape: BorderShape, +) -> Image: + """Return a resized copy of ``img``, cut to ``shape`` and bordered.""" + out = img.clone() + out.resize(size[0], size[1]) + if shape != "square": + out.alpha_channel = "activate" + with _mask(size, shape) as mask_img: + out.composite_channel( + "alpha", mask_img, "copy_alpha", 0, 0 + ) + if border > 0: + out.border(Color(border_color), border, border) + return out diff --git a/mise.toml b/mise.toml index 8d43f05..069d0ed 100644 --- a/mise.toml +++ b/mise.toml @@ -1,5 +1,4 @@ # Dev tools and tasks. Python and its dependencies are managed by uv. -# Lint and type checks cover the watch cog; doge_alignment predates them. [tools] uv = "0.13" @@ -7,10 +6,10 @@ uv = "0.13" run = "uv sync" [tasks.fmt] -run = ["uv run ruff format watch tests", "uv run ruff check --fix watch tests"] +run = ["uv run ruff format doge_alignment watch tests", "uv run ruff check --fix doge_alignment watch tests"] [tasks.lint] -run = ["uv run ruff format --check watch tests", "uv run ruff check watch tests"] +run = ["uv run ruff format --check doge_alignment watch tests", "uv run ruff check doge_alignment watch tests"] [tasks.typecheck] run = "uv run ty check" diff --git a/pyproject.toml b/pyproject.toml index a3783a7..4b0d786 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,9 +8,9 @@ authors = [ ] requires-python = ">=3.11" dependencies = [ - "discord>=2.3.2", - "pyyaml>=6.0.2", - "red-discordbot>=3.5.20", + # The Red that dogebot runs; cogs get discord.py, PyYAML etc. from it + "red-discordbot==3.5.24", + # doge_alignment/render.py (chart image, not wired up yet; needs ImageMagick) "wand>=0.6.13", ] @@ -26,6 +26,11 @@ dev = [ "ty>=0.0.97", ] +[tool.uv] +# A collection of Red cogs, not an installable package: Red's Downloader +# installs each cog folder (and its info.json requirements) on its own. +package = false + [tool.uv.sources] media-preload-client = { path = "clients/media-preload-client", editable = true } @@ -35,12 +40,8 @@ asyncio_mode = "auto" asyncio_default_fixture_loop_scope = "function" [tool.ty.src] -# The watch cog and its tests; doge_alignment predates the type checking -include = ["watch", "tests"] +include = ["doge_alignment", "watch", "tests"] -[build-system] -requires = ["uv_build>=0.7.13,<0.8"] -build-backend = "uv_build" [tool.ruff] exclude = [ diff --git a/server_12345.yaml b/server_12345.yaml deleted file mode 100644 index c10156c..0000000 --- a/server_12345.yaml +++ /dev/null @@ -1,5 +0,0 @@ -users: - '111222333': - alignment: Chaotic Good - display_name: EpicUser - avatar_url: https://cdn.discordapp.com/avatars/111222333/avatar.png diff --git a/src/doge_cogs/__init__.py b/src/doge_cogs/__init__.py deleted file mode 100644 index fa9063f..0000000 --- a/src/doge_cogs/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -def hello() -> str: - return "Hello from doge-cogs!" diff --git a/src/doge_cogs/alignment.py b/src/doge_cogs/alignment.py deleted file mode 100644 index 1aabbcb..0000000 --- a/src/doge_cogs/alignment.py +++ /dev/null @@ -1,256 +0,0 @@ -from __future__ import annotations # noqa: D100,I001 -import subprocess -from io import BytesIO, StringIO -from pathlib import Path -from typing import Literal, TypedDict - -import yaml -from wand.image import Image -from wand.drawing import Drawing -from wand.color import Color - -# Define all possible alignments (classic 3x3 chart) -AlignmentName = Literal[ - "Lawful Good", - "Neutral Good", - "Chaotic Good", - "Lawful Neutral", - "True Neutral", - "Chaotic Neutral", - "Lawful Evil", - "Neutral Evil", - "Chaotic Evil", -] - - -BorderShape = Literal["square", "circle", "rounded"] - - -# User entry in YAML -class UserAlignment(TypedDict): - alignment: AlignmentName - display_name: str - avatar_url: str | None - - -class AlignmentChart(TypedDict): - users: dict[str, UserAlignment] - admins: list[str] # user IDs as strings - - -def solid_color_background( - width: int = 512, - height: int = 512, - color: str = "black", -) -> Image: - """Return a solid color background.""" - return Image(width=width, height=height, background=Color(color)) - - -def debug_solid_color_background() -> None: - output_path = Path("debug_bg.png") - bg = solid_color_background(300, 200, "blue") - bg.save(filename=str(output_path)) - print(f"Saved {output_path} — opening in Gwenview...") - subprocess.run(["gwenview", str(output_path)], check=False) # noqa: S603, S607 - output_path.unlink() - - -def debug_styled_profile() -> None: - output_path = Path("debug_bg.png") - bg = solid_color_background(300, 200, "blue") - bg_styled = process_avatar( - bg, - (300, 200), - 30, - "green", - "rounded", - ) - bg_styled.save(filename=str(output_path)) - print(f"Saved {output_path} — opening in Gwenview...") - subprocess.run(["gwenview", str(output_path)], check=False) # noqa: S603, S607 - output_path.unlink() - - -def layout_positions( - num_images: int, - cell_size: tuple[int, int], - gap: int, -) -> list[tuple[int, int]]: - """Calculate top-left positions for a simple grid layout.""" - cols = int((cell_size[0] + gap) // (cell_size[0] + gap)) - print(cols) - # For now we can just return fixed offsets for all images in a row - # Later we can make a proper auto-grid based on aspect ratio - return [(0, i * (cell_size[1] + gap)) for i in range(num_images)] - - -def process_avatar( - img: Image, - size: tuple[int, int], - border: int, - border_color: str, - shape: BorderShape, -) -> Image: - img.resize(size[0], size[1]) - - # Apply shape - match shape: - case "circle": - with ( - Drawing() as mask, - Image( - width=size[0], - height=size[1], - background=Color("transparent"), - ) as mask_img, - ): - mask.circle( - (size[0] // 2, size[1] // 2), - (size[0] // 2, size[1]), - ) - mask.draw(mask_img) - img.composite_channel( - "alpha", - mask_img, - "copy_alpha", - 0, - 0, - ) - case "rounded": - with ( - Drawing() as mask, - Image( - width=size[0], - height=size[1], - background=Color("transparent"), - ) as mask_img, - ): - radius = min(size) // 8 - mask.rectangle( - 0, - 0, - size[0], - size[1], - radius=radius, - ) - - mask.draw(mask_img) - img.composite_channel( - "alpha", - mask_img, - "copy_alpha", - 0, - 0, - ) - case _: - pass - # Add border - if border > 0: - img.border(Color(border_color), border, border) - - return img.clone() - - -def normalize_chart(chart: dict) -> AlignmentChart: - return { - "users": chart.get("users", {}), - "admins": chart.get("admins", []), - } - - -def load_alignment_chart(buf: BytesIO) -> AlignmentChart: - buf.seek(0) - chart = yaml.safe_load(buf) or {} - return normalize_chart(chart) - - -def parse_alignment_chart(data: BytesIO) -> AlignmentChart: - data.seek(0) - text = data.read().decode("utf-8") or "" - loaded = yaml.safe_load(text) - if not loaded: - return {"users": {}, "admins": []} - if "users" not in loaded: - loaded["users"] = {} - if "admins" not in loaded: - loaded["admins"] = [] - return normalize_chart(loaded) # type: ignore - - -def serialize_alignment_chart(chart: AlignmentChart) -> BytesIO: - """Convert Python dict into YAML BytesIO.""" - text_buf = StringIO() - yaml.safe_dump(chart, text_buf, sort_keys=False) - bytes_buf = BytesIO(text_buf.getvalue().encode("utf-8")) - bytes_buf.seek(0) - return bytes_buf - - -def set_user_alignment( - chart: AlignmentChart, - user_id: str, - alignment: AlignmentName, - display_name: str, - avatar_url: str | None = None, -) -> AlignmentChart: - """Return a new chart with updated alignment for a user.""" - new_chart = {"users": dict(chart["users"])} - new_chart["users"][user_id] = { - "alignment": alignment, - "display_name": display_name, - "avatar_url": avatar_url, - } - return new_chart # type: ignore - - -def remove_user_alignment( - chart: AlignmentChart, - user_id: str, -) -> AlignmentChart: - """Return a new chart with a user removed.""" - new_chart = {"users": dict(chart["users"])} - new_chart["users"].pop(user_id, None) - return new_chart # type: ignore - - -def load_file_buffer(path: Path) -> BytesIO: - """Load YAML file from disk into BytesIO. Creates empty if missing.""" - if not path.exists(): - return BytesIO() - return BytesIO(path.read_bytes()) - - -def save_file_buffer(path: Path, data: BytesIO) -> None: - """Write YAML BytesIO back to disk.""" - path.write_bytes(data.getvalue()) - - -if __name__ == "__main__": - file_path = Path("server_12345.yaml") - - # Load from disk - raw_data = load_file_buffer(file_path) - - # Parse - chart = parse_alignment_chart(raw_data) - - # Modify (pure) - updated_chart = set_user_alignment( - chart, - user_id="111222333", - alignment="Chaotic Good", - display_name="EpicUser", - avatar_url=( - "https://cdn.discordapp.com" - "/avatars/111222333/avatar.png" - ), - ) - print(updated_chart, chart, raw_data) - # Serialize (pure) - new_bytes = serialize_alignment_chart(updated_chart) - - # Save (impure) - save_file_buffer(file_path, new_bytes) - debug_solid_color_background() - debug_styled_profile() diff --git a/src/doge_cogs/py.typed b/src/doge_cogs/py.typed deleted file mode 100644 index e69de29..0000000 diff --git a/src/doge_cogs/tests.py b/src/doge_cogs/tests.py deleted file mode 100644 index 4054323..0000000 --- a/src/doge_cogs/tests.py +++ /dev/null @@ -1,87 +0,0 @@ -import tempfile -import unittest -from io import BytesIO -from pathlib import Path - -from doge_cogs.alignment import ( - AlignmentChart, - load_file_buffer, - parse_alignment_chart, - remove_user_alignment, - save_file_buffer, - serialize_alignment_chart, - set_user_alignment, -) - - -class TestAlignmentChart(unittest.TestCase): - def test_parse_empty_yaml(self): - buf = BytesIO() - chart = parse_alignment_chart(buf) - self.assertEqual(chart, {"users": {}, "admins": []}) - - def test_set_user_alignment(self): - chart: AlignmentChart = {"users": {}, "admins": []} - updated = set_user_alignment( - chart, - user_id="123", - alignment="Lawful Good", - display_name="Tester", - avatar_url=None, - ) - self.assertIn("123", updated["users"]) - self.assertEqual( - updated["users"]["123"]["alignment"], "Lawful Good" - ) - self.assertEqual( - updated["users"]["123"]["display_name"], "Tester" - ) - self.assertEqual( - chart, {"users": {}, "admins": []} - ) # original unchanged - - def test_remove_user_alignment(self): - chart: AlignmentChart = { - "users": { - "123": { - "alignment": "Lawful Good", - "display_name": "Tester", - "avatar_url": None, - } - }, - "admins": [], - } - updated = remove_user_alignment(chart, "123") - self.assertNotIn("123", updated["users"]) - self.assertIn("123", chart["users"]) # original unchanged - - def test_serialization_round_trip(self): - chart: AlignmentChart = {"users": {}, "admins": []} - buf = serialize_alignment_chart(chart) - parsed = parse_alignment_chart(buf) - self.assertEqual(chart, parsed) - - def test_load_and_save_file(self): - with tempfile.TemporaryDirectory() as tmpdir: - path = Path(tmpdir) / "test.yaml" - - # Save initial - chart: AlignmentChart = {"users": {}, "admins": []} - buf = serialize_alignment_chart(chart) - save_file_buffer(path, buf) - self.assertTrue(path.exists()) - - # Load again - loaded_buf = load_file_buffer(path) - parsed = parse_alignment_chart(loaded_buf) - self.assertEqual(parsed, {"users": {}, "admins": []}) - - - - -def main(): - unittest.main() - - -if __name__ == "__main__": - unittest.main() diff --git a/tests/test_alignment_chart.py b/tests/test_alignment_chart.py new file mode 100644 index 0000000..9c6c7dc --- /dev/null +++ b/tests/test_alignment_chart.py @@ -0,0 +1,150 @@ +"""The alignment chart's rules, as pure functions.""" + +import pytest + +from doge_alignment.chart import ( + ALIGNMENTS, + AlignmentChart, + add_admin, + as_alignment, + empty_chart, + forget_user, + format_chart, + may_manage_admins, + may_set, + normalize_chart, + remove_admin, + remove_user_alignment, + set_user_alignment, +) + + +def chart_with( + *users: tuple[str, str], admins: tuple[str, ...] = () +) -> AlignmentChart: + """Return a chart with ``(user id, alignment)`` pairs on it.""" + chart = empty_chart() + for user_id, alignment in users: + chart = set_user_alignment( + chart, + user_id, + as_alignment(alignment), + f"user{user_id}", + ) + for admin in admins: + chart = add_admin(chart, admin) + return chart + + +def test_nine_alignments_in_chart_order() -> None: + """The chart is the classic 3x3, good row first.""" + assert len(ALIGNMENTS) == 9 + assert ALIGNMENTS[0] == "Lawful Good" + assert ALIGNMENTS[4] == "True Neutral" + assert ALIGNMENTS[-1] == "Chaotic Evil" + + +def test_set_keeps_admins_and_original() -> None: + """Regression: setting an alignment used to drop the admin list.""" + chart = chart_with(admins=("1",)) + updated = set_user_alignment(chart, "2", "Lawful Good", "Tester") + assert updated["admins"] == ["1"] + assert updated["users"]["2"]["alignment"] == "Lawful Good" + assert chart["users"] == {} + + +def test_remove_keeps_admins_and_original() -> None: + """Regression: removing an alignment used to drop the admin list.""" + chart = chart_with(("2", "Chaotic Evil"), admins=("1",)) + updated = remove_user_alignment(chart, "2") + assert updated == {"users": {}, "admins": ["1"]} + assert "2" in chart["users"] + + +def test_admins_are_unique_and_removable() -> None: + """Adding twice keeps one entry; removing a non-admin is harmless.""" + chart = add_admin(add_admin(empty_chart(), "1"), "1") + assert chart["admins"] == ["1"] + assert remove_admin(chart, "1")["admins"] == [] + assert remove_admin(chart, "9")["admins"] == ["1"] + + +def test_forget_user_removes_everything() -> None: + """Data deletion takes the user off the chart and the admin list.""" + chart = chart_with( + ("1", "True Neutral"), ("2", "Lawful Good"), admins=("1",) + ) + assert forget_user(chart, "1") == { + "users": {"2": chart["users"]["2"]}, + "admins": [], + } + + +@pytest.mark.parametrize( + ("invoker", "target", "privileged", "allowed"), + [ + ("1", "1", False, True), # yourself, even if already set + ("1", "3", False, True), # someone not on the chart yet + ("1", "2", False, False), # someone already on it + ("9", "2", False, True), # ...unless you're an alignment admin + ("1", "2", True, True), # ...or the bot owner + ], +) +def test_may_set( + invoker: str, target: str, *, privileged: bool, allowed: bool +) -> None: + """Only admins can move people who are already on the chart.""" + chart = chart_with( + ("1", "Lawful Good"), ("2", "Chaotic Evil"), admins=("9",) + ) + assert may_set(chart, invoker, target, privileged=privileged) is allowed + + +def test_may_manage_admins() -> None: + """Admins and privileged users manage admins; nobody else.""" + chart = chart_with(admins=("9",)) + assert may_manage_admins(chart, "9", privileged=False) + assert may_manage_admins(chart, "1", privileged=True) + assert not may_manage_admins(chart, "1", privileged=False) + + +def test_format_chart_in_chart_order() -> None: + """Rows follow the chart, names are sorted, empty cells are skipped.""" + chart = chart_with( + ("2", "Chaotic Evil"), + ("1", "Lawful Good"), + ("3", "Lawful Good"), + ) + assert format_chart(chart) == ( + "**Lawful Good**: user1, user3\n**Chaotic Evil**: user2" + ) + with pytest.raises(ValueError, match="empty"): + format_chart(empty_chart()) + + +def test_normalize_chart_repairs_stored_data() -> None: + """Missing keys, int ids and unknown alignments are cleaned up.""" + assert normalize_chart(None) == empty_chart() + assert normalize_chart({"users": None}) == empty_chart() + chart = normalize_chart( + { + "users": { + 1: { + "alignment": "Lawful Good", + "display_name": "a", + "avatar_url": None, + }, + 2: {"alignment": "Lawful Awesome"}, + }, + "admins": [5], + } + ) + assert list(chart["users"]) == ["1"] + assert chart["admins"] == ["5"] + + +def test_as_alignment_rejects_others() -> None: + """Only the nine alignments are accepted.""" + assert as_alignment("True Neutral") == "True Neutral" + with pytest.raises(ValueError, match="not an alignment"): + as_alignment("Lawful Awesome") diff --git a/tests/test_alignment_cog.py b/tests/test_alignment_cog.py new file mode 100644 index 0000000..fe716a0 --- /dev/null +++ b/tests/test_alignment_cog.py @@ -0,0 +1,55 @@ +"""The cog stores charts in Red's Config and deletes user data.""" + +from collections.abc import Iterator + +import pytest +from redbot.core import Config +from redbot.core.bot import Red + +from doge_alignment.chart import add_admin, empty_chart, set_user_alignment +from doge_alignment.doge_alignment import AlignmentCog + + +@pytest.fixture +def cog(red: Red, config: Config) -> Iterator[AlignmentCog]: + """Return an AlignmentCog on Red's test Config backend.""" + cog = AlignmentCog.__new__(AlignmentCog) + cog.bot = red + config.register_guild(users={}, admins=[]) + cog.config = config + yield cog + + +async def test_delete_data_for_user_clears_every_guild( + cog: AlignmentCog, +) -> None: + """Red's data deletion removes the user from charts and admin lists.""" + chart = add_admin( + set_user_alignment( + set_user_alignment( + empty_chart(), "1", "Lawful Good", "a" + ), + "2", + "Chaotic Evil", + "b", + ), + "1", + ) + for guild_id in (100, 200): + await cog.config.guild_from_id(guild_id).set(chart) + + await cog.red_delete_data_for_user(requester="user", user_id=1) + + for guild_id in (100, 200): + stored = await cog.config.guild_from_id(guild_id).all() + assert list(stored["users"]) == ["2"] + assert stored["admins"] == [] + + +async def test_saved_chart_round_trips(cog: AlignmentCog) -> None: + """What the cog saves is what it reads back.""" + chart = add_admin( + set_user_alignment(empty_chart(), "7", "True Neutral", "n"), "7" + ) + await cog.config.guild_from_id(300).set(chart) + assert await cog.config.guild_from_id(300).all() == chart diff --git a/tests/test_alignment_render.py b/tests/test_alignment_render.py new file mode 100644 index 0000000..597a949 --- /dev/null +++ b/tests/test_alignment_render.py @@ -0,0 +1,41 @@ +"""The image helpers for the (future) chart picture.""" + +from typing import get_args + +import pytest + +pytest.importorskip("wand.image", reason="needs ImageMagick") + +from doge_alignment.render import ( # noqa: E402 + BorderShape, + grid_positions, + process_avatar, + solid_color_background, +) + + +def test_grid_positions_fill_rows_of_three() -> None: + """Cells go left to right, then down, with gaps between them.""" + assert grid_positions(4, (100, 50), gap=10) == [ + (0, 0), + (110, 0), + (220, 0), + (0, 60), + ] + + +@pytest.mark.parametrize("shape", get_args(BorderShape)) +def test_process_avatar_size_and_border(shape: BorderShape) -> None: + """Avatars are resized, shaped and bordered on a copy.""" + with solid_color_background(300, 200, "blue") as original: + out = process_avatar(original, (64, 64), 4, "green", shape) + assert out.size == (72, 72) + assert original.size == (300, 200) + + +def test_circle_has_transparent_corners() -> None: + """Outside the circle is see-through, inside is not.""" + with solid_color_background(64, 64, "red") as img: + out = process_avatar(img, (64, 64), 0, "black", "circle") + assert out[0, 0].alpha == 0 + assert out[32, 32].alpha == 1 diff --git a/uv.lock b/uv.lock index 493abc1..d51132a 100644 --- a/uv.lock +++ b/uv.lock @@ -202,65 +202,59 @@ wheels = [ [[package]] name = "babel" -version = "2.17.0" +version = "2.18.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/7d/6b/d52e42361e1aa00709585ecc30b3f9684b3ab62530771402248b1b1d6240/babel-2.17.0.tar.gz", hash = "sha256:0c54cffb19f690cdcc52a3b50bcbf71e07a808d1c80d549f2459b9d2cf0afb9d", size = 9951852, upload-time = "2025-02-01T15:17:41.026Z" } +sdist = { url = "https://files.pythonhosted.org/packages/7d/b2/51899539b6ceeeb420d40ed3cd4b7a40519404f9baf3d4ac99dc413a834b/babel-2.18.0.tar.gz", hash = "sha256:b80b99a14bd085fcacfa15c9165f651fbb3406e66cc603abf11c5750937c992d", size = 9959554, upload-time = "2026-02-01T12:30:56.078Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/b7/b8/3fe70c75fe32afc4bb507f75563d39bc5642255d1d94f1f23604725780bf/babel-2.17.0-py3-none-any.whl", hash = "sha256:4d0b53093fdfb4b21c92b5213dba5a1b23885afa8383709427046b21c366e5f2", size = 10182537, upload-time = "2025-02-01T15:17:37.39Z" }, + { url = "https://files.pythonhosted.org/packages/77/f5/21d2de20e8b8b0408f0681956ca2c69f1320a3848ac50e6e7f39c6159675/babel-2.18.0-py3-none-any.whl", hash = "sha256:e2b422b277c2b9a9630c1d7903c2a00d0830c409c59ac8cae9081c92f1aeba35", size = 10196845, upload-time = "2026-02-01T12:30:53.445Z" }, ] [[package]] name = "brotli" -version = "1.1.0" +version = "1.2.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/2f/c2/f9e977608bdf958650638c3f1e28f85a1b075f075ebbe77db8555463787b/Brotli-1.1.0.tar.gz", hash = "sha256:81de08ac11bcb85841e440c13611c00b67d3bf82698314928d0b676362546724", size = 7372270, upload-time = "2023-09-07T14:05:41.643Z" } +sdist = { url = "https://files.pythonhosted.org/packages/f7/16/c92ca344d646e71a43b8bb353f0a6490d7f6e06210f8554c8f874e454285/brotli-1.2.0.tar.gz", hash = "sha256:e310f77e41941c13340a95976fe66a8a95b01e783d430eeaf7a2f87e0a57dd0a", size = 7388632, upload-time = "2025-11-05T18:39:42.86Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/96/12/ad41e7fadd5db55459c4c401842b47f7fee51068f86dd2894dd0dcfc2d2a/Brotli-1.1.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:a3daabb76a78f829cafc365531c972016e4aa8d5b4bf60660ad8ecee19df7ccc", size = 873068, upload-time = "2023-09-07T14:03:37.779Z" }, - { url = "https://files.pythonhosted.org/packages/95/4e/5afab7b2b4b61a84e9c75b17814198ce515343a44e2ed4488fac314cd0a9/Brotli-1.1.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c8146669223164fc87a7e3de9f81e9423c67a79d6b3447994dfb9c95da16e2d6", size = 446244, upload-time = "2023-09-07T14:03:39.223Z" }, - { url = "https://files.pythonhosted.org/packages/9d/e6/f305eb61fb9a8580c525478a4a34c5ae1a9bcb12c3aee619114940bc513d/Brotli-1.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:30924eb4c57903d5a7526b08ef4a584acc22ab1ffa085faceb521521d2de32dd", size = 2906500, upload-time = "2023-09-07T14:03:40.858Z" }, - { url = "https://files.pythonhosted.org/packages/3e/4f/af6846cfbc1550a3024e5d3775ede1e00474c40882c7bf5b37a43ca35e91/Brotli-1.1.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ceb64bbc6eac5a140ca649003756940f8d6a7c444a68af170b3187623b43bebf", size = 2943950, upload-time = "2023-09-07T14:03:42.896Z" }, - { url = "https://files.pythonhosted.org/packages/b3/e7/ca2993c7682d8629b62630ebf0d1f3bb3d579e667ce8e7ca03a0a0576a2d/Brotli-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a469274ad18dc0e4d316eefa616d1d0c2ff9da369af19fa6f3daa4f09671fd61", size = 2918527, upload-time = "2023-09-07T14:03:44.552Z" }, - { url = "https://files.pythonhosted.org/packages/b3/96/da98e7bedc4c51104d29cc61e5f449a502dd3dbc211944546a4cc65500d3/Brotli-1.1.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:524f35912131cc2cabb00edfd8d573b07f2d9f21fa824bd3fb19725a9cf06327", size = 2845489, upload-time = "2023-09-07T14:03:46.594Z" }, - { url = "https://files.pythonhosted.org/packages/e8/ef/ccbc16947d6ce943a7f57e1a40596c75859eeb6d279c6994eddd69615265/Brotli-1.1.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:5b3cc074004d968722f51e550b41a27be656ec48f8afaeeb45ebf65b561481dd", size = 2914080, upload-time = "2023-09-07T14:03:48.204Z" }, - { url = "https://files.pythonhosted.org/packages/80/d6/0bd38d758d1afa62a5524172f0b18626bb2392d717ff94806f741fcd5ee9/Brotli-1.1.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:19c116e796420b0cee3da1ccec3b764ed2952ccfcc298b55a10e5610ad7885f9", size = 2813051, upload-time = "2023-09-07T14:03:50.348Z" }, - { url = "https://files.pythonhosted.org/packages/14/56/48859dd5d129d7519e001f06dcfbb6e2cf6db92b2702c0c2ce7d97e086c1/Brotli-1.1.0-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:510b5b1bfbe20e1a7b3baf5fed9e9451873559a976c1a78eebaa3b86c57b4265", size = 2938172, upload-time = "2023-09-07T14:03:52.395Z" }, - { url = "https://files.pythonhosted.org/packages/3d/77/a236d5f8cd9e9f4348da5acc75ab032ab1ab2c03cc8f430d24eea2672888/Brotli-1.1.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:a1fd8a29719ccce974d523580987b7f8229aeace506952fa9ce1d53a033873c8", size = 2933023, upload-time = "2023-09-07T14:03:53.96Z" }, - { url = "https://files.pythonhosted.org/packages/f1/87/3b283efc0f5cb35f7f84c0c240b1e1a1003a5e47141a4881bf87c86d0ce2/Brotli-1.1.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c247dd99d39e0338a604f8c2b3bc7061d5c2e9e2ac7ba9cc1be5a69cb6cd832f", size = 2935871, upload-time = "2024-10-18T12:32:16.688Z" }, - { url = "https://files.pythonhosted.org/packages/f3/eb/2be4cc3e2141dc1a43ad4ca1875a72088229de38c68e842746b342667b2a/Brotli-1.1.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:1b2c248cd517c222d89e74669a4adfa5577e06ab68771a529060cf5a156e9757", size = 2847784, upload-time = "2024-10-18T12:32:18.459Z" }, - { url = "https://files.pythonhosted.org/packages/66/13/b58ddebfd35edde572ccefe6890cf7c493f0c319aad2a5badee134b4d8ec/Brotli-1.1.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:2a24c50840d89ded6c9a8fdc7b6ed3692ed4e86f1c4a4a938e1e92def92933e0", size = 3034905, upload-time = "2024-10-18T12:32:20.192Z" }, - { url = "https://files.pythonhosted.org/packages/84/9c/bc96b6c7db824998a49ed3b38e441a2cae9234da6fa11f6ed17e8cf4f147/Brotli-1.1.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f31859074d57b4639318523d6ffdca586ace54271a73ad23ad021acd807eb14b", size = 2929467, upload-time = "2024-10-18T12:32:21.774Z" }, - { url = "https://files.pythonhosted.org/packages/e7/71/8f161dee223c7ff7fea9d44893fba953ce97cf2c3c33f78ba260a91bcff5/Brotli-1.1.0-cp311-cp311-win32.whl", hash = "sha256:39da8adedf6942d76dc3e46653e52df937a3c4d6d18fdc94a7c29d263b1f5b50", size = 333169, upload-time = "2023-09-07T14:03:55.404Z" }, - { url = "https://files.pythonhosted.org/packages/02/8a/fece0ee1057643cb2a5bbf59682de13f1725f8482b2c057d4e799d7ade75/Brotli-1.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:aac0411d20e345dc0920bdec5548e438e999ff68d77564d5e9463a7ca9d3e7b1", size = 357253, upload-time = "2023-09-07T14:03:56.643Z" }, - { url = "https://files.pythonhosted.org/packages/5c/d0/5373ae13b93fe00095a58efcbce837fd470ca39f703a235d2a999baadfbc/Brotli-1.1.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:32d95b80260d79926f5fab3c41701dbb818fde1c9da590e77e571eefd14abe28", size = 815693, upload-time = "2024-10-18T12:32:23.824Z" }, - { url = "https://files.pythonhosted.org/packages/8e/48/f6e1cdf86751300c288c1459724bfa6917a80e30dbfc326f92cea5d3683a/Brotli-1.1.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b760c65308ff1e462f65d69c12e4ae085cff3b332d894637f6273a12a482d09f", size = 422489, upload-time = "2024-10-18T12:32:25.641Z" }, - { url = "https://files.pythonhosted.org/packages/06/88/564958cedce636d0f1bed313381dfc4b4e3d3f6015a63dae6146e1b8c65c/Brotli-1.1.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:316cc9b17edf613ac76b1f1f305d2a748f1b976b033b049a6ecdfd5612c70409", size = 873081, upload-time = "2023-09-07T14:03:57.967Z" }, - { url = "https://files.pythonhosted.org/packages/58/79/b7026a8bb65da9a6bb7d14329fd2bd48d2b7f86d7329d5cc8ddc6a90526f/Brotli-1.1.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:caf9ee9a5775f3111642d33b86237b05808dafcd6268faa492250e9b78046eb2", size = 446244, upload-time = "2023-09-07T14:03:59.319Z" }, - { url = "https://files.pythonhosted.org/packages/e5/18/c18c32ecea41b6c0004e15606e274006366fe19436b6adccc1ae7b2e50c2/Brotli-1.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:70051525001750221daa10907c77830bc889cb6d865cc0b813d9db7fefc21451", size = 2906505, upload-time = "2023-09-07T14:04:01.327Z" }, - { url = "https://files.pythonhosted.org/packages/08/c8/69ec0496b1ada7569b62d85893d928e865df29b90736558d6c98c2031208/Brotli-1.1.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7f4bf76817c14aa98cc6697ac02f3972cb8c3da93e9ef16b9c66573a68014f91", size = 2944152, upload-time = "2023-09-07T14:04:03.033Z" }, - { url = "https://files.pythonhosted.org/packages/ab/fb/0517cea182219d6768113a38167ef6d4eb157a033178cc938033a552ed6d/Brotli-1.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d0c5516f0aed654134a2fc936325cc2e642f8a0e096d075209672eb321cff408", size = 2919252, upload-time = "2023-09-07T14:04:04.675Z" }, - { url = "https://files.pythonhosted.org/packages/c7/53/73a3431662e33ae61a5c80b1b9d2d18f58dfa910ae8dd696e57d39f1a2f5/Brotli-1.1.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6c3020404e0b5eefd7c9485ccf8393cfb75ec38ce75586e046573c9dc29967a0", size = 2845955, upload-time = "2023-09-07T14:04:06.585Z" }, - { url = "https://files.pythonhosted.org/packages/55/ac/bd280708d9c5ebdbf9de01459e625a3e3803cce0784f47d633562cf40e83/Brotli-1.1.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:4ed11165dd45ce798d99a136808a794a748d5dc38511303239d4e2363c0695dc", size = 2914304, upload-time = "2023-09-07T14:04:08.668Z" }, - { url = "https://files.pythonhosted.org/packages/76/58/5c391b41ecfc4527d2cc3350719b02e87cb424ef8ba2023fb662f9bf743c/Brotli-1.1.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:4093c631e96fdd49e0377a9c167bfd75b6d0bad2ace734c6eb20b348bc3ea180", size = 2814452, upload-time = "2023-09-07T14:04:10.736Z" }, - { url = "https://files.pythonhosted.org/packages/c7/4e/91b8256dfe99c407f174924b65a01f5305e303f486cc7a2e8a5d43c8bec3/Brotli-1.1.0-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:7e4c4629ddad63006efa0ef968c8e4751c5868ff0b1c5c40f76524e894c50248", size = 2938751, upload-time = "2023-09-07T14:04:12.875Z" }, - { url = "https://files.pythonhosted.org/packages/5a/a6/e2a39a5d3b412938362bbbeba5af904092bf3f95b867b4a3eb856104074e/Brotli-1.1.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:861bf317735688269936f755fa136a99d1ed526883859f86e41a5d43c61d8966", size = 2933757, upload-time = "2023-09-07T14:04:14.551Z" }, - { url = "https://files.pythonhosted.org/packages/13/f0/358354786280a509482e0e77c1a5459e439766597d280f28cb097642fc26/Brotli-1.1.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:87a3044c3a35055527ac75e419dfa9f4f3667a1e887ee80360589eb8c90aabb9", size = 2936146, upload-time = "2024-10-18T12:32:27.257Z" }, - { url = "https://files.pythonhosted.org/packages/80/f7/daf538c1060d3a88266b80ecc1d1c98b79553b3f117a485653f17070ea2a/Brotli-1.1.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:c5529b34c1c9d937168297f2c1fde7ebe9ebdd5e121297ff9c043bdb2ae3d6fb", size = 2848055, upload-time = "2024-10-18T12:32:29.376Z" }, - { url = "https://files.pythonhosted.org/packages/ad/cf/0eaa0585c4077d3c2d1edf322d8e97aabf317941d3a72d7b3ad8bce004b0/Brotli-1.1.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:ca63e1890ede90b2e4454f9a65135a4d387a4585ff8282bb72964fab893f2111", size = 3035102, upload-time = "2024-10-18T12:32:31.371Z" }, - { url = "https://files.pythonhosted.org/packages/d8/63/1c1585b2aa554fe6dbce30f0c18bdbc877fa9a1bf5ff17677d9cca0ac122/Brotli-1.1.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e79e6520141d792237c70bcd7a3b122d00f2613769ae0cb61c52e89fd3443839", size = 2930029, upload-time = "2024-10-18T12:32:33.293Z" }, - { url = "https://files.pythonhosted.org/packages/5f/3b/4e3fd1893eb3bbfef8e5a80d4508bec17a57bb92d586c85c12d28666bb13/Brotli-1.1.0-cp312-cp312-win32.whl", hash = "sha256:5f4d5ea15c9382135076d2fb28dde923352fe02951e66935a9efaac8f10e81b0", size = 333276, upload-time = "2023-09-07T14:04:16.49Z" }, - { url = "https://files.pythonhosted.org/packages/3d/d5/942051b45a9e883b5b6e98c041698b1eb2012d25e5948c58d6bf85b1bb43/Brotli-1.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:906bc3a79de8c4ae5b86d3d75a8b77e44404b0f4261714306e3ad248d8ab0951", size = 357255, upload-time = "2023-09-07T14:04:17.83Z" }, - { url = "https://files.pythonhosted.org/packages/0a/9f/fb37bb8ffc52a8da37b1c03c459a8cd55df7a57bdccd8831d500e994a0ca/Brotli-1.1.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:8bf32b98b75c13ec7cf774164172683d6e7891088f6316e54425fde1efc276d5", size = 815681, upload-time = "2024-10-18T12:32:34.942Z" }, - { url = "https://files.pythonhosted.org/packages/06/b3/dbd332a988586fefb0aa49c779f59f47cae76855c2d00f450364bb574cac/Brotli-1.1.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:7bc37c4d6b87fb1017ea28c9508b36bbcb0c3d18b4260fcdf08b200c74a6aee8", size = 422475, upload-time = "2024-10-18T12:32:36.485Z" }, - { url = "https://files.pythonhosted.org/packages/bb/80/6aaddc2f63dbcf2d93c2d204e49c11a9ec93a8c7c63261e2b4bd35198283/Brotli-1.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3c0ef38c7a7014ffac184db9e04debe495d317cc9c6fb10071f7fefd93100a4f", size = 2906173, upload-time = "2024-10-18T12:32:37.978Z" }, - { url = "https://files.pythonhosted.org/packages/ea/1d/e6ca79c96ff5b641df6097d299347507d39a9604bde8915e76bf026d6c77/Brotli-1.1.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:91d7cc2a76b5567591d12c01f019dd7afce6ba8cba6571187e21e2fc418ae648", size = 2943803, upload-time = "2024-10-18T12:32:39.606Z" }, - { url = "https://files.pythonhosted.org/packages/ac/a3/d98d2472e0130b7dd3acdbb7f390d478123dbf62b7d32bda5c830a96116d/Brotli-1.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a93dde851926f4f2678e704fadeb39e16c35d8baebd5252c9fd94ce8ce68c4a0", size = 2918946, upload-time = "2024-10-18T12:32:41.679Z" }, - { url = "https://files.pythonhosted.org/packages/c4/a5/c69e6d272aee3e1423ed005d8915a7eaa0384c7de503da987f2d224d0721/Brotli-1.1.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f0db75f47be8b8abc8d9e31bc7aad0547ca26f24a54e6fd10231d623f183d089", size = 2845707, upload-time = "2024-10-18T12:32:43.478Z" }, - { url = "https://files.pythonhosted.org/packages/58/9f/4149d38b52725afa39067350696c09526de0125ebfbaab5acc5af28b42ea/Brotli-1.1.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:6967ced6730aed543b8673008b5a391c3b1076d834ca438bbd70635c73775368", size = 2936231, upload-time = "2024-10-18T12:32:45.224Z" }, - { url = "https://files.pythonhosted.org/packages/5a/5a/145de884285611838a16bebfdb060c231c52b8f84dfbe52b852a15780386/Brotli-1.1.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:7eedaa5d036d9336c95915035fb57422054014ebdeb6f3b42eac809928e40d0c", size = 2848157, upload-time = "2024-10-18T12:32:46.894Z" }, - { url = "https://files.pythonhosted.org/packages/50/ae/408b6bfb8525dadebd3b3dd5b19d631da4f7d46420321db44cd99dcf2f2c/Brotli-1.1.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:d487f5432bf35b60ed625d7e1b448e2dc855422e87469e3f450aa5552b0eb284", size = 3035122, upload-time = "2024-10-18T12:32:48.844Z" }, - { url = "https://files.pythonhosted.org/packages/af/85/a94e5cfaa0ca449d8f91c3d6f78313ebf919a0dbd55a100c711c6e9655bc/Brotli-1.1.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:832436e59afb93e1836081a20f324cb185836c617659b07b129141a8426973c7", size = 2930206, upload-time = "2024-10-18T12:32:51.198Z" }, - { url = "https://files.pythonhosted.org/packages/c2/f0/a61d9262cd01351df22e57ad7c34f66794709acab13f34be2675f45bf89d/Brotli-1.1.0-cp313-cp313-win32.whl", hash = "sha256:43395e90523f9c23a3d5bdf004733246fba087f2948f87ab28015f12359ca6a0", size = 333804, upload-time = "2024-10-18T12:32:52.661Z" }, - { url = "https://files.pythonhosted.org/packages/7e/c1/ec214e9c94000d1c1974ec67ced1c970c148aa6b8d8373066123fc3dbf06/Brotli-1.1.0-cp313-cp313-win_amd64.whl", hash = "sha256:9011560a466d2eb3f5a6e4929cf4a09be405c64154e12df0dd72713f6500e32b", size = 358517, upload-time = "2024-10-18T12:32:54.066Z" }, + { url = "https://files.pythonhosted.org/packages/7a/ef/f285668811a9e1ddb47a18cb0b437d5fc2760d537a2fe8a57875ad6f8448/brotli-1.2.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:15b33fe93cedc4caaff8a0bd1eb7e3dab1c61bb22a0bf5bdfdfd97cd7da79744", size = 863110, upload-time = "2025-11-05T18:38:12.978Z" }, + { url = "https://files.pythonhosted.org/packages/50/62/a3b77593587010c789a9d6eaa527c79e0848b7b860402cc64bc0bc28a86c/brotli-1.2.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:898be2be399c221d2671d29eed26b6b2713a02c2119168ed914e7d00ceadb56f", size = 445438, upload-time = "2025-11-05T18:38:14.208Z" }, + { url = "https://files.pythonhosted.org/packages/cd/e1/7fadd47f40ce5549dc44493877db40292277db373da5053aff181656e16e/brotli-1.2.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:350c8348f0e76fff0a0fd6c26755d2653863279d086d3aa2c290a6a7251135dd", size = 1534420, upload-time = "2025-11-05T18:38:15.111Z" }, + { url = "https://files.pythonhosted.org/packages/12/8b/1ed2f64054a5a008a4ccd2f271dbba7a5fb1a3067a99f5ceadedd4c1d5a7/brotli-1.2.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2e1ad3fda65ae0d93fec742a128d72e145c9c7a99ee2fcd667785d99eb25a7fe", size = 1632619, upload-time = "2025-11-05T18:38:16.094Z" }, + { url = "https://files.pythonhosted.org/packages/89/5a/7071a621eb2d052d64efd5da2ef55ecdac7c3b0c6e4f9d519e9c66d987ef/brotli-1.2.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:40d918bce2b427a0c4ba189df7a006ac0c7277c180aee4617d99e9ccaaf59e6a", size = 1426014, upload-time = "2025-11-05T18:38:17.177Z" }, + { url = "https://files.pythonhosted.org/packages/26/6d/0971a8ea435af5156acaaccec1a505f981c9c80227633851f2810abd252a/brotli-1.2.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:2a7f1d03727130fc875448b65b127a9ec5d06d19d0148e7554384229706f9d1b", size = 1489661, upload-time = "2025-11-05T18:38:18.41Z" }, + { url = "https://files.pythonhosted.org/packages/f3/75/c1baca8b4ec6c96a03ef8230fab2a785e35297632f402ebb1e78a1e39116/brotli-1.2.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:9c79f57faa25d97900bfb119480806d783fba83cd09ee0b33c17623935b05fa3", size = 1599150, upload-time = "2025-11-05T18:38:19.792Z" }, + { url = "https://files.pythonhosted.org/packages/0d/1a/23fcfee1c324fd48a63d7ebf4bac3a4115bdb1b00e600f80f727d850b1ae/brotli-1.2.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:844a8ceb8483fefafc412f85c14f2aae2fb69567bf2a0de53cdb88b73e7c43ae", size = 1493505, upload-time = "2025-11-05T18:38:20.913Z" }, + { url = "https://files.pythonhosted.org/packages/36/e5/12904bbd36afeef53d45a84881a4810ae8810ad7e328a971ebbfd760a0b3/brotli-1.2.0-cp311-cp311-win32.whl", hash = "sha256:aa47441fa3026543513139cb8926a92a8e305ee9c71a6209ef7a97d91640ea03", size = 334451, upload-time = "2025-11-05T18:38:21.94Z" }, + { url = "https://files.pythonhosted.org/packages/02/8b/ecb5761b989629a4758c394b9301607a5880de61ee2ee5fe104b87149ebc/brotli-1.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:022426c9e99fd65d9475dce5c195526f04bb8be8907607e27e747893f6ee3e24", size = 369035, upload-time = "2025-11-05T18:38:22.941Z" }, + { url = "https://files.pythonhosted.org/packages/11/ee/b0a11ab2315c69bb9b45a2aaed022499c9c24a205c3a49c3513b541a7967/brotli-1.2.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:35d382625778834a7f3061b15423919aa03e4f5da34ac8e02c074e4b75ab4f84", size = 861543, upload-time = "2025-11-05T18:38:24.183Z" }, + { url = "https://files.pythonhosted.org/packages/e1/2f/29c1459513cd35828e25531ebfcbf3e92a5e49f560b1777a9af7203eb46e/brotli-1.2.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7a61c06b334bd99bc5ae84f1eeb36bfe01400264b3c352f968c6e30a10f9d08b", size = 444288, upload-time = "2025-11-05T18:38:25.139Z" }, + { url = "https://files.pythonhosted.org/packages/3d/6f/feba03130d5fceadfa3a1bb102cb14650798c848b1df2a808356f939bb16/brotli-1.2.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:acec55bb7c90f1dfc476126f9711a8e81c9af7fb617409a9ee2953115343f08d", size = 1528071, upload-time = "2025-11-05T18:38:26.081Z" }, + { url = "https://files.pythonhosted.org/packages/2b/38/f3abb554eee089bd15471057ba85f47e53a44a462cfce265d9bf7088eb09/brotli-1.2.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:260d3692396e1895c5034f204f0db022c056f9e2ac841593a4cf9426e2a3faca", size = 1626913, upload-time = "2025-11-05T18:38:27.284Z" }, + { url = "https://files.pythonhosted.org/packages/03/a7/03aa61fbc3c5cbf99b44d158665f9b0dd3d8059be16c460208d9e385c837/brotli-1.2.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:072e7624b1fc4d601036ab3f4f27942ef772887e876beff0301d261210bca97f", size = 1419762, upload-time = "2025-11-05T18:38:28.295Z" }, + { url = "https://files.pythonhosted.org/packages/21/1b/0374a89ee27d152a5069c356c96b93afd1b94eae83f1e004b57eb6ce2f10/brotli-1.2.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:adedc4a67e15327dfdd04884873c6d5a01d3e3b6f61406f99b1ed4865a2f6d28", size = 1484494, upload-time = "2025-11-05T18:38:29.29Z" }, + { url = "https://files.pythonhosted.org/packages/cf/57/69d4fe84a67aef4f524dcd075c6eee868d7850e85bf01d778a857d8dbe0a/brotli-1.2.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:7a47ce5c2288702e09dc22a44d0ee6152f2c7eda97b3c8482d826a1f3cfc7da7", size = 1593302, upload-time = "2025-11-05T18:38:30.639Z" }, + { url = "https://files.pythonhosted.org/packages/d5/3b/39e13ce78a8e9a621c5df3aeb5fd181fcc8caba8c48a194cd629771f6828/brotli-1.2.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:af43b8711a8264bb4e7d6d9a6d004c3a2019c04c01127a868709ec29962b6036", size = 1487913, upload-time = "2025-11-05T18:38:31.618Z" }, + { url = "https://files.pythonhosted.org/packages/62/28/4d00cb9bd76a6357a66fcd54b4b6d70288385584063f4b07884c1e7286ac/brotli-1.2.0-cp312-cp312-win32.whl", hash = "sha256:e99befa0b48f3cd293dafeacdd0d191804d105d279e0b387a32054c1180f3161", size = 334362, upload-time = "2025-11-05T18:38:32.939Z" }, + { url = "https://files.pythonhosted.org/packages/1c/4e/bc1dcac9498859d5e353c9b153627a3752868a9d5f05ce8dedd81a2354ab/brotli-1.2.0-cp312-cp312-win_amd64.whl", hash = "sha256:b35c13ce241abdd44cb8ca70683f20c0c079728a36a996297adb5334adfc1c44", size = 369115, upload-time = "2025-11-05T18:38:33.765Z" }, + { url = "https://files.pythonhosted.org/packages/6c/d4/4ad5432ac98c73096159d9ce7ffeb82d151c2ac84adcc6168e476bb54674/brotli-1.2.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:9e5825ba2c9998375530504578fd4d5d1059d09621a02065d1b6bfc41a8e05ab", size = 861523, upload-time = "2025-11-05T18:38:34.67Z" }, + { url = "https://files.pythonhosted.org/packages/91/9f/9cc5bd03ee68a85dc4bc89114f7067c056a3c14b3d95f171918c088bf88d/brotli-1.2.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:0cf8c3b8ba93d496b2fae778039e2f5ecc7cff99df84df337ca31d8f2252896c", size = 444289, upload-time = "2025-11-05T18:38:35.6Z" }, + { url = "https://files.pythonhosted.org/packages/2e/b6/fe84227c56a865d16a6614e2c4722864b380cb14b13f3e6bef441e73a85a/brotli-1.2.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c8565e3cdc1808b1a34714b553b262c5de5fbda202285782173ec137fd13709f", size = 1528076, upload-time = "2025-11-05T18:38:36.639Z" }, + { url = "https://files.pythonhosted.org/packages/55/de/de4ae0aaca06c790371cf6e7ee93a024f6b4bb0568727da8c3de112e726c/brotli-1.2.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:26e8d3ecb0ee458a9804f47f21b74845cc823fd1bb19f02272be70774f56e2a6", size = 1626880, upload-time = "2025-11-05T18:38:37.623Z" }, + { url = "https://files.pythonhosted.org/packages/5f/16/a1b22cbea436642e071adcaf8d4b350a2ad02f5e0ad0da879a1be16188a0/brotli-1.2.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:67a91c5187e1eec76a61625c77a6c8c785650f5b576ca732bd33ef58b0dff49c", size = 1419737, upload-time = "2025-11-05T18:38:38.729Z" }, + { url = "https://files.pythonhosted.org/packages/46/63/c968a97cbb3bdbf7f974ef5a6ab467a2879b82afbc5ffb65b8acbb744f95/brotli-1.2.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:4ecdb3b6dc36e6d6e14d3a1bdc6c1057c8cbf80db04031d566eb6080ce283a48", size = 1484440, upload-time = "2025-11-05T18:38:39.916Z" }, + { url = "https://files.pythonhosted.org/packages/06/9d/102c67ea5c9fc171f423e8399e585dabea29b5bc79b05572891e70013cdd/brotli-1.2.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:3e1b35d56856f3ed326b140d3c6d9db91740f22e14b06e840fe4bb1923439a18", size = 1593313, upload-time = "2025-11-05T18:38:41.24Z" }, + { url = "https://files.pythonhosted.org/packages/9e/4a/9526d14fa6b87bc827ba1755a8440e214ff90de03095cacd78a64abe2b7d/brotli-1.2.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:54a50a9dad16b32136b2241ddea9e4df159b41247b2ce6aac0b3276a66a8f1e5", size = 1487945, upload-time = "2025-11-05T18:38:42.277Z" }, + { url = "https://files.pythonhosted.org/packages/5b/e8/3fe1ffed70cbef83c5236166acaed7bb9c766509b157854c80e2f766b38c/brotli-1.2.0-cp313-cp313-win32.whl", hash = "sha256:1b1d6a4efedd53671c793be6dd760fcf2107da3a52331ad9ea429edf0902f27a", size = 334368, upload-time = "2025-11-05T18:38:43.345Z" }, + { url = "https://files.pythonhosted.org/packages/ff/91/e739587be970a113b37b821eae8097aac5a48e5f0eca438c22e4c7dd8648/brotli-1.2.0-cp313-cp313-win_amd64.whl", hash = "sha256:b63daa43d82f0cdabf98dee215b375b4058cce72871fd07934f179885aad16e8", size = 369116, upload-time = "2025-11-05T18:38:44.609Z" }, + { url = "https://files.pythonhosted.org/packages/17/e1/298c2ddf786bb7347a1cd71d63a347a79e5712a7c0cba9e3c3458ebd976f/brotli-1.2.0-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:6c12dad5cd04530323e723787ff762bac749a7b256a5bece32b2243dd5c27b21", size = 863080, upload-time = "2025-11-05T18:38:45.503Z" }, + { url = "https://files.pythonhosted.org/packages/84/0c/aac98e286ba66868b2b3b50338ffbd85a35c7122e9531a73a37a29763d38/brotli-1.2.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:3219bd9e69868e57183316ee19c84e03e8f8b5a1d1f2667e1aa8c2f91cb061ac", size = 445453, upload-time = "2025-11-05T18:38:46.433Z" }, + { url = "https://files.pythonhosted.org/packages/ec/f1/0ca1f3f99ae300372635ab3fe2f7a79fa335fee3d874fa7f9e68575e0e62/brotli-1.2.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:963a08f3bebd8b75ac57661045402da15991468a621f014be54e50f53a58d19e", size = 1528168, upload-time = "2025-11-05T18:38:47.371Z" }, + { url = "https://files.pythonhosted.org/packages/d6/a6/2ebfc8f766d46df8d3e65b880a2e220732395e6d7dc312c1e1244b0f074a/brotli-1.2.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9322b9f8656782414b37e6af884146869d46ab85158201d82bab9abbcb971dc7", size = 1627098, upload-time = "2025-11-05T18:38:48.385Z" }, + { url = "https://files.pythonhosted.org/packages/f3/2f/0976d5b097ff8a22163b10617f76b2557f15f0f39d6a0fe1f02b1a53e92b/brotli-1.2.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:cf9cba6f5b78a2071ec6fb1e7bd39acf35071d90a81231d67e92d637776a6a63", size = 1419861, upload-time = "2025-11-05T18:38:49.372Z" }, + { url = "https://files.pythonhosted.org/packages/9c/97/d76df7176a2ce7616ff94c1fb72d307c9a30d2189fe877f3dd99af00ea5a/brotli-1.2.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7547369c4392b47d30a3467fe8c3330b4f2e0f7730e45e3103d7d636678a808b", size = 1484594, upload-time = "2025-11-05T18:38:50.655Z" }, + { url = "https://files.pythonhosted.org/packages/d3/93/14cf0b1216f43df5609f5b272050b0abd219e0b54ea80b47cef9867b45e7/brotli-1.2.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:fc1530af5c3c275b8524f2e24841cbe2599d74462455e9bae5109e9ff42e9361", size = 1593455, upload-time = "2025-11-05T18:38:51.624Z" }, + { url = "https://files.pythonhosted.org/packages/b3/73/3183c9e41ca755713bdf2cc1d0810df742c09484e2e1ddd693bee53877c1/brotli-1.2.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:d2d085ded05278d1c7f65560aae97b3160aeb2ea2c0b3e26204856beccb60888", size = 1488164, upload-time = "2025-11-05T18:38:53.079Z" }, + { url = "https://files.pythonhosted.org/packages/64/6a/0c78d8f3a582859236482fd9fa86a65a60328a00983006bcf6d83b7b2253/brotli-1.2.0-cp314-cp314-win32.whl", hash = "sha256:832c115a020e463c2f67664560449a7bea26b0c1fdd690352addad6d0a08714d", size = 339280, upload-time = "2025-11-05T18:38:54.02Z" }, + { url = "https://files.pythonhosted.org/packages/f5/10/56978295c14794b2c12007b07f3e41ba26acda9257457d7085b0bb3bb90c/brotli-1.2.0-cp314-cp314-win_amd64.whl", hash = "sha256:e7c0af964e0b4e3412a0ebf341ea26ec767fa0b4cf81abb5e897c9338b5ad6a3", size = 375639, upload-time = "2025-11-05T18:38:55.67Z" }, ] [[package]] @@ -338,29 +332,17 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, ] -[[package]] -name = "discord" -version = "2.3.2" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "discord-py" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/7e/9f/0763429949416aeff9c6f33051270831b72e5582273acd28053b9b949462/discord-2.3.2.tar.gz", hash = "sha256:cc1ee2dbe6df218ca51519af355b97e87309f8230f58c7f34885feb8e8a76145", size = 1137, upload-time = "2023-08-10T21:45:07.93Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/2d/38/d91ac49e8169b6c0f724f7aad26704eec07c4ecf31e067ca3d46a87e33d6/discord-2.3.2-py3-none-any.whl", hash = "sha256:d7959418799dd3b1e896685812d880169c193468b061b3431fa2a4664febd3da", size = 1132, upload-time = "2023-08-10T21:45:06.334Z" }, -] - [[package]] name = "discord-py" -version = "2.5.2" +version = "2.7.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohttp" }, { name = "audioop-lts", marker = "python_full_version >= '3.13'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/7f/dd/5817c7af5e614e45cdf38cbf6c3f4597590c442822a648121a34dee7fa0f/discord_py-2.5.2.tar.gz", hash = "sha256:01cd362023bfea1a4a1d43f5280b5ef00cad2c7eba80098909f98bf28e578524", size = 1054879, upload-time = "2025-03-05T01:15:29.798Z" } +sdist = { url = "https://files.pythonhosted.org/packages/ef/57/9a2d9abdabdc9db8ef28ce0cf4129669e1c8717ba28d607b5ba357c4de3b/discord_py-2.7.1.tar.gz", hash = "sha256:24d5e6a45535152e4b98148a9dd6b550d25dc2c9fb41b6d670319411641249da", size = 1106326, upload-time = "2026-03-03T18:40:46.24Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/57/a8/dc908a0fe4cd7e3950c9fa6906f7bf2e5d92d36b432f84897185e1b77138/discord_py-2.5.2-py3-none-any.whl", hash = "sha256:81f23a17c50509ffebe0668441cb80c139e74da5115305f70e27ce821361295a", size = 1155105, upload-time = "2025-03-05T01:15:27.323Z" }, + { url = "https://files.pythonhosted.org/packages/f7/a7/17208c3b3f92319e7fad259f1c6d5a5baf8fd0654c54846ced329f83c3eb/discord_py-2.7.1-py3-none-any.whl", hash = "sha256:849dca2c63b171146f3a7f3f8acc04248098e9e6203412ce3cf2745f284f7439", size = 1227550, upload-time = "2026-03-03T18:40:44.492Z" }, ] [[package]] @@ -375,10 +357,8 @@ wheels = [ [[package]] name = "doge-cogs" version = "0.1.0" -source = { editable = "." } +source = { virtual = "." } dependencies = [ - { name = "discord" }, - { name = "pyyaml" }, { name = "red-discordbot" }, { name = "wand" }, ] @@ -395,9 +375,7 @@ dev = [ [package.metadata] requires-dist = [ - { name = "discord", specifier = ">=2.3.2" }, - { name = "pyyaml", specifier = ">=6.0.2" }, - { name = "red-discordbot", specifier = ">=3.5.20" }, + { name = "red-discordbot", specifier = "==3.5.24" }, { name = "wand", specifier = ">=0.6.13" }, ] @@ -504,11 +482,11 @@ wheels = [ [[package]] name = "idna" -version = "3.10" +version = "3.11" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/f1/70/7703c29685631f5a7590aa73f1f1d3fa9a380e654b86af429e0934a32f7d/idna-3.10.tar.gz", hash = "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9", size = 190490, upload-time = "2024-09-15T18:07:39.745Z" } +sdist = { url = "https://files.pythonhosted.org/packages/6f/6d/0703ccc57f3a7233505399edb88de3cbd678da106337b9fcde432b65ed60/idna-3.11.tar.gz", hash = "sha256:795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902", size = 194582, upload-time = "2025-10-12T14:55:20.501Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3", size = 70442, upload-time = "2024-09-15T18:07:37.964Z" }, + { url = "https://files.pythonhosted.org/packages/0e/61/66938bbb5fc52dbdf84594873d5b51fb1f7c7794e9c0f5bd885f30bc507b/idna-3.11-py3-none-any.whl", hash = "sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea", size = 71008, upload-time = "2025-10-12T14:55:18.883Z" }, ] [[package]] @@ -680,11 +658,11 @@ wheels = [ [[package]] name = "packaging" -version = "25.0" +version = "26.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/a1/d4/1fc4078c65507b51b96ca8f8c3ba19e6a61c8253c72794544580a7b6c24d/packaging-25.0.tar.gz", hash = "sha256:d443872c98d677bf60f6a1f2f8c1cb748e8fe762d2bf9d3148b5599295b0fc4f", size = 165727, upload-time = "2025-04-19T11:48:59.673Z" } +sdist = { url = "https://files.pythonhosted.org/packages/65/ee/299d360cdc32edc7d2cf530f3accf79c4fca01e96ffc950d8a52213bd8e4/packaging-26.0.tar.gz", hash = "sha256:00243ae351a257117b6a241061796684b084ed1c516a08c48a3f7e147a9d80b4", size = 143416, upload-time = "2026-01-21T20:50:39.064Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/20/12/38679034af332785aac8774540895e234f4d07f7545804097de4b666afd8/packaging-25.0-py3-none-any.whl", hash = "sha256:29572ef2b1f17581046b3a2227d5c611fb25ec70ca1ba8554b24b0e69331a484", size = 66469, upload-time = "2025-04-19T11:48:57.875Z" }, + { url = "https://files.pythonhosted.org/packages/b7/b9/c538f279a4e237a006a2c98387d081e9eb060d203d8ed34467cc0f0b9b53/packaging-26.0-py3-none-any.whl", hash = "sha256:b36f1fef9334a5588b4166f8bcd26a14e521f2b55e6b9de3aaa80d3ff7a37529", size = 74366, upload-time = "2026-01-21T20:50:37.788Z" }, ] [[package]] @@ -773,17 +751,30 @@ wheels = [ [[package]] name = "psutil" -version = "7.0.0" +version = "7.2.2" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/2a/80/336820c1ad9286a4ded7e845b2eccfcb27851ab8ac6abece774a6ff4d3de/psutil-7.0.0.tar.gz", hash = "sha256:7be9c3eba38beccb6495ea33afd982a44074b78f28c434a1f51cc07fd315c456", size = 497003, upload-time = "2025-02-13T21:54:07.946Z" } +sdist = { url = "https://files.pythonhosted.org/packages/aa/c6/d1ddf4abb55e93cebc4f2ed8b5d6dbad109ecb8d63748dd2b20ab5e57ebe/psutil-7.2.2.tar.gz", hash = "sha256:0746f5f8d406af344fd547f1c8daa5f5c33dbc293bb8d6a16d80b4bb88f59372", size = 493740, upload-time = "2026-01-28T18:14:54.428Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/ed/e6/2d26234410f8b8abdbf891c9da62bee396583f713fb9f3325a4760875d22/psutil-7.0.0-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:101d71dc322e3cffd7cea0650b09b3d08b8e7c4109dd6809fe452dfd00e58b25", size = 238051, upload-time = "2025-02-13T21:54:12.36Z" }, - { url = "https://files.pythonhosted.org/packages/04/8b/30f930733afe425e3cbfc0e1468a30a18942350c1a8816acfade80c005c4/psutil-7.0.0-cp36-abi3-macosx_11_0_arm64.whl", hash = "sha256:39db632f6bb862eeccf56660871433e111b6ea58f2caea825571951d4b6aa3da", size = 239535, upload-time = "2025-02-13T21:54:16.07Z" }, - { url = "https://files.pythonhosted.org/packages/2a/ed/d362e84620dd22876b55389248e522338ed1bf134a5edd3b8231d7207f6d/psutil-7.0.0-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1fcee592b4c6f146991ca55919ea3d1f8926497a713ed7faaf8225e174581e91", size = 275004, upload-time = "2025-02-13T21:54:18.662Z" }, - { url = "https://files.pythonhosted.org/packages/bf/b9/b0eb3f3cbcb734d930fdf839431606844a825b23eaf9a6ab371edac8162c/psutil-7.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4b1388a4f6875d7e2aff5c4ca1cc16c545ed41dd8bb596cefea80111db353a34", size = 277986, upload-time = "2025-02-13T21:54:21.811Z" }, - { url = "https://files.pythonhosted.org/packages/eb/a2/709e0fe2f093556c17fbafda93ac032257242cabcc7ff3369e2cb76a97aa/psutil-7.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a5f098451abc2828f7dc6b58d44b532b22f2088f4999a937557b603ce72b1993", size = 279544, upload-time = "2025-02-13T21:54:24.68Z" }, - { url = "https://files.pythonhosted.org/packages/50/e6/eecf58810b9d12e6427369784efe814a1eec0f492084ce8eb8f4d89d6d61/psutil-7.0.0-cp37-abi3-win32.whl", hash = "sha256:ba3fcef7523064a6c9da440fc4d6bd07da93ac726b5733c29027d7dc95b39d99", size = 241053, upload-time = "2025-02-13T21:54:34.31Z" }, - { url = "https://files.pythonhosted.org/packages/50/1b/6921afe68c74868b4c9fa424dad3be35b095e16687989ebbb50ce4fceb7c/psutil-7.0.0-cp37-abi3-win_amd64.whl", hash = "sha256:4cf3d4eb1aa9b348dec30105c55cd9b7d4629285735a102beb4441e38db90553", size = 244885, upload-time = "2025-02-13T21:54:37.486Z" }, + { url = "https://files.pythonhosted.org/packages/51/08/510cbdb69c25a96f4ae523f733cdc963ae654904e8db864c07585ef99875/psutil-7.2.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:2edccc433cbfa046b980b0df0171cd25bcaeb3a68fe9022db0979e7aa74a826b", size = 130595, upload-time = "2026-01-28T18:14:57.293Z" }, + { url = "https://files.pythonhosted.org/packages/d6/f5/97baea3fe7a5a9af7436301f85490905379b1c6f2dd51fe3ecf24b4c5fbf/psutil-7.2.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:e78c8603dcd9a04c7364f1a3e670cea95d51ee865e4efb3556a3a63adef958ea", size = 131082, upload-time = "2026-01-28T18:14:59.732Z" }, + { url = "https://files.pythonhosted.org/packages/37/d6/246513fbf9fa174af531f28412297dd05241d97a75911ac8febefa1a53c6/psutil-7.2.2-cp313-cp313t-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1a571f2330c966c62aeda00dd24620425d4b0cc86881c89861fbc04549e5dc63", size = 181476, upload-time = "2026-01-28T18:15:01.884Z" }, + { url = "https://files.pythonhosted.org/packages/b8/b5/9182c9af3836cca61696dabe4fd1304e17bc56cb62f17439e1154f225dd3/psutil-7.2.2-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:917e891983ca3c1887b4ef36447b1e0873e70c933afc831c6b6da078ba474312", size = 184062, upload-time = "2026-01-28T18:15:04.436Z" }, + { url = "https://files.pythonhosted.org/packages/16/ba/0756dca669f5a9300d0cbcbfae9a4c30e446dfc7440ffe43ded5724bfd93/psutil-7.2.2-cp313-cp313t-win_amd64.whl", hash = "sha256:ab486563df44c17f5173621c7b198955bd6b613fb87c71c161f827d3fb149a9b", size = 139893, upload-time = "2026-01-28T18:15:06.378Z" }, + { url = "https://files.pythonhosted.org/packages/1c/61/8fa0e26f33623b49949346de05ec1ddaad02ed8ba64af45f40a147dbfa97/psutil-7.2.2-cp313-cp313t-win_arm64.whl", hash = "sha256:ae0aefdd8796a7737eccea863f80f81e468a1e4cf14d926bd9b6f5f2d5f90ca9", size = 135589, upload-time = "2026-01-28T18:15:08.03Z" }, + { url = "https://files.pythonhosted.org/packages/81/69/ef179ab5ca24f32acc1dac0c247fd6a13b501fd5534dbae0e05a1c48b66d/psutil-7.2.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:eed63d3b4d62449571547b60578c5b2c4bcccc5387148db46e0c2313dad0ee00", size = 130664, upload-time = "2026-01-28T18:15:09.469Z" }, + { url = "https://files.pythonhosted.org/packages/7b/64/665248b557a236d3fa9efc378d60d95ef56dd0a490c2cd37dafc7660d4a9/psutil-7.2.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7b6d09433a10592ce39b13d7be5a54fbac1d1228ed29abc880fb23df7cb694c9", size = 131087, upload-time = "2026-01-28T18:15:11.724Z" }, + { url = "https://files.pythonhosted.org/packages/d5/2e/e6782744700d6759ebce3043dcfa661fb61e2fb752b91cdeae9af12c2178/psutil-7.2.2-cp314-cp314t-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1fa4ecf83bcdf6e6c8f4449aff98eefb5d0604bf88cb883d7da3d8d2d909546a", size = 182383, upload-time = "2026-01-28T18:15:13.445Z" }, + { url = "https://files.pythonhosted.org/packages/57/49/0a41cefd10cb7505cdc04dab3eacf24c0c2cb158a998b8c7b1d27ee2c1f5/psutil-7.2.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e452c464a02e7dc7822a05d25db4cde564444a67e58539a00f929c51eddda0cf", size = 185210, upload-time = "2026-01-28T18:15:16.002Z" }, + { url = "https://files.pythonhosted.org/packages/dd/2c/ff9bfb544f283ba5f83ba725a3c5fec6d6b10b8f27ac1dc641c473dc390d/psutil-7.2.2-cp314-cp314t-win_amd64.whl", hash = "sha256:c7663d4e37f13e884d13994247449e9f8f574bc4655d509c3b95e9ec9e2b9dc1", size = 141228, upload-time = "2026-01-28T18:15:18.385Z" }, + { url = "https://files.pythonhosted.org/packages/f2/fc/f8d9c31db14fcec13748d373e668bc3bed94d9077dbc17fb0eebc073233c/psutil-7.2.2-cp314-cp314t-win_arm64.whl", hash = "sha256:11fe5a4f613759764e79c65cf11ebdf26e33d6dd34336f8a337aa2996d71c841", size = 136284, upload-time = "2026-01-28T18:15:19.912Z" }, + { url = "https://files.pythonhosted.org/packages/e7/36/5ee6e05c9bd427237b11b3937ad82bb8ad2752d72c6969314590dd0c2f6e/psutil-7.2.2-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:ed0cace939114f62738d808fdcecd4c869222507e266e574799e9c0faa17d486", size = 129090, upload-time = "2026-01-28T18:15:22.168Z" }, + { url = "https://files.pythonhosted.org/packages/80/c4/f5af4c1ca8c1eeb2e92ccca14ce8effdeec651d5ab6053c589b074eda6e1/psutil-7.2.2-cp36-abi3-macosx_11_0_arm64.whl", hash = "sha256:1a7b04c10f32cc88ab39cbf606e117fd74721c831c98a27dc04578deb0c16979", size = 129859, upload-time = "2026-01-28T18:15:23.795Z" }, + { url = "https://files.pythonhosted.org/packages/b5/70/5d8df3b09e25bce090399cf48e452d25c935ab72dad19406c77f4e828045/psutil-7.2.2-cp36-abi3-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:076a2d2f923fd4821644f5ba89f059523da90dc9014e85f8e45a5774ca5bc6f9", size = 155560, upload-time = "2026-01-28T18:15:25.976Z" }, + { url = "https://files.pythonhosted.org/packages/63/65/37648c0c158dc222aba51c089eb3bdfa238e621674dc42d48706e639204f/psutil-7.2.2-cp36-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b0726cecd84f9474419d67252add4ac0cd9811b04d61123054b9fb6f57df6e9e", size = 156997, upload-time = "2026-01-28T18:15:27.794Z" }, + { url = "https://files.pythonhosted.org/packages/8e/13/125093eadae863ce03c6ffdbae9929430d116a246ef69866dad94da3bfbc/psutil-7.2.2-cp36-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:fd04ef36b4a6d599bbdb225dd1d3f51e00105f6d48a28f006da7f9822f2606d8", size = 148972, upload-time = "2026-01-28T18:15:29.342Z" }, + { url = "https://files.pythonhosted.org/packages/04/78/0acd37ca84ce3ddffaa92ef0f571e073faa6d8ff1f0559ab1272188ea2be/psutil-7.2.2-cp36-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:b58fabe35e80b264a4e3bb23e6b96f9e45a3df7fb7eed419ac0e5947c61e47cc", size = 148266, upload-time = "2026-01-28T18:15:31.597Z" }, + { url = "https://files.pythonhosted.org/packages/b4/90/e2159492b5426be0c1fef7acba807a03511f97c5f86b3caeda6ad92351a7/psutil-7.2.2-cp37-abi3-win_amd64.whl", hash = "sha256:eb7e81434c8d223ec4a219b5fc1c47d0417b12be7ea866e24fb5ad6e84b3d988", size = 137737, upload-time = "2026-01-28T18:15:33.849Z" }, + { url = "https://files.pythonhosted.org/packages/8c/c7/7bb2e321574b10df20cbde462a94e2b71d05f9bbda251ef27d104668306a/psutil-7.2.2-cp37-abi3-win_arm64.whl", hash = "sha256:8c233660f575a5a89e6d4cb65d9f938126312bca76d8fe087b947b3a1aaac9ee", size = 134617, upload-time = "2026-01-28T18:15:36.514Z" }, ] [[package]] @@ -797,11 +788,11 @@ wheels = [ [[package]] name = "pygments" -version = "2.19.1" +version = "2.19.2" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/7c/2d/c3338d48ea6cc0feb8446d8e6937e1408088a72a39937982cc6111d17f84/pygments-2.19.1.tar.gz", hash = "sha256:61c16d2a8576dc0649d9f39e089b5f02bcd27fba10d8fb4dcc28173f7a45151f", size = 4968581, upload-time = "2025-01-06T17:26:30.443Z" } +sdist = { url = "https://files.pythonhosted.org/packages/b0/77/a5b8c569bf593b0140bde72ea885a803b82086995367bf2037de0159d924/pygments-2.19.2.tar.gz", hash = "sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887", size = 4968631, upload-time = "2025-06-21T13:39:12.283Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/8a/0b/9fcc47d19c48b59121088dd6da2488a49d5f72dacf8262e2790a1d2c7d15/pygments-2.19.1-py3-none-any.whl", hash = "sha256:9ea1544ad55cecf4b8242fab6dd35a93bbce657034b0611ee383099054ab6d8c", size = 1225293, upload-time = "2025-01-06T17:26:25.553Z" }, + { url = "https://files.pythonhosted.org/packages/c7/21/705964c7812476f378728bdf590ca4b771ec72385c533964653c68e86bdc/pygments-2.19.2-py3-none-any.whl", hash = "sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b", size = 1225217, upload-time = "2025-06-21T13:39:07.939Z" }, ] [[package]] @@ -847,37 +838,57 @@ wheels = [ [[package]] name = "pyyaml" -version = "6.0.2" +version = "6.0.3" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/54/ed/79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17/pyyaml-6.0.2.tar.gz", hash = "sha256:d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e", size = 130631, upload-time = "2024-08-06T20:33:50.674Z" } +sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960, upload-time = "2025-09-25T21:33:16.546Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/f8/aa/7af4e81f7acba21a4c6be026da38fd2b872ca46226673c89a758ebdc4fd2/PyYAML-6.0.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:cc1c1159b3d456576af7a3e4d1ba7e6924cb39de8f67111c735f6fc832082774", size = 184612, upload-time = "2024-08-06T20:32:03.408Z" }, - { url = "https://files.pythonhosted.org/packages/8b/62/b9faa998fd185f65c1371643678e4d58254add437edb764a08c5a98fb986/PyYAML-6.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1e2120ef853f59c7419231f3bf4e7021f1b936f6ebd222406c3b60212205d2ee", size = 172040, upload-time = "2024-08-06T20:32:04.926Z" }, - { url = "https://files.pythonhosted.org/packages/ad/0c/c804f5f922a9a6563bab712d8dcc70251e8af811fce4524d57c2c0fd49a4/PyYAML-6.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5d225db5a45f21e78dd9358e58a98702a0302f2659a3c6cd320564b75b86f47c", size = 736829, upload-time = "2024-08-06T20:32:06.459Z" }, - { url = "https://files.pythonhosted.org/packages/51/16/6af8d6a6b210c8e54f1406a6b9481febf9c64a3109c541567e35a49aa2e7/PyYAML-6.0.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5ac9328ec4831237bec75defaf839f7d4564be1e6b25ac710bd1a96321cc8317", size = 764167, upload-time = "2024-08-06T20:32:08.338Z" }, - { url = "https://files.pythonhosted.org/packages/75/e4/2c27590dfc9992f73aabbeb9241ae20220bd9452df27483b6e56d3975cc5/PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ad2a3decf9aaba3d29c8f537ac4b243e36bef957511b4766cb0057d32b0be85", size = 762952, upload-time = "2024-08-06T20:32:14.124Z" }, - { url = "https://files.pythonhosted.org/packages/9b/97/ecc1abf4a823f5ac61941a9c00fe501b02ac3ab0e373c3857f7d4b83e2b6/PyYAML-6.0.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:ff3824dc5261f50c9b0dfb3be22b4567a6f938ccce4587b38952d85fd9e9afe4", size = 735301, upload-time = "2024-08-06T20:32:16.17Z" }, - { url = "https://files.pythonhosted.org/packages/45/73/0f49dacd6e82c9430e46f4a027baa4ca205e8b0a9dce1397f44edc23559d/PyYAML-6.0.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:797b4f722ffa07cc8d62053e4cff1486fa6dc094105d13fea7b1de7d8bf71c9e", size = 756638, upload-time = "2024-08-06T20:32:18.555Z" }, - { url = "https://files.pythonhosted.org/packages/22/5f/956f0f9fc65223a58fbc14459bf34b4cc48dec52e00535c79b8db361aabd/PyYAML-6.0.2-cp311-cp311-win32.whl", hash = "sha256:11d8f3dd2b9c1207dcaf2ee0bbbfd5991f571186ec9cc78427ba5bd32afae4b5", size = 143850, upload-time = "2024-08-06T20:32:19.889Z" }, - { url = "https://files.pythonhosted.org/packages/ed/23/8da0bbe2ab9dcdd11f4f4557ccaf95c10b9811b13ecced089d43ce59c3c8/PyYAML-6.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:e10ce637b18caea04431ce14fabcf5c64a1c61ec9c56b071a4b7ca131ca52d44", size = 161980, upload-time = "2024-08-06T20:32:21.273Z" }, - { url = "https://files.pythonhosted.org/packages/86/0c/c581167fc46d6d6d7ddcfb8c843a4de25bdd27e4466938109ca68492292c/PyYAML-6.0.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:c70c95198c015b85feafc136515252a261a84561b7b1d51e3384e0655ddf25ab", size = 183873, upload-time = "2024-08-06T20:32:25.131Z" }, - { url = "https://files.pythonhosted.org/packages/a8/0c/38374f5bb272c051e2a69281d71cba6fdb983413e6758b84482905e29a5d/PyYAML-6.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ce826d6ef20b1bc864f0a68340c8b3287705cae2f8b4b1d932177dcc76721725", size = 173302, upload-time = "2024-08-06T20:32:26.511Z" }, - { url = "https://files.pythonhosted.org/packages/c3/93/9916574aa8c00aa06bbac729972eb1071d002b8e158bd0e83a3b9a20a1f7/PyYAML-6.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f71ea527786de97d1a0cc0eacd1defc0985dcf6b3f17bb77dcfc8c34bec4dc5", size = 739154, upload-time = "2024-08-06T20:32:28.363Z" }, - { url = "https://files.pythonhosted.org/packages/95/0f/b8938f1cbd09739c6da569d172531567dbcc9789e0029aa070856f123984/PyYAML-6.0.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9b22676e8097e9e22e36d6b7bda33190d0d400f345f23d4065d48f4ca7ae0425", size = 766223, upload-time = "2024-08-06T20:32:30.058Z" }, - { url = "https://files.pythonhosted.org/packages/b9/2b/614b4752f2e127db5cc206abc23a8c19678e92b23c3db30fc86ab731d3bd/PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:80bab7bfc629882493af4aa31a4cfa43a4c57c83813253626916b8c7ada83476", size = 767542, upload-time = "2024-08-06T20:32:31.881Z" }, - { url = "https://files.pythonhosted.org/packages/d4/00/dd137d5bcc7efea1836d6264f049359861cf548469d18da90cd8216cf05f/PyYAML-6.0.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:0833f8694549e586547b576dcfaba4a6b55b9e96098b36cdc7ebefe667dfed48", size = 731164, upload-time = "2024-08-06T20:32:37.083Z" }, - { url = "https://files.pythonhosted.org/packages/c9/1f/4f998c900485e5c0ef43838363ba4a9723ac0ad73a9dc42068b12aaba4e4/PyYAML-6.0.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8b9c7197f7cb2738065c481a0461e50ad02f18c78cd75775628afb4d7137fb3b", size = 756611, upload-time = "2024-08-06T20:32:38.898Z" }, - { url = "https://files.pythonhosted.org/packages/df/d1/f5a275fdb252768b7a11ec63585bc38d0e87c9e05668a139fea92b80634c/PyYAML-6.0.2-cp312-cp312-win32.whl", hash = "sha256:ef6107725bd54b262d6dedcc2af448a266975032bc85ef0172c5f059da6325b4", size = 140591, upload-time = "2024-08-06T20:32:40.241Z" }, - { url = "https://files.pythonhosted.org/packages/0c/e8/4f648c598b17c3d06e8753d7d13d57542b30d56e6c2dedf9c331ae56312e/PyYAML-6.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:7e7401d0de89a9a855c839bc697c079a4af81cf878373abd7dc625847d25cbd8", size = 156338, upload-time = "2024-08-06T20:32:41.93Z" }, - { url = "https://files.pythonhosted.org/packages/ef/e3/3af305b830494fa85d95f6d95ef7fa73f2ee1cc8ef5b495c7c3269fb835f/PyYAML-6.0.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:efdca5630322a10774e8e98e1af481aad470dd62c3170801852d752aa7a783ba", size = 181309, upload-time = "2024-08-06T20:32:43.4Z" }, - { url = "https://files.pythonhosted.org/packages/45/9f/3b1c20a0b7a3200524eb0076cc027a970d320bd3a6592873c85c92a08731/PyYAML-6.0.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:50187695423ffe49e2deacb8cd10510bc361faac997de9efef88badc3bb9e2d1", size = 171679, upload-time = "2024-08-06T20:32:44.801Z" }, - { url = "https://files.pythonhosted.org/packages/7c/9a/337322f27005c33bcb656c655fa78325b730324c78620e8328ae28b64d0c/PyYAML-6.0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0ffe8360bab4910ef1b9e87fb812d8bc0a308b0d0eef8c8f44e0254ab3b07133", size = 733428, upload-time = "2024-08-06T20:32:46.432Z" }, - { url = "https://files.pythonhosted.org/packages/a3/69/864fbe19e6c18ea3cc196cbe5d392175b4cf3d5d0ac1403ec3f2d237ebb5/PyYAML-6.0.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:17e311b6c678207928d649faa7cb0d7b4c26a0ba73d41e99c4fff6b6c3276484", size = 763361, upload-time = "2024-08-06T20:32:51.188Z" }, - { url = "https://files.pythonhosted.org/packages/04/24/b7721e4845c2f162d26f50521b825fb061bc0a5afcf9a386840f23ea19fa/PyYAML-6.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:70b189594dbe54f75ab3a1acec5f1e3faa7e8cf2f1e08d9b561cb41b845f69d5", size = 759523, upload-time = "2024-08-06T20:32:53.019Z" }, - { url = "https://files.pythonhosted.org/packages/2b/b2/e3234f59ba06559c6ff63c4e10baea10e5e7df868092bf9ab40e5b9c56b6/PyYAML-6.0.2-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:41e4e3953a79407c794916fa277a82531dd93aad34e29c2a514c2c0c5fe971cc", size = 726660, upload-time = "2024-08-06T20:32:54.708Z" }, - { url = "https://files.pythonhosted.org/packages/fe/0f/25911a9f080464c59fab9027482f822b86bf0608957a5fcc6eaac85aa515/PyYAML-6.0.2-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:68ccc6023a3400877818152ad9a1033e3db8625d899c72eacb5a668902e4d652", size = 751597, upload-time = "2024-08-06T20:32:56.985Z" }, - { url = "https://files.pythonhosted.org/packages/14/0d/e2c3b43bbce3cf6bd97c840b46088a3031085179e596d4929729d8d68270/PyYAML-6.0.2-cp313-cp313-win32.whl", hash = "sha256:bc2fa7c6b47d6bc618dd7fb02ef6fdedb1090ec036abab80d4681424b84c1183", size = 140527, upload-time = "2024-08-06T20:33:03.001Z" }, - { url = "https://files.pythonhosted.org/packages/fa/de/02b54f42487e3d3c6efb3f89428677074ca7bf43aae402517bc7cca949f3/PyYAML-6.0.2-cp313-cp313-win_amd64.whl", hash = "sha256:8388ee1976c416731879ac16da0aff3f63b286ffdd57cdeb95f3f2e085687563", size = 156446, upload-time = "2024-08-06T20:33:04.33Z" }, + { url = "https://files.pythonhosted.org/packages/6d/16/a95b6757765b7b031c9374925bb718d55e0a9ba8a1b6a12d25962ea44347/pyyaml-6.0.3-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:44edc647873928551a01e7a563d7452ccdebee747728c1080d881d68af7b997e", size = 185826, upload-time = "2025-09-25T21:31:58.655Z" }, + { url = "https://files.pythonhosted.org/packages/16/19/13de8e4377ed53079ee996e1ab0a9c33ec2faf808a4647b7b4c0d46dd239/pyyaml-6.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:652cb6edd41e718550aad172851962662ff2681490a8a711af6a4d288dd96824", size = 175577, upload-time = "2025-09-25T21:32:00.088Z" }, + { url = "https://files.pythonhosted.org/packages/0c/62/d2eb46264d4b157dae1275b573017abec435397aa59cbcdab6fc978a8af4/pyyaml-6.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:10892704fc220243f5305762e276552a0395f7beb4dbf9b14ec8fd43b57f126c", size = 775556, upload-time = "2025-09-25T21:32:01.31Z" }, + { url = "https://files.pythonhosted.org/packages/10/cb/16c3f2cf3266edd25aaa00d6c4350381c8b012ed6f5276675b9eba8d9ff4/pyyaml-6.0.3-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:850774a7879607d3a6f50d36d04f00ee69e7fc816450e5f7e58d7f17f1ae5c00", size = 882114, upload-time = "2025-09-25T21:32:03.376Z" }, + { url = "https://files.pythonhosted.org/packages/71/60/917329f640924b18ff085ab889a11c763e0b573da888e8404ff486657602/pyyaml-6.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b8bb0864c5a28024fac8a632c443c87c5aa6f215c0b126c449ae1a150412f31d", size = 806638, upload-time = "2025-09-25T21:32:04.553Z" }, + { url = "https://files.pythonhosted.org/packages/dd/6f/529b0f316a9fd167281a6c3826b5583e6192dba792dd55e3203d3f8e655a/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1d37d57ad971609cf3c53ba6a7e365e40660e3be0e5175fa9f2365a379d6095a", size = 767463, upload-time = "2025-09-25T21:32:06.152Z" }, + { url = "https://files.pythonhosted.org/packages/f2/6a/b627b4e0c1dd03718543519ffb2f1deea4a1e6d42fbab8021936a4d22589/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:37503bfbfc9d2c40b344d06b2199cf0e96e97957ab1c1b546fd4f87e53e5d3e4", size = 794986, upload-time = "2025-09-25T21:32:07.367Z" }, + { url = "https://files.pythonhosted.org/packages/45/91/47a6e1c42d9ee337c4839208f30d9f09caa9f720ec7582917b264defc875/pyyaml-6.0.3-cp311-cp311-win32.whl", hash = "sha256:8098f252adfa6c80ab48096053f512f2321f0b998f98150cea9bd23d83e1467b", size = 142543, upload-time = "2025-09-25T21:32:08.95Z" }, + { url = "https://files.pythonhosted.org/packages/da/e3/ea007450a105ae919a72393cb06f122f288ef60bba2dc64b26e2646fa315/pyyaml-6.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:9f3bfb4965eb874431221a3ff3fdcddc7e74e3b07799e0e84ca4a0f867d449bf", size = 158763, upload-time = "2025-09-25T21:32:09.96Z" }, + { url = "https://files.pythonhosted.org/packages/d1/33/422b98d2195232ca1826284a76852ad5a86fe23e31b009c9886b2d0fb8b2/pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196", size = 182063, upload-time = "2025-09-25T21:32:11.445Z" }, + { url = "https://files.pythonhosted.org/packages/89/a0/6cf41a19a1f2f3feab0e9c0b74134aa2ce6849093d5517a0c550fe37a648/pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0", size = 173973, upload-time = "2025-09-25T21:32:12.492Z" }, + { url = "https://files.pythonhosted.org/packages/ed/23/7a778b6bd0b9a8039df8b1b1d80e2e2ad78aa04171592c8a5c43a56a6af4/pyyaml-6.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28", size = 775116, upload-time = "2025-09-25T21:32:13.652Z" }, + { url = "https://files.pythonhosted.org/packages/65/30/d7353c338e12baef4ecc1b09e877c1970bd3382789c159b4f89d6a70dc09/pyyaml-6.0.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c", size = 844011, upload-time = "2025-09-25T21:32:15.21Z" }, + { url = "https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc", size = 807870, upload-time = "2025-09-25T21:32:16.431Z" }, + { url = "https://files.pythonhosted.org/packages/05/c0/b3be26a015601b822b97d9149ff8cb5ead58c66f981e04fedf4e762f4bd4/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e", size = 761089, upload-time = "2025-09-25T21:32:17.56Z" }, + { url = "https://files.pythonhosted.org/packages/be/8e/98435a21d1d4b46590d5459a22d88128103f8da4c2d4cb8f14f2a96504e1/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea", size = 790181, upload-time = "2025-09-25T21:32:18.834Z" }, + { url = "https://files.pythonhosted.org/packages/74/93/7baea19427dcfbe1e5a372d81473250b379f04b1bd3c4c5ff825e2327202/pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5", size = 137658, upload-time = "2025-09-25T21:32:20.209Z" }, + { url = "https://files.pythonhosted.org/packages/86/bf/899e81e4cce32febab4fb42bb97dcdf66bc135272882d1987881a4b519e9/pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b", size = 154003, upload-time = "2025-09-25T21:32:21.167Z" }, + { url = "https://files.pythonhosted.org/packages/1a/08/67bd04656199bbb51dbed1439b7f27601dfb576fb864099c7ef0c3e55531/pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd", size = 140344, upload-time = "2025-09-25T21:32:22.617Z" }, + { url = "https://files.pythonhosted.org/packages/d1/11/0fd08f8192109f7169db964b5707a2f1e8b745d4e239b784a5a1dd80d1db/pyyaml-6.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8", size = 181669, upload-time = "2025-09-25T21:32:23.673Z" }, + { url = "https://files.pythonhosted.org/packages/b1/16/95309993f1d3748cd644e02e38b75d50cbc0d9561d21f390a76242ce073f/pyyaml-6.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1", size = 173252, upload-time = "2025-09-25T21:32:25.149Z" }, + { url = "https://files.pythonhosted.org/packages/50/31/b20f376d3f810b9b2371e72ef5adb33879b25edb7a6d072cb7ca0c486398/pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c", size = 767081, upload-time = "2025-09-25T21:32:26.575Z" }, + { url = "https://files.pythonhosted.org/packages/49/1e/a55ca81e949270d5d4432fbbd19dfea5321eda7c41a849d443dc92fd1ff7/pyyaml-6.0.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5", size = 841159, upload-time = "2025-09-25T21:32:27.727Z" }, + { url = "https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6", size = 801626, upload-time = "2025-09-25T21:32:28.878Z" }, + { url = "https://files.pythonhosted.org/packages/f9/11/ba845c23988798f40e52ba45f34849aa8a1f2d4af4b798588010792ebad6/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6", size = 753613, upload-time = "2025-09-25T21:32:30.178Z" }, + { url = "https://files.pythonhosted.org/packages/3d/e0/7966e1a7bfc0a45bf0a7fb6b98ea03fc9b8d84fa7f2229e9659680b69ee3/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be", size = 794115, upload-time = "2025-09-25T21:32:31.353Z" }, + { url = "https://files.pythonhosted.org/packages/de/94/980b50a6531b3019e45ddeada0626d45fa85cbe22300844a7983285bed3b/pyyaml-6.0.3-cp313-cp313-win32.whl", hash = "sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26", size = 137427, upload-time = "2025-09-25T21:32:32.58Z" }, + { url = "https://files.pythonhosted.org/packages/97/c9/39d5b874e8b28845e4ec2202b5da735d0199dbe5b8fb85f91398814a9a46/pyyaml-6.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c", size = 154090, upload-time = "2025-09-25T21:32:33.659Z" }, + { url = "https://files.pythonhosted.org/packages/73/e8/2bdf3ca2090f68bb3d75b44da7bbc71843b19c9f2b9cb9b0f4ab7a5a4329/pyyaml-6.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb", size = 140246, upload-time = "2025-09-25T21:32:34.663Z" }, + { url = "https://files.pythonhosted.org/packages/9d/8c/f4bd7f6465179953d3ac9bc44ac1a8a3e6122cf8ada906b4f96c60172d43/pyyaml-6.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac", size = 181814, upload-time = "2025-09-25T21:32:35.712Z" }, + { url = "https://files.pythonhosted.org/packages/bd/9c/4d95bb87eb2063d20db7b60faa3840c1b18025517ae857371c4dd55a6b3a/pyyaml-6.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310", size = 173809, upload-time = "2025-09-25T21:32:36.789Z" }, + { url = "https://files.pythonhosted.org/packages/92/b5/47e807c2623074914e29dabd16cbbdd4bf5e9b2db9f8090fa64411fc5382/pyyaml-6.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7", size = 766454, upload-time = "2025-09-25T21:32:37.966Z" }, + { url = "https://files.pythonhosted.org/packages/02/9e/e5e9b168be58564121efb3de6859c452fccde0ab093d8438905899a3a483/pyyaml-6.0.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788", size = 836355, upload-time = "2025-09-25T21:32:39.178Z" }, + { url = "https://files.pythonhosted.org/packages/88/f9/16491d7ed2a919954993e48aa941b200f38040928474c9e85ea9e64222c3/pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5", size = 794175, upload-time = "2025-09-25T21:32:40.865Z" }, + { url = "https://files.pythonhosted.org/packages/dd/3f/5989debef34dc6397317802b527dbbafb2b4760878a53d4166579111411e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764", size = 755228, upload-time = "2025-09-25T21:32:42.084Z" }, + { url = "https://files.pythonhosted.org/packages/d7/ce/af88a49043cd2e265be63d083fc75b27b6ed062f5f9fd6cdc223ad62f03e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35", size = 789194, upload-time = "2025-09-25T21:32:43.362Z" }, + { url = "https://files.pythonhosted.org/packages/23/20/bb6982b26a40bb43951265ba29d4c246ef0ff59c9fdcdf0ed04e0687de4d/pyyaml-6.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac", size = 156429, upload-time = "2025-09-25T21:32:57.844Z" }, + { url = "https://files.pythonhosted.org/packages/f4/f4/a4541072bb9422c8a883ab55255f918fa378ecf083f5b85e87fc2b4eda1b/pyyaml-6.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3", size = 143912, upload-time = "2025-09-25T21:32:59.247Z" }, + { url = "https://files.pythonhosted.org/packages/7c/f9/07dd09ae774e4616edf6cda684ee78f97777bdd15847253637a6f052a62f/pyyaml-6.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3", size = 189108, upload-time = "2025-09-25T21:32:44.377Z" }, + { url = "https://files.pythonhosted.org/packages/4e/78/8d08c9fb7ce09ad8c38ad533c1191cf27f7ae1effe5bb9400a46d9437fcf/pyyaml-6.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba", size = 183641, upload-time = "2025-09-25T21:32:45.407Z" }, + { url = "https://files.pythonhosted.org/packages/7b/5b/3babb19104a46945cf816d047db2788bcaf8c94527a805610b0289a01c6b/pyyaml-6.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c", size = 831901, upload-time = "2025-09-25T21:32:48.83Z" }, + { url = "https://files.pythonhosted.org/packages/8b/cc/dff0684d8dc44da4d22a13f35f073d558c268780ce3c6ba1b87055bb0b87/pyyaml-6.0.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702", size = 861132, upload-time = "2025-09-25T21:32:50.149Z" }, + { url = "https://files.pythonhosted.org/packages/b1/5e/f77dc6b9036943e285ba76b49e118d9ea929885becb0a29ba8a7c75e29fe/pyyaml-6.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c", size = 839261, upload-time = "2025-09-25T21:32:51.808Z" }, + { url = "https://files.pythonhosted.org/packages/ce/88/a9db1376aa2a228197c58b37302f284b5617f56a5d959fd1763fb1675ce6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065", size = 805272, upload-time = "2025-09-25T21:32:52.941Z" }, + { url = "https://files.pythonhosted.org/packages/da/92/1446574745d74df0c92e6aa4a7b0b3130706a4142b2d1a5869f2eaa423c6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65", size = 829923, upload-time = "2025-09-25T21:32:54.537Z" }, + { url = "https://files.pythonhosted.org/packages/f0/7a/1c7270340330e575b92f397352af856a8c06f230aa3e76f86b39d01b416a/pyyaml-6.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9", size = 174062, upload-time = "2025-09-25T21:32:55.767Z" }, + { url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341, upload-time = "2025-09-25T21:32:56.828Z" }, ] [[package]] @@ -944,7 +955,7 @@ wheels = [ [[package]] name = "red-discordbot" -version = "3.5.20" +version = "3.5.24" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohttp" }, @@ -986,36 +997,36 @@ dependencies = [ { name = "zipp", marker = "python_full_version >= '3.12'" }, { name = "zstandard" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/cd/a5/2a1beb5e0fc1dd7bb5758bfbfc56828cdd6f02ebcabbbd35ad73f1c5b0c0/red_discordbot-3.5.20.tar.gz", hash = "sha256:7e64d9297b9341e68b0a35238bfe4d3d1a118dbe75f0da88d6930a9975b8d7ec", size = 3736058, upload-time = "2025-05-03T16:11:30.029Z" } +sdist = { url = "https://files.pythonhosted.org/packages/ba/3c/ffc92b1380a4063a3bd06b5235bae376775a4689b8679318a44393b4c69c/red_discordbot-3.5.24.tar.gz", hash = "sha256:6c9b5e3773f46b26550a70812aa33dc6cb37ee0f42563cb294f156df66207cf5", size = 3878760, upload-time = "2026-03-06T01:39:24.79Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/ec/c0/d6545a5d826f8877c21433919d5d8c1268f8b9227f213a1a1350a458964f/red_discordbot-3.5.20-py3-none-any.whl", hash = "sha256:ee66ae9acb1547006dd66d267e2159c8c434ce918179f264687eff9eb4efd9d8", size = 5884349, upload-time = "2025-05-03T16:11:27.45Z" }, + { url = "https://files.pythonhosted.org/packages/00/b2/a5f5c3ec9e61c26c6e792bc041586f1b5e78f8b5412d88d9877304b36062/red_discordbot-3.5.24-py3-none-any.whl", hash = "sha256:3cbdbdd8bb0b6dbab1f5f909151f12dcd40798b06df8beb791fd22b9e1b2c8bd", size = 5970180, upload-time = "2026-03-06T01:39:22.251Z" }, ] [[package]] name = "red-lavalink" -version = "0.11.0" +version = "0.11.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohttp" }, { name = "discord-py" }, { name = "red-commons" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/6d/66/b05f3661afbc22d7af10827eaf68e5da5076d73ad0c3f7028acb8bf40bfd/Red-Lavalink-0.11.0.tar.gz", hash = "sha256:6ee2671dfc43a96b7e6be4effaa4137024de51bc5681f64a67c125bc3b7d4f99", size = 33992, upload-time = "2023-04-19T01:21:22.267Z" } +sdist = { url = "https://files.pythonhosted.org/packages/89/bc/3b62bad4188bc51eefa38810fae7e18b62dd24a0d69bb82f9d1f67e7ace7/red_lavalink-0.11.1.tar.gz", hash = "sha256:dc6e1a2a81acbf07d3d17f547dd2e76193d29a875c9bc94c2207bc06ef7bfab3", size = 34745, upload-time = "2026-03-03T22:51:57.886Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/20/01/748c284bd03e788ac2c6cf2c58f19b4d1e3ad96dae36b21e289f1bc6c5e5/Red_Lavalink-0.11.0-py3-none-any.whl", hash = "sha256:f76329eee2ec5e4d77e0e97fe6ba76207efdcc8d963a9c39913cf91057d7920a", size = 36060, upload-time = "2023-04-19T01:21:20.171Z" }, + { url = "https://files.pythonhosted.org/packages/92/fb/04531929a34722b54a30555c2ed615c30d93fb70da31b708b0780a018ca0/red_lavalink-0.11.1-py3-none-any.whl", hash = "sha256:2e4a19b1b766971599df3736cf1777835afd74bb223fe0917e5362891779c575", size = 36028, upload-time = "2026-03-03T22:51:56.177Z" }, ] [[package]] name = "rich" -version = "14.0.0" +version = "14.3.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "markdown-it-py" }, { name = "pygments" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/a1/53/830aa4c3066a8ab0ae9a9955976fb770fe9c6102117c8ec4ab3ea62d89e8/rich-14.0.0.tar.gz", hash = "sha256:82f1bc23a6a21ebca4ae0c45af9bdbc492ed20231dcb63f297d6d1021a9d5725", size = 224078, upload-time = "2025-03-30T14:15:14.23Z" } +sdist = { url = "https://files.pythonhosted.org/packages/b3/c6/f3b320c27991c46f43ee9d856302c70dc2d0fb2dba4842ff739d5f46b393/rich-14.3.3.tar.gz", hash = "sha256:b8daa0b9e4eef54dd8cf7c86c03713f53241884e814f4e2f5fb342fe520f639b", size = 230582, upload-time = "2026-02-19T17:23:12.474Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/0d/9b/63f4c7ebc259242c89b3acafdb37b41d1185c07ff0011164674e9076b491/rich-14.0.0-py3-none-any.whl", hash = "sha256:1c9491e1951aac09caffd42f448ee3d04e58923ffe14993f6e83068dc395d7e0", size = 243229, upload-time = "2025-03-30T14:15:12.283Z" }, + { url = "https://files.pythonhosted.org/packages/14/25/b208c5683343959b670dc001595f2f3737e051da617f66c31f7c4fa93abc/rich-14.3.3-py3-none-any.whl", hash = "sha256:793431c1f8619afa7d3b52b2cdec859562b950ea0d4b6b505397612db8d5362d", size = 310458, upload-time = "2026-02-19T17:23:13.732Z" }, ] [[package]] @@ -1045,11 +1056,11 @@ wheels = [ [[package]] name = "schema" -version = "0.7.7" +version = "0.7.8" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/d4/01/0ea2e66bad2f13271e93b729c653747614784d3ebde219679e41ccdceecd/schema-0.7.7.tar.gz", hash = "sha256:7da553abd2958a19dc2547c388cde53398b39196175a9be59ea1caf5ab0a1807", size = 44245, upload-time = "2024-05-04T10:56:17.318Z" } +sdist = { url = "https://files.pythonhosted.org/packages/fb/2e/8da627b65577a8f130fe9dfa88ce94fcb24b1f8b59e0fc763ee61abef8b8/schema-0.7.8.tar.gz", hash = "sha256:e86cc08edd6fe6e2522648f4e47e3a31920a76e82cce8937535422e310862ab5", size = 45540, upload-time = "2025-10-11T13:15:40.281Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/ad/1b/81855a88c6db2b114d5b2e9f96339190d5ee4d1b981d217fa32127bb00e0/schema-0.7.7-py2.py3-none-any.whl", hash = "sha256:5d976a5b50f36e74e2157b47097b60002bd4d42e65425fcc9c9befadb4255dde", size = 18632, upload-time = "2024-05-04T10:56:13.86Z" }, + { url = "https://files.pythonhosted.org/packages/c9/75/aad85817266ac5285c93391711d231ca63e9ae7d42cd3ca37549e24ebe52/schema-0.7.8-py2.py3-none-any.whl", hash = "sha256:00bd977fadc7d9521bf289850cd8a8aa5f4948f575476b8daaa5c1b57af2dce1", size = 19108, upload-time = "2025-10-11T17:13:07.323Z" }, ] [[package]]