Overview
An example package. Generated with cookiecutter-pylibrary.
Free software: BSD 2-Clause License
Installation
pip install simple-ubl-invoice-generator
You can also install the in-development version with:
pip install https://github.com/ionelmc/python-simple-ubl-invoice-generator/archive/main.zip
Documentation
Usage: sublig [-h] [--template TEMPLATE] [--output-path OUTPUT_PATH] [--verbose] [--version] CONFIG
Command description.
- positional arguments:
CONFIG Invoice TOML config file.
options:
-h, --help show this help message and exit
--template TEMPLATE, -t TEMPLATE
Invoice UBL Jinja2 template. Default: ???/site-packages/simple_ubl_invoice_generator/template.xml
--output-path OUTPUT_PATH, -o OUTPUT_PATH
Output path for resulting invoice XML files. Default: $CWD
--verbose, -v
--version show program's version number and exit
Development
To run all the tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows |
set PYTEST_ADDOPTS=--cov-append tox |
|---|---|
Other |
PYTEST_ADDOPTS=--cov-append tox |
Changelog
0.4.1 (2024-12-04)
Added missing newline translation for csv (fixes empty rows in csv).
0.4.0 (2024-12-04)
Add a csv summary option.
0.3.0 (2024-05-07)
Changed validation to use Pydantic.
Added rounding options.
0.2.0 (2024-04-09)
Allow customising filename.
Improved validation error messages.
Renamed some configuration fields.
0.1.0 (2024-04-08)
First release on PyPI.
Metadata
Release files for simple-ubl-invoice-generator 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| simple-ubl-invoice-generator-0.4.1.tar.gz | 20.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| simple_ubl_invoice_generator-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.9 kB
Release files / simple-ubl-invoice-generator-0.4.1.tar.gz
| Download URL | simple-ubl-invoice-generator-0.4.1.tar.gz |
|---|---|
| Size | 20.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5bd1f2ac125cfb557a943484e304d28610b46bd0ecaecca0e97217ceb8011d47
|
|
BLAKE2b-256 checksum How to use checksums |
a87b01104a726eaa285c96d9dd90a04116fe5c3bdf53f4d64f49917708a3a8b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / simple_ubl_invoice_generator-0.4.1-py3-none-any.whl
| Download URL | simple_ubl_invoice_generator-0.4.1-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9972bab5f9768c08ec19f43c8b2703e87941a859b3313cddc0670d1b638eac6b
|
|
BLAKE2b-256 checksum How to use checksums |
4e8d5c46372f7450499eeacec732a0528f487391a410d0cdb2553219c159c0b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|