<commit_before>dbfread - Read DBF files with Python
====================================

DBF is a file format used by databases such as dBase, Visual FoxPro,
FoxBase+ and Clipper. dbfread makes it easy to get data out of these
files.

If you also need to write DBF files check out `dbfpy
<https://pypi.python.org/pypi/dbfpy/>`_.


Example
-------

To read records from a DBF file::

    >>> import dbfread
    >>> for record in dbfread.open('people.dbf'):
    ...     print(record)
    {'NAME': 'Alice', 'BIRTHDATE': datetime.date(1987, 3, 1)}
    {'NAME': 'Bob', 'BIRTHDATE': datetime.date(1980, 11, 12)}

If you have enough memory you can load the records into a list by
passing ``load=True`` or calling the ``load()`` method. This allows
for random access::<commit_msg>Now linking to the correct package.<commit_after>dbfread - Read DBF files with Python
====================================

DBF is a file format used by databases such as dBase, Visual FoxPro,
FoxBase+ and Clipper. dbfread makes it easy to get data out of these
files.

If you also need to write DBF files check out <NAME>'s `dbf
<https://pypi.python.org/pypi/dbf/0.95.012>`_ package.


Example
-------

To read records from a DBF file::

    >>> import dbfread
    >>> for record in dbfread.open('people.dbf'):
    ...     print(record)
    {'NAME': 'Alice', 'BIRTHDATE': datetime.date(1987, 3, 1)}
    {'NAME': 'Bob', 'BIRTHDATE': datetime.date(1980, 11, 12)}

If you have enough memory you can load the records into a list by
passing ``load=True`` or calling the ``load()`` method. This allows
for random access::
{'fraction_non_alphanumeric': 0.16865953429830083, 'fraction_numerical': 0.021397105097545627, 'mean_word_length': 3.8036253776435047, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 18, 'https://': 2, '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': '2513918', 'n_tokens_mistral': 535, 'n_tokens_neox': 490, 'n_words': 202}