<commit_before>===================
FiscalHr for Python
===================

FiscalHr is Python helper class for fiscalization in Croatia.

============
Installation
============

::

    pip install FiscalHr

======================
Certificate conversion
======================

Example for `openssl`_: ::

    umask 0077
    openssl pkcs12 -in "FISKAL 1.P12" -out fiskal-1.pem


=============
Example Usage
=============

Send receipt
------------

.. code-block:: python<commit_msg>README.rst: pip install dependency links.<commit_after>===================
FiscalHr for Python
===================

FiscalHr is Python helper class for fiscalization in Croatia.

============
Installation
============

::

    pip install --process-dependency-links FiscalHr

or

::

    pip install https://github.com/vingd/libxml2-python/archive/libxml2-python-2.7.8.zip
    pip install FiscalHr

======================
Certificate conversion
======================

Example for `openssl`_: ::

    umask 0077
    openssl pkcs12 -in "FISKAL 1.P12" -out fiskal-1.pem


=============
Example Usage
=============

Send receipt
------------

.. code-block:: python
{'fraction_non_alphanumeric': 0.31151832460732987, 'fraction_numerical': 0.02181500872600349, 'mean_word_length': 4.075221238938053, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2578054', 'n_tokens_mistral': 375, 'n_tokens_neox': 320, 'n_words': 85}