Commandline tool to generate HTML-based and PDF invoices.
Project description
PyInvoicer
Commandline tool to generate HTML-based and PDF invoices.
PyInvoicer is a light-weight commandline tool written in Python to generate HTML-based and PDF invoices. The usage is very straightforward and easy to use: prepare your invoice content in YAML as the input of PyInvoicer. That's it!! No complicated setup like database is needed.
Quick highlights:
- run locally
- content of input in YAML
- output html and pdf
- use as less third party dependency as possible
.
Getting Started
Prerequisites
The release has been tested with Python 3.9.1.
Installation
The tool has been released to PyPI. You can install it directly from PyPI via pip.
pip install pyinvoicer
If you want to install from the source, you may need poetry
, the package dependency management tool.
This project is managed by poetry
. Fetch the source and poetry install
. See Contributing for
more details.
Usage
invoicer <your content yaml>
You will get invoice.pdf
in the same folder. The examples folder of the source
shows an example of the content yaml.
Output in Different Format
For example, if you want to output your invoice in html, invoke:
invoicer <your content yaml> --format html
Output with Customized Name and Path
invoicer <your content yaml> /path/you/want/to/use/your-invoice.pdf
More Usage Options
Please refer to invoicer --help
.
Contributing
See Contributing
Authors
Taihsiang Ho (tai271828) tai271828@gmail.com
Created from Lee-W/cookiecutter-python-template version 0.7.2
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
File details
Details for the file pyinvoicer-0.0.3.tar.gz
.
File metadata
- Download URL: pyinvoicer-0.0.3.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.6.9 Linux/5.4.0-67-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04c2c7c168821915e82a5da109f0da4e3d2eba9e054f80eaa01733c8991389f5 |
|
MD5 | 7d95e0ca79d7a8d125e46d235059b1b5 |
|
BLAKE2b-256 | 37043b9a3d53f81be862b3211b95fc9e5e5e18ab8a673c08af80461a53160d93 |
File details
Details for the file pyinvoicer-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: pyinvoicer-0.0.3-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.6.9 Linux/5.4.0-67-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd3b1a90cf4bba6e499752950b4c4abcbdc9eab1a3ff440daae39a52bc49b088 |
|
MD5 | 35c1e4fd1d7b427f9c32ce03f81aa393 |
|
BLAKE2b-256 | 6387e57a6e8998e81092d47bd6eb01cd4cf6fb30f6bb7059156ce94fb026e659 |