csv2pdf-0.1.4


توضیحات

Easily convert CSV Files to PDF Files using Python!
ویژگی مقدار
سیستم عامل OS Independent
نام فایل csv2pdf-0.1.4
نام csv2pdf
نسخه کتابخانه 0.1.4
نگهدارنده []
ایمیل نگهدارنده []
نویسنده SOHAM DATTA
ایمیل نویسنده dattasoham805@gmail.com
آدرس صفحه اصلی https://github.com/TECH-SAVVY-GUY/csv2pdf
آدرس اینترنتی https://pypi.org/project/csv2pdf/
مجوز -
# **CSV TO PDF CONVERTER ( .csv ➜ .pdf )** ## ***A Python module that allows you to convert CSV FILES to PDF FILES easily!*** ![](https://raw.githubusercontent.com/TECH-SAVVY-GUY/csv2pdf/master/convert.png) ### Installation ```python pip install csv2pdf ``` ### Examples 📋 ```python # Quick conversion >>> from csv2pdf import convert >>> convert("source.csv", "destination.pdf") ``` ```python # Change Orientation of the PDF File >>> from csv2pdf import convert >>> convert("source.csv", "destination.pdf", orientation="L") ``` ```python # Specify Delimiter for the CSV File >>> from csv2pdf import convert >>> convert("source.csv", "destination.pdf", delimiter="&") ``` ```python # 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") ``` ```python # 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) ``` ```python # 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](https://fonts.google.com/)**.***


نیازمندی

مقدار نام
- fpdf2


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl csv2pdf-0.1.4:

    pip install csv2pdf-0.1.4.whl


نصب پکیج tar.gz csv2pdf-0.1.4:

    pip install csv2pdf-0.1.4.tar.gz