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.
Metadata
Release files for csv2pdf 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| csv2pdf-0.1.4.tar.gz | 3.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| csv2pdf-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / csv2pdf-0.1.4.tar.gz
| Download URL | csv2pdf-0.1.4.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ceb760e12108492d15008e05af4dd1bba539b736e6c89ccbfe1322a506766654
|
|
BLAKE2b-256 checksum How to use checksums |
363b4a2692bc9b8e687d88b909b99f3dd3ee9ceb14b10eb2780f898ce8dd8911
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / csv2pdf-0.1.4-py3-none-any.whl
| Download URL | csv2pdf-0.1.4-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
928e35b437b3901b194f14cfbfe008d9a2b25ab0d4fd913cad1ffdfaf4e90ff4
|
|
BLAKE2b-256 checksum How to use checksums |
446c5bf066e3738f2c21bd7efe8eb48bb8ab1e2b1d38e80218724ade9c64f4e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for csv2pdf 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.