Skip to main content

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

Project description

DeckSmith

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




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
    

Creating a project

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

    decksmith init
    
    • deck.json 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.json 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.json 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.1.15.tar.gz (11.8 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.1.15-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: decksmith-0.1.15.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":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.1.15.tar.gz
Algorithm Hash digest
SHA256 7c9988cd837b870704dcec694e9bc0ceb38f4878436773adc23dc2446c5a0065
MD5 552c0adbca8e6197cc2005871e8772c2
BLAKE2b-256 ab737b95cca4abb8082941964ac12ec75c0f4994aafceb227f3e9d05c7eadf59

See more details on using hashes here.

File details

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

File metadata

  • Download URL: decksmith-0.1.15-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":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.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 f41effc1fd5a8efcd57287c1702be0bb643992d6d51c5d611c48e28b62e17c06
MD5 8f769ba0a96496eb63b29cccf4d6036a
BLAKE2b-256 281c761a427e33b6da3e5e2638161ce023e3c5246e91269402bf3dfe8ffa1dd7

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