decksmith 0.1.12__tar.gz → 0.1.14__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- decksmith-0.1.14/PKG-INFO +74 -0
- decksmith-0.1.14/docs/README.md +49 -0
- {decksmith-0.1.12 → decksmith-0.1.14}/pyproject.toml +1 -1
- decksmith-0.1.12/PKG-INFO +0 -54
- decksmith-0.1.12/docs/README.md +0 -29
- {decksmith-0.1.12 → decksmith-0.1.14}/decksmith/__init__.py +0 -0
- {decksmith-0.1.12 → decksmith-0.1.14}/decksmith/card_builder.py +0 -0
- {decksmith-0.1.12 → decksmith-0.1.14}/decksmith/deck_builder.py +0 -0
- {decksmith-0.1.12 → decksmith-0.1.14}/decksmith/export.py +0 -0
- {decksmith-0.1.12 → decksmith-0.1.14}/decksmith/main.py +0 -0
- {decksmith-0.1.12 → decksmith-0.1.14}/decksmith/templates/deck.csv +0 -0
- {decksmith-0.1.12 → decksmith-0.1.14}/decksmith/templates/deck.json +0 -0
- {decksmith-0.1.12 → decksmith-0.1.14}/decksmith/utils.py +0 -0
- {decksmith-0.1.12 → decksmith-0.1.14}/decksmith/validate.py +0 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: decksmith
|
|
3
|
+
Version: 0.1.14
|
|
4
|
+
Summary: A command-line application to dynamically generate decks of cards from a JSON specification and a CSV data file, inspired by nandeck.
|
|
5
|
+
License-Expression: GPL-2.0-only
|
|
6
|
+
Author: Julio Cabria
|
|
7
|
+
Author-email: juliocabria@tutanota.com
|
|
8
|
+
Requires-Python: >=3.11
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
14
|
+
Provides-Extra: dev
|
|
15
|
+
Requires-Dist: click
|
|
16
|
+
Requires-Dist: jval (==1.0.6)
|
|
17
|
+
Requires-Dist: pandas
|
|
18
|
+
Requires-Dist: pillow (>=11.3.0)
|
|
19
|
+
Requires-Dist: poetry ; extra == "dev"
|
|
20
|
+
Requires-Dist: pytest ; extra == "dev"
|
|
21
|
+
Requires-Dist: reportlab (>=4.4.3)
|
|
22
|
+
Project-URL: Homepage, https://github.com/Julynx/decksmith
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
|
|
25
|
+
# DeckSmith
|
|
26
|
+
|
|
27
|
+
*A command-line application to dynamically generate decks of cards from a JSON specification and a CSV data file, inspired by nandeck.*
|
|
28
|
+
|
|
29
|
+
<br>
|
|
30
|
+
<p align="center">
|
|
31
|
+
<img width="600" src="https://raw.githubusercontent.com/Julynx/decksmith/refs/heads/main/docs/assets/decksmith.png">
|
|
32
|
+
</p>
|
|
33
|
+
|
|
34
|
+
<br>
|
|
35
|
+
<p align="center">
|
|
36
|
+
<img width="600" src="https://raw.githubusercontent.com/Julynx/decksmith/refs/heads/main/docs/assets/banner.png">
|
|
37
|
+
</p>
|
|
38
|
+
|
|
39
|
+
<br>
|
|
40
|
+
|
|
41
|
+
DeckSmith is ideal for automating the creation of all kinds of decks, including TCG decks, tarot decks, business cards, and even slides.
|
|
42
|
+
|
|
43
|
+
## Why DeckSmith?
|
|
44
|
+
|
|
45
|
+
- ✨ Consistent layout and formatting across all cards. Define once, edit anytime, generate as many cards as you need.
|
|
46
|
+
- 🍳 Pure python, with easy installation via pip.
|
|
47
|
+
- ⚡ Highly performant card generation using parallel processing.
|
|
48
|
+
- 📖 Intuitive syntax and extensive [documentation](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md) with examples to help you get started quickly.
|
|
49
|
+
- 🧰 Tons of powerful features such as:
|
|
50
|
+
- [Start from a sample project and edit it instead of starting from scratch](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#creating-a-project)
|
|
51
|
+
- [Extensive support for images](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#images), [text](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#text), [and all kinds of different shapes](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#shapes)
|
|
52
|
+
- [Link any field to a column in the CSV file](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#basic-example-with-deckcsv)
|
|
53
|
+
- [Position elements absolutely or relative to other elements, using anchors to simplify placement](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#positioning)
|
|
54
|
+
- [Powerful image transformations using filters like crop, resize, rotate, or flip](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#images)
|
|
55
|
+
- [Export your deck as images or as a PDF for printing](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#building-the-deck)
|
|
56
|
+
|
|
57
|
+
## Getting started
|
|
58
|
+
|
|
59
|
+
- First, install DeckSmith by running `pip install decksmith`.
|
|
60
|
+
|
|
61
|
+
- Then, run `decksmith init` to start from sample `deck.json` and `deck.csv` files.
|
|
62
|
+
|
|
63
|
+
- The `deck.json` file defines the layout for the cards in the deck, while the `deck.csv` file holds the data for each card.
|
|
64
|
+
|
|
65
|
+
- You can find a complete list of all the available elements you can use in the [documentation](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md).
|
|
66
|
+
|
|
67
|
+
- Any column from the CSV can be referenced anywhere in the JSON as `%column_name%`.
|
|
68
|
+
|
|
69
|
+
- Finally, run `decksmith build` when you are ready to generate the deck images, and export them to PDF using the `decksmith export` command.
|
|
70
|
+
|
|
71
|
+
## Documentation
|
|
72
|
+
|
|
73
|
+
Check out the [full documentation](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md) for more detailed information on how to use DeckSmith.
|
|
74
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# DeckSmith
|
|
2
|
+
|
|
3
|
+
*A command-line application to dynamically generate decks of cards from a JSON specification and a CSV data file, inspired by nandeck.*
|
|
4
|
+
|
|
5
|
+
<br>
|
|
6
|
+
<p align="center">
|
|
7
|
+
<img width="600" src="https://raw.githubusercontent.com/Julynx/decksmith/refs/heads/main/docs/assets/decksmith.png">
|
|
8
|
+
</p>
|
|
9
|
+
|
|
10
|
+
<br>
|
|
11
|
+
<p align="center">
|
|
12
|
+
<img width="600" src="https://raw.githubusercontent.com/Julynx/decksmith/refs/heads/main/docs/assets/banner.png">
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
<br>
|
|
16
|
+
|
|
17
|
+
DeckSmith is ideal for automating the creation of all kinds of decks, including TCG decks, tarot decks, business cards, and even slides.
|
|
18
|
+
|
|
19
|
+
## Why DeckSmith?
|
|
20
|
+
|
|
21
|
+
- ✨ Consistent layout and formatting across all cards. Define once, edit anytime, generate as many cards as you need.
|
|
22
|
+
- 🍳 Pure python, with easy installation via pip.
|
|
23
|
+
- ⚡ Highly performant card generation using parallel processing.
|
|
24
|
+
- 📖 Intuitive syntax and extensive [documentation](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md) with examples to help you get started quickly.
|
|
25
|
+
- 🧰 Tons of powerful features such as:
|
|
26
|
+
- [Start from a sample project and edit it instead of starting from scratch](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#creating-a-project)
|
|
27
|
+
- [Extensive support for images](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#images), [text](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#text), [and all kinds of different shapes](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#shapes)
|
|
28
|
+
- [Link any field to a column in the CSV file](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#basic-example-with-deckcsv)
|
|
29
|
+
- [Position elements absolutely or relative to other elements, using anchors to simplify placement](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#positioning)
|
|
30
|
+
- [Powerful image transformations using filters like crop, resize, rotate, or flip](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#images)
|
|
31
|
+
- [Export your deck as images or as a PDF for printing](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#building-the-deck)
|
|
32
|
+
|
|
33
|
+
## Getting started
|
|
34
|
+
|
|
35
|
+
- First, install DeckSmith by running `pip install decksmith`.
|
|
36
|
+
|
|
37
|
+
- Then, run `decksmith init` to start from sample `deck.json` and `deck.csv` files.
|
|
38
|
+
|
|
39
|
+
- The `deck.json` file defines the layout for the cards in the deck, while the `deck.csv` file holds the data for each card.
|
|
40
|
+
|
|
41
|
+
- You can find a complete list of all the available elements you can use in the [documentation](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md).
|
|
42
|
+
|
|
43
|
+
- Any column from the CSV can be referenced anywhere in the JSON as `%column_name%`.
|
|
44
|
+
|
|
45
|
+
- Finally, run `decksmith build` when you are ready to generate the deck images, and export them to PDF using the `decksmith export` command.
|
|
46
|
+
|
|
47
|
+
## Documentation
|
|
48
|
+
|
|
49
|
+
Check out the [full documentation](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md) for more detailed information on how to use DeckSmith.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "decksmith"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.14"
|
|
4
4
|
description = "A command-line application to dynamically generate decks of cards from a JSON specification and a CSV data file, inspired by nandeck."
|
|
5
5
|
authors = [
|
|
6
6
|
{name = "Julio Cabria", email = "juliocabria@tutanota.com"},
|
decksmith-0.1.12/PKG-INFO
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: decksmith
|
|
3
|
-
Version: 0.1.12
|
|
4
|
-
Summary: A command-line application to dynamically generate decks of cards from a JSON specification and a CSV data file, inspired by nandeck.
|
|
5
|
-
License-Expression: GPL-2.0-only
|
|
6
|
-
Author: Julio Cabria
|
|
7
|
-
Author-email: juliocabria@tutanota.com
|
|
8
|
-
Requires-Python: >=3.11
|
|
9
|
-
Classifier: Programming Language :: Python :: 3
|
|
10
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.14
|
|
14
|
-
Provides-Extra: dev
|
|
15
|
-
Requires-Dist: click
|
|
16
|
-
Requires-Dist: jval (==1.0.6)
|
|
17
|
-
Requires-Dist: pandas
|
|
18
|
-
Requires-Dist: pillow (>=11.3.0)
|
|
19
|
-
Requires-Dist: poetry ; extra == "dev"
|
|
20
|
-
Requires-Dist: pytest ; extra == "dev"
|
|
21
|
-
Requires-Dist: reportlab (>=4.4.3)
|
|
22
|
-
Project-URL: Homepage, https://github.com/Julynx/decksmith
|
|
23
|
-
Description-Content-Type: text/markdown
|
|
24
|
-
|
|
25
|
-
# DeckSmith
|
|
26
|
-
|
|
27
|
-
*A command-line application to dynamically generate decks of cards from a JSON specification and a CSV data file, inspired by nandeck.*
|
|
28
|
-
|
|
29
|
-
<br>
|
|
30
|
-
<p align="center">
|
|
31
|
-
<img width="600" src="https://raw.githubusercontent.com/Julynx/decksmith/refs/heads/main/docs/assets/decksmith.png">
|
|
32
|
-
</p>
|
|
33
|
-
<br>
|
|
34
|
-
|
|
35
|
-
DeckSmith is ideal for automating the creation of all kinds of decks, including TCG decks, tarot decks, business cards, and even slides.
|
|
36
|
-
|
|
37
|
-
## Features
|
|
38
|
-
|
|
39
|
-
- [Initialize a sample project and edit it instead of starting from scratch](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#creating-a-project)
|
|
40
|
-
|
|
41
|
-
- [Include images](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#images), [text](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#text), [and different kinds of shapes](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#shapes)
|
|
42
|
-
|
|
43
|
-
- [Link any field to a column in the CSV file](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#basic-example-with-deckcsv)
|
|
44
|
-
|
|
45
|
-
- [Position elements absolutely or relative to other elements, using anchors to simplify placement](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#positioning)
|
|
46
|
-
|
|
47
|
-
- [Transform images using filters like crop, resize, rotate, or flip](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#images)
|
|
48
|
-
|
|
49
|
-
- [Build card images and export to PDF for printing](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#building-the-deck)
|
|
50
|
-
|
|
51
|
-
## Getting started
|
|
52
|
-
|
|
53
|
-
To start creating decks, check out [Getting Started](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md/#getting-started).
|
|
54
|
-
|
decksmith-0.1.12/docs/README.md
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# DeckSmith
|
|
2
|
-
|
|
3
|
-
*A command-line application to dynamically generate decks of cards from a JSON specification and a CSV data file, inspired by nandeck.*
|
|
4
|
-
|
|
5
|
-
<br>
|
|
6
|
-
<p align="center">
|
|
7
|
-
<img width="600" src="https://raw.githubusercontent.com/Julynx/decksmith/refs/heads/main/docs/assets/decksmith.png">
|
|
8
|
-
</p>
|
|
9
|
-
<br>
|
|
10
|
-
|
|
11
|
-
DeckSmith is ideal for automating the creation of all kinds of decks, including TCG decks, tarot decks, business cards, and even slides.
|
|
12
|
-
|
|
13
|
-
## Features
|
|
14
|
-
|
|
15
|
-
- [Initialize a sample project and edit it instead of starting from scratch](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#creating-a-project)
|
|
16
|
-
|
|
17
|
-
- [Include images](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#images), [text](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#text), [and different kinds of shapes](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#shapes)
|
|
18
|
-
|
|
19
|
-
- [Link any field to a column in the CSV file](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#basic-example-with-deckcsv)
|
|
20
|
-
|
|
21
|
-
- [Position elements absolutely or relative to other elements, using anchors to simplify placement](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#positioning)
|
|
22
|
-
|
|
23
|
-
- [Transform images using filters like crop, resize, rotate, or flip](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#images)
|
|
24
|
-
|
|
25
|
-
- [Build card images and export to PDF for printing](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md#building-the-deck)
|
|
26
|
-
|
|
27
|
-
## Getting started
|
|
28
|
-
|
|
29
|
-
To start creating decks, check out [Getting Started](https://github.com/Julynx/decksmith/blob/main/docs/DOCS.md/#getting-started).
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|