Metadata-Version: 2.1
Name: simple-ubl-invoice-generator
Version: 0.4.1
Summary: An example package. Generated with cookiecutter-pylibrary.
Home-page: https://github.com/ionelmc/python-simple-ubl-invoice-generator
Author: Ionel Cristian Mărieș
Author-email: contact@ionelmc.ro
License: BSD-2-Clause
Project-URL: Changelog, https://github.com/ionelmc/python-simple-ubl-invoice-generator/blob/master/CHANGELOG.rst
Project-URL: Issue Tracker, https://github.com/ionelmc/python-simple-ubl-invoice-generator/issues
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: Unix
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Utilities
Requires-Python: >=3.11
License-File: LICENSE
License-File: AUTHORS.rst
Requires-Dist: pydantic
Requires-Dist: jinja2

========
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:

.. list-table::
    :widths: 10 90
    :stub-columns: 1

    - - 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.
