Treedb

Latest version: v2.6.3

Safety actively analyzes 629811 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 9

2.3

-----------

Add ``Config`` model and ``_config?`` table with ``glottolog/config/*.ini`` content.

Load languoid levels, macroareas, and endangerment status from ``Config``,
compare pseudofamily ``Config`` with treedb constants.

Add test checksums for Glottolog ``v4.4``.

Improve test coverage.

2.2

-----------

Add ``pd.read_json_lines()``.

Add ``dry_run`` parameter to ``write_files()`` functions.

Improve test environment and increase test coverage.

Improve usage example ``try-treedb.py``.

2.1.2

-------------

Insert languoids in Glottocode order again when loading from raw.

2.1.1

-------------

Fix ``write_files()``.

2.1

-----------

Bump ``pandas`` optional dependency to ``>=1``.

Add ``pd_read_languoids()`` reading json lines.

Add ``limit`` and ``offset`` parameters to ``iterlanguoids()``, ``checksum()``,
``write_languoids()``, and ``pd_read_languoids()``.

Increase test data coverage.

Clean up namespaces, add more type annotations.

2.0

-----------

Add ``source`` parameter to ``iterlanguoids()``, ``checksum()``, and ``write_json_lines()``
to use ``'files'``, ``'raw'``, or ``'tables'`` as data source.

Changed checksums from ``path_json:id:...`` to ``path_languoid:path:...`` over json lines.

Rename ``treedb.write_json_lines()`` to ``treedb.write_languoids()`` making it equal to checksum.

Rename ``compare_with_files()`` to ``compare_languoids()``.

Rename ``get_json_query()`` to ``get_languoids_query()``.

Rename ``get_query()`` to ``get_example_query()``.

Page 3 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.