<commit_before>libdiscid Python bindings
=========================

python-libdiscid implements Python bindings for libdiscid using Cython. Both
Python 2 (>= 2.7) and 3 (>= 3.4) are supported.

Dependencies
------------

* libdiscid
* Cython (>= 0.15)

Note that the tarballs come with pre-built C source for the Cython module. So
Cython is only required if one builds python-libdiscid from the git repository
or if one wants to change anything in the Cython module.

Quick installation guide
------------------------

python-libdiscid is available in some distributions:
<commit_msg>Document pkgconfig dependency<commit_after>libdiscid Python bindings
=========================

python-libdiscid implements Python bindings for libdiscid using Cython. Both
Python 2 (>= 2.7) and 3 (>= 3.4) are supported.

Dependencies
------------

* libdiscid
* Cython (>= 0.15, optional)
* pkgconfig (optional)

Note that the tarballs come with pre-built C source for the Cython module. So
Cython is only required if one builds python-libdiscid from the git repository
or if one wants to change anything in the Cython module.

If pkgconfig is installed, setup.py uses libdiscid's pkg-config information to
set include directories, libraries to link, etc.

Quick installation guide
------------------------

python-libdiscid is available in some distributions:

{'fraction_non_alphanumeric': 0.14190193164933135, 'fraction_numerical': 0.01337295690936107, 'mean_word_length': 3.6448275862068966, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '699163', 'n_tokens_mistral': 377, 'n_tokens_neox': 342, 'n_words': 162}