ionelmc / python-simple-ubl-invoice-generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

tests GitHub Actions Build Status Coverage Status Coverage Status
package PyPI Package latest release PyPI Wheel Supported versions Supported implementations Commits since latest release

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

About

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 100.0%