litex.novitus_xml
Driver for a Polish fiscal printer with Novitus XML protocol
Fiscal printer is a fiscal memory device used to record retail sales in Poland and few other countries in the world (eg. Russia, Czechia).
This library implements parts of XML protocol of one of the major Polish manufacturers Novitus.
Printing receipt example (for more, see tests):
from litex.novitus_xml import Printer
# uses USB device autodetection and no checksumming by default
# for more url examples, see PySerial documentation
# https://pyserial.readthedocs.io/en/latest/url_handlers.html
printer = Printer(
url='hwgrep://.*Novitus.*'
)
printer.receipt_begin()
printer.item(
name='First product',
quantity=2,
quantityunit='pcs',
ptu='A',
price=4
)
printer.item(
name='Second product',
quantity=4,
quantityunit='pcs',
description='A long description',
ptu='A',
price=2
)
printer.receipt_close(
total=16.0,
systemno='1/TEST/2020',
checkout='10',
cashier='John Doe'
)
Metadata
Release files for litex.novitus-xml 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| litex.novitus_xml-1.0.0.tar.gz | 7.5 kB | Without provenance | Details for litex.novitus_xml-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| litex.novitus_xml-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for litex.novitus_xml-1.0.0-py3-none-any.whl |
Total release size: 18.3 kB
Release files / litex.novitus_xml-1.0.0.tar.gz
| Download URL | litex.novitus_xml-1.0.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df0a3dc6c7e3206ae9255d5f58af071cf2191ae155c4d47af2198937997a83aa
|
|
BLAKE2b-256 checksum How to use checksums |
8ac0caff25d91f5a7dd1b301977745b81537aebd15fa6a5f67873d691d7fc5e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4
|
Release files / litex.novitus_xml-1.0.0-py3-none-any.whl
| Download URL | litex.novitus_xml-1.0.0-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
601543e0d5991fd78af0876b7b1a5fc822c9ac3bc650968dfd3117429a6cb813
|
|
BLAKE2b-256 checksum How to use checksums |
80f8692570a8423a159bc75fcc559ca38fd3e26f215d9842e3901bb350bb68d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4
|
Security for litex.novitus-xml 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.