This release is a pre-release and may not be stable for production use.
Moxtrice
A simple tool to synchronize between moxfield.com and cockatrice
Installation
Clont it and pip install . or simply
pip install moxtrice
Usage
To get started, simply run the following command:
moxtrice
By default, Moxtrice will download all public lists for the default user (me) into the current directory. You can override this by specifying a different username:
moxtrice --config.usernmae Yourname
Moxtrice will create a config file if you don't already have one. The config file looks like this:
decks:
- rMUqj1P1FEibzEFgpKqtSA
- uIbk-vrQjkaxqo_be_FFnQ
- -u5QNxgKb0uaU9t8vzztig
- C5hPo-DBXEa1uoibleNyTg
- jOPwBWIhokyYe8sjfcG3fA
- 3-GvVXtlgkWPmarhFwxphg
- Upa29gKDwES3C9InEcPUzw
- F8tbsl4bT0ObYoJyPQGyyA
- 6KIIGaY0G0ek6Dauhj5y-g
username: facet
Where the code are the string follows "https://www.moxfield.com/decks/" in your decklist url.
All synchronized lists are those defined in decks and all public decks from the specified user. This allows you to follow others and stay up to date.
To change the directory where the downloaded decks are saved, use the following command:
moxtrice --deckpath "path/to/yourdirectory"
Configuration
You can modify the config file to change various settings, such as the username and the list of decks to synchronize. For example:
decks:
- rMUqj1P1FEibzEFgpKqtSA
- C5hPo-DBXEa1uoibleNyTg
- Upa29gKDwES3C9InEcPUzw
username: Yourname
the config file named .moxtrice.yml in your home directory("C:/Users/username" in Windows and "/home/usernmae" in unix-like).
You can also leave decks empty by:
decks: []
the config file named .moxtrice.yml in your home directory("C:/Users/username" in Windows and "/home/usernmae" in unix-like).
Cautions
- Formats other than commander are supported, but they have not been thoroughly tested.
- Some dual-faced/transformed card names may be inconsistent between moxtrice and cockatrice.
- Currently, only public lists are supported because moxtrice's API is not public and we cannot really "login". According to moxfield's FAQ, this could be implemented if this project gets more attention and satisfies moxfield's requirements.
Acknowledgments
Moxtrice would not be possible without the following resources:
Metadata
Release files for moxtrice 1.1.1.dev0
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 |
|---|---|---|---|---|
| moxtrice-1.1.1.dev0.tar.gz | 18.5 kB | With provenance | Details for moxtrice-1.1.1.dev0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| moxtrice-1.1.1.dev0-py3-none-any.whl | Python 3 | none | any | Details for moxtrice-1.1.1.dev0-py3-none-any.whl |
Total release size: 34.8 kB
Release files / moxtrice-1.1.1.dev0.tar.gz
| Download URL | moxtrice-1.1.1.dev0.tar.gz |
|---|---|
| Size | 18.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a92433aebc952a46cf3f22e6ad14c9781ca0f1d3e065141ecffcceba4145a08c
|
|
BLAKE2b-256 checksum How to use checksums |
dfc4db534dd813932b0cfef2412b53c5d9eaf09d445a823aeb25413dd811c3b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 10, 2026.
Transparency logRelease files / moxtrice-1.1.1.dev0-py3-none-any.whl
| Download URL | moxtrice-1.1.1.dev0-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
732570d38fe4c80854766fb21c5d5bcdd7f50fb56fca9100fcc6fd78ca3a1ce2
|
|
BLAKE2b-256 checksum How to use checksums |
b7ce1295eb0c74b1a2282350e0b21aeebdee357954d5527df16e4a7a6026d241
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 10, 2026.
Transparency logSecurity for moxtrice 1.1.1.dev0
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
Both files in this release have been uploaded with provenance metadata.
Attestation for moxtrice-1.1.1.dev0.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 Jan 10, 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.