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.3.tar.gz (56.5 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.3-py3-none-any.whl (62.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: decksmith-0.9.3.tar.gz
  • Upload date:
  • Size: 56.5 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.3.tar.gz
Algorithm Hash digest
SHA256 523d546df392b79394f80dec22b6cb5f25f270068390706af788b1f27ed0e63a
MD5 6587e8fe90dfb3f035c25b7aea98204d
BLAKE2b-256 9740a5c2b189fe0c37484b0a1eb2c4f2896c1cc9130762934836c42982ce72f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: decksmith-0.9.3-py3-none-any.whl
  • Upload date:
  • Size: 62.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0fbf3aca9a56a7a313bfe087d79590413b4dae18e4876e5eab299dd96e08b13e
MD5 e7821fd59b9b5f844ea893400cea25ab
BLAKE2b-256 aa858d4910e43241d73edb6d56c8ced612d395ed4d3b250b2002b433ec26fa76

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