Skip to main content

A simple CLI application that greets someone

Project description

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

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).

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:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moxtrice-1.0.1.dev0.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

moxtrice-1.0.1.dev0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file moxtrice-1.0.1.dev0.tar.gz.

File metadata

  • Download URL: moxtrice-1.0.1.dev0.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for moxtrice-1.0.1.dev0.tar.gz
Algorithm Hash digest
SHA256 fe255bb47d386e16d2f6dcdb87559d4b9db349423a7b1508a3a4751fd818e1c7
MD5 6f4a1cb6be781a21d14e8750f15bfc53
BLAKE2b-256 7934218a5b2e7755f2241c05d5148778553a316575630edb2bac42b0f438db15

See more details on using hashes here.

File details

Details for the file moxtrice-1.0.1.dev0-py3-none-any.whl.

File metadata

  • Download URL: moxtrice-1.0.1.dev0-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for moxtrice-1.0.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 7332070baf1a2668a27bff6f66cf3a548f5476eb3d321dd44ac55775c872a88f
MD5 b2b286a2755cb344e75106ca2a523740
BLAKE2b-256 d1a50b4f17bfe3d93f79dde89dedb6ca58f04865b0d89ebb42e63c0f9b965faa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page