This package can be used for generating PDF invoices from Excel invoices.
Project description
Invoice PDF Generator
The Invoice PDF Generator is a Python package designed to simplify the process of creating PDF invoices from Excel invoice data. With this package, you can quickly generate professional-looking invoices for your business needs.
Features
- Easy to Use: Generate PDF invoices with just a few lines of Python code.
- Customizable: Customize the appearance of your invoices by specifying fonts, colors, and layouts.
- Excel Integration: Read invoice data directly from Excel files, making it easy to manage and update invoice information.
- Total Amount Calculation: Automatically calculate the total amount due based on the invoice data.
- Logo Support: Add your company logo to the invoice for branding purposes.
- Cross-Platform: Works seamlessly on Windows, macOS, and Linux.
Installation
You can install the Invoice PDF Generator package via pip:
pip install invoice_pdfgen
Usage
To use the Invoice PDF Generator package, follow these steps:
- Import the
PDFInvoiceGenerator
class from the package. - Create an instance of the
PDFInvoiceGenerator
class, providing the paths to the Excel invoice file and the company logo. - Generate the PDF invoice using the
generate()
method.
from invoice_pdfgen import PDFInvoiceGenerator
# Create an instance of PDFInvoiceGenerator
generator = PDFInvoiceGenerator(excel_filepath='invoice_data.xlsx', logo_filepath='company_logo.png')
# Generate the PDF invoice
generator.generate()
Documentation
For more detailed documentation, including API references and usage examples, please visit the documentation.
Author
License
This project is licensed under the MIT License, which grants permission for free use, modification, distribution, and sublicense of the code, provided that the copyright notice (attributed to emads22) and permission notice are included in all copies or substantial portions of the software. This license is permissive and allows users to utilize the code for both commercial and non-commercial purposes.
Please see the LICENSE file for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for invoice_pdfgen-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42721d23a229da9b22df292719f2dd9b055f729a1e04d970fac3946c4fae138d |
|
MD5 | 60d3a576859217320ff470f79e92b94f |
|
BLAKE2b-256 | 5e0efed11f0f7469ca32edec1ba5075b22a970b159366399ba964e319de4c655 |