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.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.3.0.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for simple-ubl-invoice-generator-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4eceea340edf9f08f154b60c1acb3a2216748e7640557030b168dd31c4631141
MD5 2effdc73a7ddb4c66e64d1f55fad3059
BLAKE2b-256 4f32f8fa27a505bf1883f5e213e643be52e629b53e972934c511233a37ec68e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simple_ubl_invoice_generator-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3322845c8f9bfb459bd4522341d7855d2abfb0ccfdacc7514f62524c48ffa9e2
MD5 45036e562b31d9fdc00158084971d61f
BLAKE2b-256 2b0508d49ea68b6e072592079b2541097eec25b2d01c002b7137eb41f6b98051

See more details on using hashes here.

Supported by

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