Skip to main content

A command-line application to dynamically generate decks of cards from a YAML specification and a CSV data file, inspired by nandeck.

Project description

DeckSmith

julynx.github.io/decksmith

A powerful application to dynamically generate decks of cards from a YAML specification and a CSV data file.



DeckSmith is ideal for automating the creation of all kinds of decks, including TCG decks, tarot decks, business cards, and even slides.

Why DeckSmith?

Getting started

Installation

  • To begin, install DeckSmith by running:

    pip install decksmith
    
  • To launch the GUI, run:

    decksmith --gui
    

Creating a project

  • Run the following command to start from sample deck.yaml and deck.csv files:

    decksmith init
    
    • deck.yaml defines the layout for the cards in the deck.
    • deck.csv holds the data for each card, like the content of the text fields and the image paths.

Defining the layout

  • Edit deck.yaml to include all the elements you want on your cards. You can find a complete list of all the available elements and their properties in the documentation.

  • You can reference any column from deck.csv in the deck.yaml file as %column_name%.

Building the deck

  • When you are ready to generate the deck images, run:

    decksmith build
    
  • After building a deck, you can export it to PDF by running:

    decksmith export
    

Documentation

Check out the full documentation for more detailed information on how to use DeckSmith.

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

decksmith-0.9.2.tar.gz (55.3 kB view details)

Uploaded Source

Built Distribution

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

decksmith-0.9.2-py3-none-any.whl (61.2 kB view details)

Uploaded Python 3

File details

Details for the file decksmith-0.9.2.tar.gz.

File metadata

  • Download URL: decksmith-0.9.2.tar.gz
  • Upload date:
  • Size: 55.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for decksmith-0.9.2.tar.gz
Algorithm Hash digest
SHA256 be9f0f23d0787af288a755a9e3255bc3e65a0000cc837e442a7a247edfaf8797
MD5 4748cd8308e1ff1c76aae448db99ef5a
BLAKE2b-256 a7524912e3ccafdb75dec6152ae16ce38c24a55f37232243e0d6d016d5d5fcfb

See more details on using hashes here.

File details

Details for the file decksmith-0.9.2-py3-none-any.whl.

File metadata

  • Download URL: decksmith-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 61.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for decksmith-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0327e9815d4a880ec8438b002957219743a81e4aba840ce6cc68775687b674a6
MD5 98101be36d3d4e57f9c92a119c3eca36
BLAKE2b-256 d46fcd9f8556365b8434c4545dbd050e4a7b973a92aa68cd0be3cf458207923f

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