Skip to main content

PRs Welcome Code style: black

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

Invoice Screenshot Generated by PyInvoicer.

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

Metadata

Release files for pyinvoicer 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyinvoicer 0.0.3
File Size Uploaded Provenance
pyinvoicer-0.0.3.tar.gz 7.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyinvoicer 0.0.3
File Interpreter ABI Platform
pyinvoicer-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 15.7 kB

Release files / pyinvoicer-0.0.3.tar.gz

Download URL pyinvoicer-0.0.3.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
04c2c7c168821915e82a5da109f0da4e3d2eba9e054f80eaa01733c8991389f5
BLAKE2b-256 checksum
How to use checksums
37043b9a3d53f81be862b3211b95fc9e5e5e18ab8a673c08af80461a53160d93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.6.9 Linux/5.4.0-67-generic

Release files / pyinvoicer-0.0.3-py3-none-any.whl

Download URL pyinvoicer-0.0.3-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd3b1a90cf4bba6e499752950b4c4abcbdc9eab1a3ff440daae39a52bc49b088
BLAKE2b-256 checksum
How to use checksums
6387e57a6e8998e81092d47bd6eb01cd4cf6fb30f6bb7059156ce94fb026e659
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.6.9 Linux/5.4.0-67-generic

Security for pyinvoicer 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page