create-intro-cards 0.1.0__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.
@@ -0,0 +1,28 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2025, Robert Math
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ 3. Neither the name of the copyright holder nor the names of its
16
+ contributors may be used to endorse or promote products derived from
17
+ this software without specific prior written permission.
18
+
19
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,134 @@
1
+ Metadata-Version: 2.2
2
+ Name: create-intro-cards
3
+ Version: 0.1.0
4
+ Summary: A Python module to generate a PDF of intro cards from a dataset of individuals' attributes.
5
+ Author: Bobby Math
6
+ License: BSD 3-Clause License
7
+
8
+ Copyright (c) 2025, Robert Math
9
+
10
+ Redistribution and use in source and binary forms, with or without
11
+ modification, are permitted provided that the following conditions are met:
12
+
13
+ 1. Redistributions of source code must retain the above copyright notice, this
14
+ list of conditions and the following disclaimer.
15
+
16
+ 2. Redistributions in binary form must reproduce the above copyright notice,
17
+ this list of conditions and the following disclaimer in the documentation
18
+ and/or other materials provided with the distribution.
19
+
20
+ 3. Neither the name of the copyright holder nor the names of its
21
+ contributors may be used to endorse or promote products derived from
22
+ this software without specific prior written permission.
23
+
24
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
27
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
28
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
30
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
31
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
32
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
+ Project-URL: Homepage, https://www.github.com/robertfmath/Create-Intro-Cards
35
+ Project-URL: Documentation, https://robertfmath.github.io/Create-Intro-Cards
36
+ Keywords: introductions,intro,cards,matplotlib,pdf,visualization
37
+ Classifier: License :: OSI Approved :: BSD License
38
+ Classifier: Intended Audience :: Developers
39
+ Classifier: Programming Language :: Python :: 3.11
40
+ Classifier: Programming Language :: Python :: 3.12
41
+ Classifier: Programming Language :: Python :: 3.13
42
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
43
+ Classifier: Topic :: Multimedia :: Graphics
44
+ Requires-Python: >=3.11
45
+ Description-Content-Type: text/markdown
46
+ License-File: LICENSE.txt
47
+ Requires-Dist: numpy>=1.26.1
48
+ Requires-Dist: pandas>=2.1.2
49
+ Requires-Dist: matplotlib>=3.8.1
50
+ Requires-Dist: Pillow>=10.1.0
51
+ Requires-Dist: ipykernel>=6.29.5
52
+ Provides-Extra: dev
53
+ Requires-Dist: black; extra == "dev"
54
+ Requires-Dist: docformatter>=1.7.5; extra == "dev"
55
+ Requires-Dist: Sphinx>=7.2.6; extra == "dev"
56
+ Requires-Dist: pypdf>=5; extra == "dev"
57
+
58
+ # ![logo](https://github.com/robertfmath/Create-Intro-Cards/blob/main/docs/source/_static/images/logo.svg?raw=true)
59
+
60
+ <div align="center">
61
+
62
+ [![CI Status](https://github.com/robertfmath/Create-Intro-Cards/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/robertfmath/Create-Intro-Cards/actions/workflows/ci.yml)
63
+ [![PyPI Latest Release](https://img.shields.io/pypi/v/create-intro-cards.svg)](https://pypi.org/project/create-intro-cards/)
64
+ [![License](https://img.shields.io/badge/License-BSD_3--Clause-yellow.svg)](https://github.com/robertfmath/Create-Intro-Cards/blob/main/LICENSE.txt)
65
+ [![Documentation](https://img.shields.io/badge/Documentation-gray)](https://robertfmath.github.io/Create-Intro-Cards)
66
+
67
+ </div>
68
+
69
+ `create-intro-cards` is a Python module that transforms a data set of individuals' names, photos, and custom attributes into a paginated PDF consisting of "intro cards" that describe each individual. Each intro card displays a person's name, their photo, and a series of attributes based on custom columns in the data set.
70
+
71
+ <p align="center">
72
+ <img src="https://github.com/robertfmath/Create-Intro-Cards/blob/main/docs/source/_static/images/example_output_page.png?raw=true" alt="An example of one page of output in the pdf" style="height: 500px; width: auto; object-fit: contain;">
73
+ </p>
74
+
75
+ The input to the main function — `make_pdf` — is a Pandas DataFrame, where rows represent individuals and columns their attributes. Columns containing individuals' first names, last names, and paths to their photos are required, but the content (and number) of other columns is arbitrary and completely up to the user.
76
+
77
+ <p align="center">
78
+ <img src="https://github.com/robertfmath/Create-Intro-Cards/blob/main/docs/source/_static/images/example_people_data.png?raw=true" alt="An example of the structure of the input Pandas DataFrame" style="height: 150; width: auto; object-fit: contain;">
79
+ </p>
80
+
81
+ These arbitrary columns are used to generate a series of "column name: attribute value" pairings (e.g., "Hometown: New York, NY") for each individual, which is then plotted below their name on their intro card. If an individual doesn't have a value listed for any arbitrary column, that column's "column name: attribute value" pairing will be omitted from their card.
82
+
83
+ The shareable output PDF contains all individuals' intro cards, four per page. It's a great way for people to get to know each other!
84
+
85
+ ## Dependencies
86
+
87
+ - NumPy
88
+ - Pandas
89
+ - Matplotlib
90
+ - Pillow
91
+ - ipykernel
92
+
93
+ For a full list of dependencies&mdash;both direct and transitive&mdash;please refer to the provided `requirements.txt` file. The `requirements-dev.txt` file provides additional dependencies for development — namely Black, docformatter, Sphinx, and pypdf.
94
+
95
+ ## Installation
96
+
97
+ With Python installed, simply run:
98
+
99
+ ```bash
100
+ pip install create-intro-cards
101
+ ```
102
+
103
+ ## Usage
104
+
105
+ The entrypoint of the module is the function `make_pdf`, which generates a PDF containing intro cards for all the individuals in the input Pandas DataFrame. The function is passed this DataFrame; the names of the columns in the DataFrame that house first names, last names, and paths to individuals' photos; a path to a default photo to use in the event an individual doesn't have a photo path listed; and a path to the directory in which to store the output.
106
+
107
+ ```python
108
+ from create_intro_cards import make_pdf
109
+ import pandas as pd
110
+
111
+ people_data = pd.read_csv('path/to/people/data.csv')
112
+
113
+ make_pdf(people_data, 'First Name', 'Last Name', 'Photo Path', 'path/to/default/photo.png', 'path/to/output/dir')
114
+ ```
115
+
116
+ The output directory will contain the PDF, PNG images of all the PDF's constituent pages, and a logging file that denotes the names and photo availability statuses of all the individuals who had an intro card created.
117
+
118
+ `make_pdf` also provides optional keyword arguments to tweak the default layout of the intro cards, from font sizes and text placement to photo boundaries and more.
119
+
120
+ ```python
121
+ make_pdf(people_data, 'First Name', 'Last Name', 'Photo Path', 'path/to/default/photo.png', 'path/to/output/dir',
122
+ figure_size=(20, 10), name_x_coord=0.40, desc_font_size=14, photo_axes_bounds=(0.01, 0.02, 0.2, 0.92))
123
+ ```
124
+
125
+ To see how the different keyword arguments affect the appearance of the intro cards, a utility function called `make_pdf_preview` is provided. This function, which must be run in a Jupyter environment, displays a mock-up of the first page of the PDF that would otherwise be created if `make_pdf` were run with the same arguments (minus `path_to_output_dir`). Since it doesn't iterate through the entire data set, it takes a fraction of the time that `make_pdf` does and is ideal for prototyping.
126
+
127
+ ```python
128
+ make_pdf_preview(people_data, 'First Name', 'Last Name', 'Photo Path', 'path/to/default/photo.png',
129
+ figure_size=(20, 10), name_x_coord=0.40, desc_font_size=14, photo_axes_bounds=(0.01, 0.02, 0.2, 0.92))
130
+ ```
131
+
132
+ ## Documentation
133
+
134
+ For full documentation, please see [here](https://robertfmath.github.io/Create-Intro-Cards).
@@ -0,0 +1,77 @@
1
+ # ![logo](https://github.com/robertfmath/Create-Intro-Cards/blob/main/docs/source/_static/images/logo.svg?raw=true)
2
+
3
+ <div align="center">
4
+
5
+ [![CI Status](https://github.com/robertfmath/Create-Intro-Cards/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/robertfmath/Create-Intro-Cards/actions/workflows/ci.yml)
6
+ [![PyPI Latest Release](https://img.shields.io/pypi/v/create-intro-cards.svg)](https://pypi.org/project/create-intro-cards/)
7
+ [![License](https://img.shields.io/badge/License-BSD_3--Clause-yellow.svg)](https://github.com/robertfmath/Create-Intro-Cards/blob/main/LICENSE.txt)
8
+ [![Documentation](https://img.shields.io/badge/Documentation-gray)](https://robertfmath.github.io/Create-Intro-Cards)
9
+
10
+ </div>
11
+
12
+ `create-intro-cards` is a Python module that transforms a data set of individuals' names, photos, and custom attributes into a paginated PDF consisting of "intro cards" that describe each individual. Each intro card displays a person's name, their photo, and a series of attributes based on custom columns in the data set.
13
+
14
+ <p align="center">
15
+ <img src="https://github.com/robertfmath/Create-Intro-Cards/blob/main/docs/source/_static/images/example_output_page.png?raw=true" alt="An example of one page of output in the pdf" style="height: 500px; width: auto; object-fit: contain;">
16
+ </p>
17
+
18
+ The input to the main function — `make_pdf` — is a Pandas DataFrame, where rows represent individuals and columns their attributes. Columns containing individuals' first names, last names, and paths to their photos are required, but the content (and number) of other columns is arbitrary and completely up to the user.
19
+
20
+ <p align="center">
21
+ <img src="https://github.com/robertfmath/Create-Intro-Cards/blob/main/docs/source/_static/images/example_people_data.png?raw=true" alt="An example of the structure of the input Pandas DataFrame" style="height: 150; width: auto; object-fit: contain;">
22
+ </p>
23
+
24
+ These arbitrary columns are used to generate a series of "column name: attribute value" pairings (e.g., "Hometown: New York, NY") for each individual, which is then plotted below their name on their intro card. If an individual doesn't have a value listed for any arbitrary column, that column's "column name: attribute value" pairing will be omitted from their card.
25
+
26
+ The shareable output PDF contains all individuals' intro cards, four per page. It's a great way for people to get to know each other!
27
+
28
+ ## Dependencies
29
+
30
+ - NumPy
31
+ - Pandas
32
+ - Matplotlib
33
+ - Pillow
34
+ - ipykernel
35
+
36
+ For a full list of dependencies&mdash;both direct and transitive&mdash;please refer to the provided `requirements.txt` file. The `requirements-dev.txt` file provides additional dependencies for development — namely Black, docformatter, Sphinx, and pypdf.
37
+
38
+ ## Installation
39
+
40
+ With Python installed, simply run:
41
+
42
+ ```bash
43
+ pip install create-intro-cards
44
+ ```
45
+
46
+ ## Usage
47
+
48
+ The entrypoint of the module is the function `make_pdf`, which generates a PDF containing intro cards for all the individuals in the input Pandas DataFrame. The function is passed this DataFrame; the names of the columns in the DataFrame that house first names, last names, and paths to individuals' photos; a path to a default photo to use in the event an individual doesn't have a photo path listed; and a path to the directory in which to store the output.
49
+
50
+ ```python
51
+ from create_intro_cards import make_pdf
52
+ import pandas as pd
53
+
54
+ people_data = pd.read_csv('path/to/people/data.csv')
55
+
56
+ make_pdf(people_data, 'First Name', 'Last Name', 'Photo Path', 'path/to/default/photo.png', 'path/to/output/dir')
57
+ ```
58
+
59
+ The output directory will contain the PDF, PNG images of all the PDF's constituent pages, and a logging file that denotes the names and photo availability statuses of all the individuals who had an intro card created.
60
+
61
+ `make_pdf` also provides optional keyword arguments to tweak the default layout of the intro cards, from font sizes and text placement to photo boundaries and more.
62
+
63
+ ```python
64
+ make_pdf(people_data, 'First Name', 'Last Name', 'Photo Path', 'path/to/default/photo.png', 'path/to/output/dir',
65
+ figure_size=(20, 10), name_x_coord=0.40, desc_font_size=14, photo_axes_bounds=(0.01, 0.02, 0.2, 0.92))
66
+ ```
67
+
68
+ To see how the different keyword arguments affect the appearance of the intro cards, a utility function called `make_pdf_preview` is provided. This function, which must be run in a Jupyter environment, displays a mock-up of the first page of the PDF that would otherwise be created if `make_pdf` were run with the same arguments (minus `path_to_output_dir`). Since it doesn't iterate through the entire data set, it takes a fraction of the time that `make_pdf` does and is ideal for prototyping.
69
+
70
+ ```python
71
+ make_pdf_preview(people_data, 'First Name', 'Last Name', 'Photo Path', 'path/to/default/photo.png',
72
+ figure_size=(20, 10), name_x_coord=0.40, desc_font_size=14, photo_axes_bounds=(0.01, 0.02, 0.2, 0.92))
73
+ ```
74
+
75
+ ## Documentation
76
+
77
+ For full documentation, please see [here](https://robertfmath.github.io/Create-Intro-Cards).
@@ -0,0 +1,134 @@
1
+ Metadata-Version: 2.2
2
+ Name: create-intro-cards
3
+ Version: 0.1.0
4
+ Summary: A Python module to generate a PDF of intro cards from a dataset of individuals' attributes.
5
+ Author: Bobby Math
6
+ License: BSD 3-Clause License
7
+
8
+ Copyright (c) 2025, Robert Math
9
+
10
+ Redistribution and use in source and binary forms, with or without
11
+ modification, are permitted provided that the following conditions are met:
12
+
13
+ 1. Redistributions of source code must retain the above copyright notice, this
14
+ list of conditions and the following disclaimer.
15
+
16
+ 2. Redistributions in binary form must reproduce the above copyright notice,
17
+ this list of conditions and the following disclaimer in the documentation
18
+ and/or other materials provided with the distribution.
19
+
20
+ 3. Neither the name of the copyright holder nor the names of its
21
+ contributors may be used to endorse or promote products derived from
22
+ this software without specific prior written permission.
23
+
24
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
27
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
28
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
30
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
31
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
32
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
+ Project-URL: Homepage, https://www.github.com/robertfmath/Create-Intro-Cards
35
+ Project-URL: Documentation, https://robertfmath.github.io/Create-Intro-Cards
36
+ Keywords: introductions,intro,cards,matplotlib,pdf,visualization
37
+ Classifier: License :: OSI Approved :: BSD License
38
+ Classifier: Intended Audience :: Developers
39
+ Classifier: Programming Language :: Python :: 3.11
40
+ Classifier: Programming Language :: Python :: 3.12
41
+ Classifier: Programming Language :: Python :: 3.13
42
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
43
+ Classifier: Topic :: Multimedia :: Graphics
44
+ Requires-Python: >=3.11
45
+ Description-Content-Type: text/markdown
46
+ License-File: LICENSE.txt
47
+ Requires-Dist: numpy>=1.26.1
48
+ Requires-Dist: pandas>=2.1.2
49
+ Requires-Dist: matplotlib>=3.8.1
50
+ Requires-Dist: Pillow>=10.1.0
51
+ Requires-Dist: ipykernel>=6.29.5
52
+ Provides-Extra: dev
53
+ Requires-Dist: black; extra == "dev"
54
+ Requires-Dist: docformatter>=1.7.5; extra == "dev"
55
+ Requires-Dist: Sphinx>=7.2.6; extra == "dev"
56
+ Requires-Dist: pypdf>=5; extra == "dev"
57
+
58
+ # ![logo](https://github.com/robertfmath/Create-Intro-Cards/blob/main/docs/source/_static/images/logo.svg?raw=true)
59
+
60
+ <div align="center">
61
+
62
+ [![CI Status](https://github.com/robertfmath/Create-Intro-Cards/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/robertfmath/Create-Intro-Cards/actions/workflows/ci.yml)
63
+ [![PyPI Latest Release](https://img.shields.io/pypi/v/create-intro-cards.svg)](https://pypi.org/project/create-intro-cards/)
64
+ [![License](https://img.shields.io/badge/License-BSD_3--Clause-yellow.svg)](https://github.com/robertfmath/Create-Intro-Cards/blob/main/LICENSE.txt)
65
+ [![Documentation](https://img.shields.io/badge/Documentation-gray)](https://robertfmath.github.io/Create-Intro-Cards)
66
+
67
+ </div>
68
+
69
+ `create-intro-cards` is a Python module that transforms a data set of individuals' names, photos, and custom attributes into a paginated PDF consisting of "intro cards" that describe each individual. Each intro card displays a person's name, their photo, and a series of attributes based on custom columns in the data set.
70
+
71
+ <p align="center">
72
+ <img src="https://github.com/robertfmath/Create-Intro-Cards/blob/main/docs/source/_static/images/example_output_page.png?raw=true" alt="An example of one page of output in the pdf" style="height: 500px; width: auto; object-fit: contain;">
73
+ </p>
74
+
75
+ The input to the main function — `make_pdf` — is a Pandas DataFrame, where rows represent individuals and columns their attributes. Columns containing individuals' first names, last names, and paths to their photos are required, but the content (and number) of other columns is arbitrary and completely up to the user.
76
+
77
+ <p align="center">
78
+ <img src="https://github.com/robertfmath/Create-Intro-Cards/blob/main/docs/source/_static/images/example_people_data.png?raw=true" alt="An example of the structure of the input Pandas DataFrame" style="height: 150; width: auto; object-fit: contain;">
79
+ </p>
80
+
81
+ These arbitrary columns are used to generate a series of "column name: attribute value" pairings (e.g., "Hometown: New York, NY") for each individual, which is then plotted below their name on their intro card. If an individual doesn't have a value listed for any arbitrary column, that column's "column name: attribute value" pairing will be omitted from their card.
82
+
83
+ The shareable output PDF contains all individuals' intro cards, four per page. It's a great way for people to get to know each other!
84
+
85
+ ## Dependencies
86
+
87
+ - NumPy
88
+ - Pandas
89
+ - Matplotlib
90
+ - Pillow
91
+ - ipykernel
92
+
93
+ For a full list of dependencies&mdash;both direct and transitive&mdash;please refer to the provided `requirements.txt` file. The `requirements-dev.txt` file provides additional dependencies for development — namely Black, docformatter, Sphinx, and pypdf.
94
+
95
+ ## Installation
96
+
97
+ With Python installed, simply run:
98
+
99
+ ```bash
100
+ pip install create-intro-cards
101
+ ```
102
+
103
+ ## Usage
104
+
105
+ The entrypoint of the module is the function `make_pdf`, which generates a PDF containing intro cards for all the individuals in the input Pandas DataFrame. The function is passed this DataFrame; the names of the columns in the DataFrame that house first names, last names, and paths to individuals' photos; a path to a default photo to use in the event an individual doesn't have a photo path listed; and a path to the directory in which to store the output.
106
+
107
+ ```python
108
+ from create_intro_cards import make_pdf
109
+ import pandas as pd
110
+
111
+ people_data = pd.read_csv('path/to/people/data.csv')
112
+
113
+ make_pdf(people_data, 'First Name', 'Last Name', 'Photo Path', 'path/to/default/photo.png', 'path/to/output/dir')
114
+ ```
115
+
116
+ The output directory will contain the PDF, PNG images of all the PDF's constituent pages, and a logging file that denotes the names and photo availability statuses of all the individuals who had an intro card created.
117
+
118
+ `make_pdf` also provides optional keyword arguments to tweak the default layout of the intro cards, from font sizes and text placement to photo boundaries and more.
119
+
120
+ ```python
121
+ make_pdf(people_data, 'First Name', 'Last Name', 'Photo Path', 'path/to/default/photo.png', 'path/to/output/dir',
122
+ figure_size=(20, 10), name_x_coord=0.40, desc_font_size=14, photo_axes_bounds=(0.01, 0.02, 0.2, 0.92))
123
+ ```
124
+
125
+ To see how the different keyword arguments affect the appearance of the intro cards, a utility function called `make_pdf_preview` is provided. This function, which must be run in a Jupyter environment, displays a mock-up of the first page of the PDF that would otherwise be created if `make_pdf` were run with the same arguments (minus `path_to_output_dir`). Since it doesn't iterate through the entire data set, it takes a fraction of the time that `make_pdf` does and is ideal for prototyping.
126
+
127
+ ```python
128
+ make_pdf_preview(people_data, 'First Name', 'Last Name', 'Photo Path', 'path/to/default/photo.png',
129
+ figure_size=(20, 10), name_x_coord=0.40, desc_font_size=14, photo_axes_bounds=(0.01, 0.02, 0.2, 0.92))
130
+ ```
131
+
132
+ ## Documentation
133
+
134
+ For full documentation, please see [here](https://robertfmath.github.io/Create-Intro-Cards).
@@ -0,0 +1,10 @@
1
+ LICENSE.txt
2
+ README.md
3
+ create_intro_cards.py
4
+ pyproject.toml
5
+ create_intro_cards.egg-info/PKG-INFO
6
+ create_intro_cards.egg-info/SOURCES.txt
7
+ create_intro_cards.egg-info/dependency_links.txt
8
+ create_intro_cards.egg-info/requires.txt
9
+ create_intro_cards.egg-info/top_level.txt
10
+ tests/test_create_intro_cards.py
@@ -0,0 +1,11 @@
1
+ numpy>=1.26.1
2
+ pandas>=2.1.2
3
+ matplotlib>=3.8.1
4
+ Pillow>=10.1.0
5
+ ipykernel>=6.29.5
6
+
7
+ [dev]
8
+ black
9
+ docformatter>=1.7.5
10
+ Sphinx>=7.2.6
11
+ pypdf>=5
@@ -0,0 +1 @@
1
+ create_intro_cards