Demilich, the MTG skeleton wizard
Project description
Demilich - the MTG skeleton wizard
A tool for quickly scaffolding a custom MTG set.
Installation
% pip install demilich
Basic use
% demilich play-booster > skeleton.csv
Then open skeleton.csv in the editor of your choice.
Custom skeleton
You can use demilich with your custom skeleton definition.
I recommend you copy pb2024.toml to use as a starting point.
Once you have your my-custom-skeleton.toml ready to go, run:
% demilich custom-skeleton my-custom-skeleton.toml
Output formats
By default, demilich generates a CSV.
You can ask for a pretty-printed table instead with the --format option.
% demilich play-booster --format=table
# or
% demilich custom-skeleton my-custom-skeleton.toml --format=table
Suppressing or including big columns
CSV mode includes all columns by default.
Table mode suppresses the "instruction" column by default.
You can bring it back with --include-instruction.
(You'll want a pretty wide terminal for this to make sense.)
% demilich play-booster --format=table --include-instruction
You can additionally suppress card text with --no-include-text:
% demilich play-booster --format=table --no-include-text
Programmatically building a skeleton
The API for SkeletonGenerator is documented in docstrings so you can generate skeletons programmatically.
See the examples in examples/ for ideas on how to do it.
Each SkeletonGenerator is only responsible for a single section of a full skeleton.
It keeps a fixed rarity and frame code, which simplifies the implementation quite a bit.
If you need something much fancier, like redistribution keywords that didn't make it into one rarity into another rarity, you can probably achieve that using the programmatic interface.
Fan content policy
demilich is unofficial Fan Content permitted under the Fan Content Policy.
Not approved/endorsed by Wizards.
Portions of the materials used are property of Wizards of the Coast.
©Wizards of the Coast LLC.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file demilich-1.0.0.tar.gz.
File metadata
- Download URL: demilich-1.0.0.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.7 Darwin/24.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ffd54f3d36f9bba7d15b62e2dde65ecdbfc45f9f08f9824f668b2321c585c79
|
|
| MD5 |
1b180e839cd238daae961c0b6a712a3c
|
|
| BLAKE2b-256 |
e28ffe2a5c2696f32ab8b361c151d7530db9458cda3523c9f9acea53cae17fa4
|
File details
Details for the file demilich-1.0.0-py3-none-any.whl.
File metadata
- Download URL: demilich-1.0.0-py3-none-any.whl
- Upload date:
- Size: 21.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.7 Darwin/24.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56cce1b58f8e25ee6c4ffa5572c9d11ea55ea9e2ad4785f634461264ba8d45c3
|
|
| MD5 |
3c56e4b0c238246cd78cacb2cf160c15
|
|
| BLAKE2b-256 |
d0e59c2cb32fd2de72c60fc943d96dc7c1887b94df7ba758c2cc18950297541d
|