Metadata-Version: 2.1
Name: csv2pdf
Version: 0.1.4
Summary: Easily convert CSV Files to PDF Files using Python!
Home-page: https://github.com/TECH-SAVVY-GUY/csv2pdf
Author: SOHAM DATTA
Author-email: dattasoham805@gmail.com
License: UNKNOWN
Keywords: csv,pdf,csv2pdf,converter,file-converter
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fpdf2

# **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/)**.***


