Skip to main content

peterdemartini-mtgdata-p01

An encrypted MTGJSON card-data snapshot, and the code to unpack it, for the author's mtg-skills Claude Cowork bundle. The sandbox those skills run in can install from PyPI but can't reach mtgjson.com, so this package is how the skills get their card data.

The data files are encrypted (AES-256-GCM). Without the key the package is of no use, so please don't depend on it. If you want MTGJSON data, download it from mtgjson.com.

Usage (for key holders)

import peterdemartini_mtgdata_p01 as mtgdata

mtgdata.info()                   # snapshot date, MTGJSON version, files
mtgdata.extract("~/mtgjson")     # verify, decrypt, decompress; returns the paths
MTG_DATA_KEY=... python -m peterdemartini_mtgdata_p01 extract --dest ~/mtgjson

extract checks every file against the sha256 in the (encrypted) manifest, and only replaces files in dest after all of them verify.

This release

MTGJSON snapshot of 2026-09-24 (MTGJSON 5.3.0+20260924), holding AllPrintings.json and AllPricesToday.json. Versions are the snapshot date, and a new one is published weekly.

License

The code is MIT licensed. The card data comes from MTGJSON (MIT). Magic: The Gathering card names and text are © Wizards of the Coast. This project isn't affiliated with Wizards of the Coast or MTGJSON.

Release files for peterdemartini-mtgdata-p01 2026.9.24

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for peterdemartini-mtgdata-p01 2026.9.24
File Interpreter ABI Platform
peterdemartini_mtgdata_p01-2026.9.24-py3-none-any.whl Python 3 none any Details

Release files / peterdemartini_mtgdata_p01-2026.9.24-py3-none-any.whl

Download URL peterdemartini_mtgdata_p01-2026.9.24-py3-none-any.whl
Size 102.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
462e8b188d620147b2d029d388dc7159565ab50845b38b2d6488818a3ae39eb4
BLAKE2b-256 checksum
How to use checksums
3e3315f9b393664b02fbaea4befb6a03495bea4976c1a2a75d3d9ecbebc4decc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2026.9.24 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page