SkillAgentSearch skills...

Csv2pdf

A small Python module to convert your CSV Files to PDF Files! ( .csv ➜ .pdf )

Install / Use

/learn @tech-savvy-guy/Csv2pdf
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

CSV TO PDF CONVERTER ( .csv ➜ .pdf )

A Python module that allows you to convert CSV FILES to PDF FILES easily!

➣ Install ⚜️

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.

➣ Support 😄

👉🏻 Contributions, issues, and feature requests are welcome!

⭐️ Give a star if you like this project! ⭐️

View on GitHub
GitHub Stars13
CategoryDevelopment
Updated6mo ago
Forks5

Languages

Python

Security Score

87/100

Audited on Sep 19, 2025

No findings