Skip to main content

An example package. Generated with cookiecutter-pylibrary.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple-ubl-invoice-generator-0.4.1.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file simple-ubl-invoice-generator-0.4.1.tar.gz.

File metadata

File hashes

Hashes for simple-ubl-invoice-generator-0.4.1.tar.gz
Algorithm Hash digest
SHA256 5bd1f2ac125cfb557a943484e304d28610b46bd0ecaecca0e97217ceb8011d47
MD5 01fac5a65a8bc737ceb1a99dddec14ec
BLAKE2b-256 a87b01104a726eaa285c96d9dd90a04116fe5c3bdf53f4d64f49917708a3a8b6

See more details on using hashes here.

File details

Details for the file simple_ubl_invoice_generator-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_ubl_invoice_generator-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9972bab5f9768c08ec19f43c8b2703e87941a859b3313cddc0670d1b638eac6b
MD5 4cae35fdc5e50b82547d0110673fc1d8
BLAKE2b-256 4e8d5c46372f7450499eeacec732a0528f487391a410d0cdb2553219c159c0b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page