managym
The deterministic Magic: The Gathering rules engine and training environment
behind Manabot. Rust, with PyO3 bindings consumed by manabot (the agent)
and academy (the optional play UI). Install the managym distribution for
import managym without the training stack. manabot depends on the exact
same version and keeps manabot.managym as a compatibility alias. Rust sources
stay in this directory. Start with the
Python installation example.
Engine development principles records the lessons from Allies–Lessons, Elemental and TLA: shared rule ownership, preserved choices and timing, trustworthy learning evidence, and measured runtime/search performance.
Architecture
managym is Manabot's authoritative world: match execution, semantic Commands, viewer Observations, deterministic replay, exact forks, and the meaning and materialization of possible worlds. The cross-package contracts are in the README.
src/agent/: RL-facing API (Env, action spaces, observations)src/flow/: Game progression (turns, priority, combat)state/: themanagym-statecrate — rules vocabulary and game-state types (cards, zones, mana, effects), re-exported here asmanagym::state;src/state/adds players, decks and the canonical match-state hashcards/: themanagym-cardscrate — card set modules (one per printed set) and their tests, reached by the engine only throughmanagym_cards::catalog();src/cards/:ContentPack, rules fixtures, authored setups, pool support and learning tokenssrc/infra/: Logging and profiler infrastructuresrc/python/: PyO3 bindings and Rust→Python conversions
Each card is a function in the file of its first printing's set under
cards/src/, returning the engine's own CardDefinition in its rules types
(Effect, Ability, TargetSpec, …). The engine runs that value directly, and
the learning catalog (src/cards/tokens.rs, managym.learning_catalog)
derives policy tokens from it. src/world.rs owns WORLD_VERSION, the card/deck
support check (defined non-token cards, excluding rules fixtures) and the set
filter. Known rules bugs are tracked as Tasks without revoking playability. Keep
decklist data separate from card behavior; see
the content contract.
Dependencies flow: python → agent → flow → state/infra, and across crates
managym → managym-cards → managym-state. cargo test in this directory
runs all three (the workspace's default members).
Authored setups come from AuthoredSetup::player_config (Python:
managym.authored_deck_setup(setup, deck_key), naming the setup by preset or
by the pack_key frozen evidence records). Carry that complete config
when swapping seats or rebuilding roots: deck and sideboard together identify
an authored setup. PlayerConfig::new intentionally gives custom setups an
empty sideboard; it does not infer one from card names or a matching main deck.
Sideboard rosters are fixed at setup, and remaining copies are derived from
absence from game zones. They are not part of the library or a new game zone.
Viewer observations carry remaining owner copies in agent_sideboard, using
private candidate_id values that join Learn action focus. These are outside-game
descriptors, not CardData with a fabricated zone or in-game ObjectRef.
Both players expose definition-only initial and remaining sideboard counts;
only the owner gets copy candidates. Python observation JSON and validation
use the native Rust implementations so new visibility fields cannot drift.
The policy input factors resolved EffectRecords through agent/shared_effects.rs
before admission: complete equal payloads share one header and typed detail
slice, with one explicit membership per original record. Controller, exact
source incarnation, timestamps, fixed affected sets and duplicate edges survive.
Public object IDs are joins; private card storage IDs do not enter this view.
Native scalar/vector and Python encoders mirror bounded arrays of 128 × 18,
4096 × 3 and 2048 × 2; every capacity fails explicitly. Local facts exclude
active effects.
Projection never mutates or semantically coalesces the engine’s records.
Catalog naming uses Decision::NameCard over a shared immutable NameVocabulary.
The catalog builds sorted real names once, including back faces and excluding
tokens and rules fixtures. Decisions/forks share that allocation; canonical state
records its digest. A decision holds a NameScope; a scope over
NAME_BRANCHING (64) names offers a deterministic balanced partition into
contiguous groups, and choosing one only narrows the scope. Selecting a name
constructs one ExileNamed effect, then enters the existing private search
continuation. Public names and optional learning definition references are not
in-game card objects or deck admission. The policy input carries name joins and
group spans in name_candidates[A,4] at ordinary action capacity.
See policy inputs.
Spell-level modes are announced before targets and payment. Independent target
clauses use Effect::TargetClause; effects within a clause share its targets.
Repeated specs in separate clauses may choose the same object. A resolving
frame retains its active clause and each chosen slot's resolution-start eligibility
across suspended decisions (CR 608.2b). Effects use those retained results; live
presence checks separately prevent following departed objects (CR 400.7).
Illegal slots remain positional, and zero optional targets still resolve.
ObjectSelector::Targets applies one verb to all eligible slots of that clause
in one event batch. ForEachTarget instead runs a separate child program per
slot, retaining its position across choices. Leaves from the Vine's simultaneous
counter placement uses the former.
Graveyard targets
carry an exact ObjectRef, so continuations cannot follow a physical card into
a later incarnation. Mutate permanents at their event authority;
source-relative effects require the original battlefield object.
Delayed abilities compose event matching, frequency, expiry, captured subjects
and effects. CreateDelayedTrigger.event only matches the event;
DelayedFrequency::Once consumes its watcher on the first match, even if the
occurrence is countered or later does nothing. EachMatch keeps waiting until
DelayedExpiry::ThisTurn removes the watcher at cleanup, or Never supplies no
stated expiry. Exact-object death watchers retire when the watched incarnation
leaves, regardless of frequency. Expiry removes waiting watchers, never queued
or stacked occurrences. No printed trigger vocabulary is migrated.
CreateDelayedTrigger.remember resolves an ordinary ObjectSelector when the
ability is created. Its exact incarnations travel through placement, stack and
suspended resolution; ObjectSelector::Remembered never follows a departed
object into a new incarnation. Event context (such as the spell just cast) stays
separate. End-step timing can wait for either player's step or the controller's,
independently of what was captured. Viewer-safe relations and text expose
the remembered references, expiry and frequency. Relation row kind 9 carries
frequency (column 28: 1 once, 2 each match); column 48 keeps its expiry meaning.
Missing historical frequency is unknown.
Public hand knowledge is a minimum multiset of CardDefId counts on Player,
not a set of revealed physical cards. Search forks by full clone: clone the
Game before a normal Command apply and compare search_state::witness to
check that the source is unchanged. Exercise nested choices through Commands,
not by direct calls to resolution helpers.
Build and test
cargo fmt --check
cargo clippy --all-targets --all-features -- -D warnings
cargo test
CI runs cargo test in debug — validate in debug before landing. The
engine guards its invariants with debug_assert!, which compiles out of
release entirely, so a test can pass green in --release and still fail CI.
New registered real cards also need their Scryfall shell and Oracle text in
tests/fixtures/scryfall_cards.json; cargo test --test conformance_tests
checks every registration against that snapshot. For an accepted rules-world
change, record a new versioned conformance corpus and update the CI/test root
without rewriting earlier receipts. The current corpus is
semantic-kernel-w17-v2.
After changing Rust, rebuild the Python extension into the uv-managed venv:
uv run --extra play maturin develop --release \
--manifest-path managym/Cargo.toml --features python
Run this from the repository root with its CPython 3.13 development environment.
For a 3.12 compatibility check, use a separate environment and rebuild for that
interpreter; a cp313 extension cannot be reused by cp312. Follow
AGENTS.md when replacing an already loaded extension.
The pinned Comprehensive Rules audit inventories every numbered entry, with explicit unknowns and scoped evidence. Card-shell checks and replay agreement do not independently prove rules correctness. Prefer directed tests with independently specified outcomes and small bounded combinations before adding longer random-game cohorts.
Check the committed inventory offline from the repository root with
uv run python scripts/audit_rules.py. Supplying --source <downloaded-txt>
also checks the pinned byte digest and exact source inventory. Do not upgrade
child rules merely because their family has a test or a matching citation.
The Prism/Treasure audit probe now follows explicit nested payment decisions
and passes its final mana, sacrifice and empty-stack assertions. Its original
failure remains historical evidence; this bounded pass does not certify all
payment rules. See the audit's
ownership review
before using its historical Task attribution.
Style
// filename.rs
// One-line purpose of file
use crate::flow::game::Game;
use crate::state::player::PlayerId;
Prefer explicit types and focused modules. Keep game behavior in enums +
match expressions instead of inheritance-like abstractions.
Bounded observation encoders reserve card rows after the owner's visible cards
for outside candidates. Their seven zone bits stay zero and the explicit outside
bit is set; action focus uses the same padded object table as the model. The
current default has 512 action rows. Card, permanent, action and focus capacity
excesses raise encoding errors by default; they must not be treated as a random-policy
fallback. An explicit action_overflow="first-legal" policy retains the first
max_actions legal actions with their original indices and Commands. The TLA
pilot selects 64 slots and records replay-linked cutoff counts; the native and
Academy legal action sets remain complete. Other capacity excesses still fail.
Complete outside program bindings and public known-hand definition
counts still require the semantic input path during the Learn migration.
The optional policy-history v1 projection is a bounded derived suffix updated at the native event append. Observation reads share it; clone and diagnostic injection must preserve its documented lifecycle.
Every match, authored or not, runs on the world's one catalog
(cards::content_pack::default_content_pack): every set-file definition in name
order, so authored setups are decklists over the world pool, not packs.
PlayerConfig.submitted (Python: world="world", managym.WORLD_SETUP, set by
Deck.player()) submits a deck to the installed world: it must pass
development-v1 admission against the world's supported cards (see decklist
import) or reset fails. Fixed setups and tests leave
it unset and run as given without submitted-deck construction checks.
Any other world value is rejected: authored content packs are retired.
Mana feasibility and production share typed costs and pools. Mana.lesson
retains Herbalist's restriction; effective_spell_cost supplies the Lesson
casting context, while resolving costs and activations remain unrestricted
contexts. Chosen-color mana abilities pay their activation costs before their
immediate output decision. Game::characteristics derives battlefield grants;
those granted mana abilities never become activated stack objects. Waterbend
taps are cost payment, not tapping for mana. The view is the one reader of a
battlefield permanent's characteristics, legendary and ward included: the
legend rule reads its is_legendary, and every CardData field that states a
characteristic reads it there (tests/cards/observability.rs classifies each
field as layered or printed by definition).
The cached raw layer board tracks discovered reads of mana pools and tapped
state, including nested predicates and granted statics. Independent pool/tap
writes retain the board and fixed activations; dynamic activation outputs and
costs refresh separately. Trigger kinds follow raw layer dependencies. Immutable
scans use layer_views (or characteristics_many when activation finalization
is needed), preserving caller order and validating the shared board once in
debug. Singular reads retain their cache checks. Opt-in benchmark
instrumentation attributes board, clone and dependency work without adding
counters to ordinary wheels.
A resolving spell remains on the stack until the zone-move authority commits its departure. That authority applies flashback exile replacement and captures cast provenance before removing the stack object. Do not remove spells early in countering or finalization. Copied tokens detach immutable characteristics from the source definition, retain its semantic identity, and expose their actual legendary status in observations; canonical hashing includes their copied data.
Resolving optional costs use Effect::OptionalPayment and PaymentProgress.
Their ownership and authoring contract
covers both ordinary mana and waterbend without a card-specific decision.
OptionalManaPaymentX first chooses an affordable X, then uses the same payment
progress. Its WhenYouDo branch creates a distinct occurrence retaining X;
TargetRequirement.total_mana_value_x bounds the whole chosen clause, including
retargeting. Named searches retain native permission to inspect the searched
zones only during the instruction; semantic capture uses that permission too.
Mana offers, waterbend affordability and automatic production use executable
witnesses from flow/mana.rs. A mana source is reserved while its printed
upfront cost is pending; Decision::ManaUpfront retains the parent decision
and frame. Only after that obligation finishes do its tap/life/sacrifice costs
commit and its output become a visible color decision. Mana abilities do not
create stack objects. Fixed production keeps source order; a nested automatic
prefix considers concrete pool remainders and the parent's completion.
Every registered chosen-output mana mode consumes a tap (sometimes also a sacrifice), so each source has one use during a payment. The registry contract requires a model extension before introducing separate tap/sacrifice mana uses, repeatable free sources, or additional mana-ability cost methods. Search retains identities rather than grouping equal outputs. Its total and spend-purpose bounds only reject impossible branches; every accepted payment still requires a complete witness. This is finite search, without a general large-board performance guarantee.
Env.capture_decision(viewer, history_capacity=0) supplies atomic decision capture
v5: the schema-8 semantic Observation, shared native continuation frames, bound public card
characteristics, visible object joins, world/content identity and optional public
history v1 (0 disables it; 1..32 admits a chronological suffix). Its SHA-256 covers
all fields except the digest itself using recursively key-sorted compact JSON.
DECISION_CAPTURE_VERSION owns this aggregate's inclusion/order/digest contract;
SEMANTIC_DECISION_VERSION owns embedded schema 8. Historical captures retain
their original schema; w14 deliberately changes the current action contract.
The opaque native capture binds an Env and reset generation. Use
execute_captured_command_json(capture, command_json) for atomic origin and
current-digest validation plus ordinary semantic execution. Portable capture JSON
is evidence, not execution authority; clones need their own live capture.
The policy input has configurable fact capacity (512 by default). It keeps trigger-placement action joins and retained resolution-start eligibility in native current stack/continuation relations, and widens player and card rows for cast permissions, the hand-only lock, restricted mana by spending subtype and announced X. Its layout, checkpoint admission and measurement commands are documented in the observation input contract. The presentation context and text capture derive from the same typed frames; portable schema-8 viewer JSON is validated by the native observation types.
Game::card_power reads contextual power in every zone: the layered view on
the battlefield, and characteristic-defining abilities with the spell's
controller or card's owner elsewhere (including outside the game). Zone
filters use card_matches_predicate; printed-only matching belongs to
structural definition checks and private layer stages. LookAndSelect names
whether the remainder is random; chosen order suspends on native
OrderLibrary, placing cards first-to-draw first through ordinary SelectCard
Commands. Bottom ordering exposes the remaining inspected cards; Surveil uses
the same owner to order kept cards on top, retaining the chosen prefix privately
until ordering finishes. Top ordering has obligation code 27 (mode is the
committed prefix length); code 23 retains its bottom-order meaning.
EffectFrame::completion owns the return destination: the interrupted scope,
a retained caller decision, a completed-operation event, root spell cleanup,
or root priority. Completion events fire before the caller's suffix; Scry and
Surveil wait for every partition and ordering choice. continue_resolution runs
any pending batch before exposing the next decision. An EventBatch on the active
frame retains every proposal, applied replacement identity, pre-departure facts
and result until replacement choices and consequent linked returns finish. The
affected player chooses each replacement; applicability is recomputed after every
transformation. No member
commits until the complete batch is ready. Native obligation code 29 names this
choice, with source-specific labels and focus.
Mana activation sacrifice effects retain their output and parent payment there
after upfront mana, tap and life costs commit. Returning from a linked-entry
replacement restores the saved decision without paying costs again or opening
priority. Combat, SBA departures, spell finalization, activated costs, token
entry and Surveil movement use this owner. SBA progress distinguishes stable,
changed and pending; a pending turn action cannot enter priority stabilization.
Immediate fixture/arithmetic helpers require completion without a question and
fail explicitly if used for a choice-bearing event. Sacrifice facts match their
pre-move subjects after replacement choices and before any batch member leaves;
trigger placement still waits for resolution. The policy input projects the
retained program, results, completion and proposals through fact-kind 14 as bare
name/value facts, with viewer-safe reference slots in relation kind 10; a frame
that retains nothing emits no occurrence. Academy's pending-resolution summary
and LLM text are rendered by the same walk only through describe_effect_execution
(decision context and capture), never by a policy observation.
SelectCards snapshots eligible exact objects from its selector, retains min/max
cardinality across choices, and runs the chosen effects in a child scope with
ObjectSelector::Selected. CardsThisWay names the scope's latest mill/discard
result independently of a later Move; the caller keeps those results while
selection effects run. Mill, optional discard/draw and basic/tutor searches use
ordinary MillCards, If, SelectCards, Move and ShuffleLibrary composition.
ObjectSelector::Zone records source-zone/predicate provenance; both hidden-world
materializers refresh unknown selected subsets throughout saved callers and child
scopes, preserving cardinality and exact viewer-known choices. Restricted partial
selections exclude incompatible count worlds. Foretold assignments use the same
subset constraints: exact weights count only compatible ordered fills, and the
materializer samples that conditional measure. Commitments are captured before
zone reassignment, so a sampled face-down slot cannot erase an earlier selection.
Frozen count-only belief samplers reject these additional constraints before
inference. ObjectBinding carries exact incarnation, captured zone/predicate and
per-seat exact knowledge through waiting, queued, placing, stack and resolving
trigger lifetimes. Both samplers use one assignment across those captures and
active selections; known exact captures remain fixed, and departed incarnations
never follow a later object. Capturing Moved uses its new zone. This binding
provenance is canonical state, independent of viewer-safe reference projection. Library inspection exposes membership in stable definition/object order,
never draw order. Prospective battlefield entrants are public during replacement
choices and remain pinned in both samplers.
Effect::Move.library_end states top/bottom placement without a shuffle; its
placement commits before linked returns can pause. put_in_library authors that
operation, and ShuffleLibrary can follow after all child work. Ordinary move_to
retains shuffle-into-library behavior. Shared selection has obligation code 28;
retired codes 5, 6 and 7 keep their historical meanings.
SuspendedResolution::continuation walks retained frames and decisions root first;
observation projection and hidden-world sampling share that chain for caller
ancestry and inspection permissions.
Metadata
Release files for managym 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| managym-0.2.2.tar.gz | 1.0 MB | With provenance | Details for managym-0.2.2.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| managym-0.2.2-cp313-cp313-manylinux_2_28_x86_64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.28+ x86-64 | Details for managym-0.2.2-cp313-cp313-manylinux_2_28_x86_64.whl |
| managym-0.2.2-cp313-cp313-macosx_11_0_arm64.whl | CPython 3.13 | CPython 3.13 | macOS 11.0+ ARM64 | Details for managym-0.2.2-cp313-cp313-macosx_11_0_arm64.whl |
| managym-0.2.2-cp312-cp312-manylinux_2_28_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.28+ x86-64 | Details for managym-0.2.2-cp312-cp312-manylinux_2_28_x86_64.whl |
| managym-0.2.2-cp312-cp312-macosx_11_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 11.0+ ARM64 | Details for managym-0.2.2-cp312-cp312-macosx_11_0_arm64.whl |
Total release size: 15.4 MB
Release files / managym-0.2.2.tar.gz
| Download URL | managym-0.2.2.tar.gz |
|---|---|
| Size | 1.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5749cca47b3b04500119e0e86de10508a4ceac8758468f1202f8019ae610cf3
|
|
BLAKE2b-256 checksum How to use checksums |
d7e1b1c2a72835157d1dfbe22bafd34470acdeccacf7373c7046bbfccb423217
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logRelease files / managym-0.2.2-cp313-cp313-manylinux_2_28_x86_64.whl
| Download URL | managym-0.2.2-cp313-cp313-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
cb4afe9b5097f11861de0cf8db6ee7e179a9a88503bce872bef3f715593ef400
|
|
BLAKE2b-256 checksum How to use checksums |
61b295ad07e17f24552b3f4f1d606a8d452b40cfd9c3df75f4841ac49a93039e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logRelease files / managym-0.2.2-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | managym-0.2.2-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9888de491f262bf07dd25d121f7588b75b3e3b4c81daca8d6df518c71b2c887a
|
|
BLAKE2b-256 checksum How to use checksums |
1e362e395f45f80835917496daa8bc6cd87703cc9c6aa6b69ac668beac058c18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logRelease files / managym-0.2.2-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | managym-0.2.2-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
ed83069e72ee5b084ab9539cfe0fa3c2d010af65f204079889560da132c41422
|
|
BLAKE2b-256 checksum How to use checksums |
bdbcd04e7f644e1a1683196e6c3c31fe74607b87a35c718d713f3c6009d988fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logRelease files / managym-0.2.2-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | managym-0.2.2-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3f205e3163fdc710ca0d6639f6d5f57ab7f9827dcd09f0eac98cbd135a0a4558
|
|
BLAKE2b-256 checksum How to use checksums |
2c5835045a14bab82494e938c0560611a1a8acdabe3cfe09e297500915cf40e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logSecurity for managym 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 5 files in this release have been uploaded with provenance metadata.
Attestation for managym-0.2.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.