CSV TO PDF CONVERTER ( .csv ➜ .pdf )
A Python module that allows you to convert CSV FILES to PDF FILES easily!
Installation
pip install csv2pdf
Examples 📋
# Quick conversion
>>> from csv2pdf import convert
>>> convert("source.csv", "destination.pdf")
# Change Orientation of the PDF File
>>> from csv2pdf import convert
>>> convert("source.csv", "destination.pdf", orientation="L")
# Specify Delimiter for the CSV File
>>> from csv2pdf import convert
>>> convert("source.csv", "destination.pdf", delimiter="&")
# Change Alignment of the cells
>>> from csv2pdf import convert
>>> convert("source.csv", "destination.pdf", align="L")
>>> from csv2pdf import convert
>>> convert("source.csv", "destination.pdf", align="R")
# Change Size & Header-Size
>>> from csv2pdf import convert
>>> convert("source.csv", "destination.pdf", size=5)
>>> from csv2pdf import convert
>>> convert("source.csv", "destination.pdf", headersize=7)
# Using custom fonts
>>> from csv2pdf import convert
>>> convert("source.csv", "destination.pdf",
font=r"Fonts\custom-font.tff", headerfont=r"Fonts\custom-header-font.tff")
Use .tff files for specifying font files. Fonts can be downloaded from Google Fonts.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
csv2pdf-0.1.4.tar.gz
(3.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file csv2pdf-0.1.4.tar.gz.
File metadata
- Download URL: csv2pdf-0.1.4.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ceb760e12108492d15008e05af4dd1bba539b736e6c89ccbfe1322a506766654
|
|
| MD5 |
e0660727663d77f73995b6e59d268a2a
|
|
| BLAKE2b-256 |
363b4a2692bc9b8e687d88b909b99f3dd3ee9ceb14b10eb2780f898ce8dd8911
|
File details
Details for the file csv2pdf-0.1.4-py3-none-any.whl.
File metadata
- Download URL: csv2pdf-0.1.4-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
928e35b437b3901b194f14cfbfe008d9a2b25ab0d4fd913cad1ffdfaf4e90ff4
|
|
| MD5 |
6cdb5e9b23d7722f0d395ba278552756
|
|
| BLAKE2b-256 |
446c5bf066e3738f2c21bd7efe8eb48bb8ab1e2b1d38e80218724ade9c64f4e8
|