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

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.1.tar.gz (26.2 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.1-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: decksmith-0.9.1.tar.gz
  • Upload date:
  • Size: 26.2 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.1.tar.gz
Algorithm Hash digest
SHA256 210484970cb0263c9ac053400c779aa5f9a3444c99ea5321f56b5f27755f25e0
MD5 d3f2bb87ee5991465ac159226674dc07
BLAKE2b-256 a856ad769bde5e5eaba2a02ba2dd60ca9f8bab36a0652016d2bcc76b78eca82a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: decksmith-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 33.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b444434e2a78057200708388927d2efbab5e8ae20acde4d8e96c7b8a942e4b5b
MD5 e6f4c0d235981c019f7df0d880e7adac
BLAKE2b-256 11851de5903f99384656b70c37f7b073a8af1331cb94c58728d12bdae6d84517

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