Architrice
Architrice is a tool to synchronise your online deck collection to your local machine to be used with MtG clients. It downloads decks by user, converts them to the right deck format and saves them in a location of your choosing.
Architrice currently supports the following deckbuilding websites
- Archidekt
- Deckstats
- Moxfield
- Tapped Out
Only your public decks can be seen and downloaded by Architrice. Architrice can output for the following MtG clients
- Cockatrice (.cod)
- Generic (.txt)
- MTGO (.dek)
- XMage (.dck)
Installation
Architrice is available on PyPi so you can install it with
python -m pip install -U architrice . Architrice requires Python version 3.7
or better.
Getting Started
To get started run python -m architrice for a simple wizard, or use the -s,
-u, -t, -p and -n command line options to configure as in
python -m architrice -a -s website_name -u website_username -t target_program \
-p /path/to/deck/directory -n profile_name
To remove a configured profile use python -m architrice -d for a wizard, or
specify a unique combination of source, user, target, path and name as above.
To add another profile use -a . For detailed help, use
python -m architrice -h .
Details
Flags to filter or provide details of profiles, used with a string to provide it
as an argument (e.g. architrice -u Username):
-u(--user) : set the username to download decks of.-s(--source) : set the website to download decks from.-t(--target) : set the output file format.-p(--path) : set deck file output directory.-n(--name) : set profile name.
In addition there is a which by it's specification or not determines whether the
"maybeboards" of downloaded decks should be included. No argument needs to be
supplied, calling architrice -m specifies that maybeboards should be included.
-m(--include-maybe)
Providing any of these will cause Architrice to filter which profiles it loads.
In addition they will be used to fill in details for adding new profiles or
outputs. Whenever you need to specify a source or target, you can just use the
first letter. For example G instead of Generic when specifying a target.
Flags to modify behaviour:
-q(--quiet) : disable output to terminal.-i(--non-interactive) : prevent input prompts, for scripting. If insufficient arguments are supplied this may cause some modes to fail.-a(--add-profile) : add a new profile.-d(--delete) : delete an existing profile and exit.-e(--edit) : edit an existing profile as JSON, using$EDITOR.-j(--export-json) : echo a JSON description of filtered profiles.-J(--import-json) : imports the JSON profile file specified using-p.-l(--latest) : download only the most recently updated deck for each profile.-o(--add-output) : add an output to an existing profile.-r(--relink) : set up shortcuts to start architrice with other applications. Note: this feature is in beta and isn't available for all clients.-v(--version) : print Architrice version and exit.-c(--clear-cards) : clear local card info cache.
Metadata
Release files for architrice 0.2.0
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 |
|---|---|---|---|---|
| architrice-0.2.0.tar.gz | 49.7 kB | Without provenance | Details for architrice-0.2.0.tar.gz |
Release files / architrice-0.2.0.tar.gz
| Download URL | architrice-0.2.0.tar.gz |
|---|---|
| Size | 49.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a999380aae94b32d6820da3d41a6f68916f08e265d37f132c2e70853bbe4eec5
|
|
BLAKE2b-256 checksum How to use checksums |
d2a0c36692fdb579da62ce58196ca0bdc76fd7cd20f6ace576a013b8c87ee0c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for architrice 0.2.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.