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.4.tar.gz (57.1 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.4-py3-none-any.whl (63.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: decksmith-0.9.4.tar.gz
  • Upload date:
  • Size: 57.1 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.4.tar.gz
Algorithm Hash digest
SHA256 439bbcbde81363fbe33749b9be9c719e9c64f0b258c450b100a0d9e4e64225a8
MD5 b82bf8d6a078380b9bd244bd1e6d43d7
BLAKE2b-256 3acc0c2df44c02eef6c7d970101765840888400adebb451a875604c4f4a46455

See more details on using hashes here.

File details

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

File metadata

  • Download URL: decksmith-0.9.4-py3-none-any.whl
  • Upload date:
  • Size: 63.0 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f9be5149418b8e5924dffdcb6ab6adcfa50b2c74551da459c13a56ab2f233a8d
MD5 6858cf9197c4df914a3c805f11febd1a
BLAKE2b-256 6fe5952118770ec28541051b36288196fc7e23c4e28aeaaabbc49315e2a6d9a7

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