Dawg

Latest version: v0.8.0

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

Scan your dependencies

Page 3 of 5

0.5.5

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

- fix installation under PyPy (note: DAWG is slow under PyPy
and may have bugs).

0.5.4

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

- small tweaks for docstrings;
- the extension is rebuilt using Cython 0.18.

0.5.3

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

- small improvements to ``.compile_replaces`` method;
- benchmarks for ``.similar_items`` method;
- the extension is rebuilt with Cython pre-0.18; this made
``.prefixes`` and ``.iterprefixes`` methods faster
(up to 6x in some cases).

0.5.2

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

- tests are included in source distribution;
- benchmark results in README was nonrepresentative because of my
broken (slow) Python 3.2 install;
- installation is fixed under Python 3.x with ``LC_ALL=C`` (thanks
Jakub Wilk).

0.5.1

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

Internal tweaks: memory usage is reduced; something is a bit faster,
something is a bit slower.

0.5

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

Storage scheme is updated to match DAWG==0.5. This enables
the alphabetical ordering of ``BytesDAWG`` and ``RecordDAWG`` items.

In order to read ``BytesDAWG`` or ``RecordDAWG`` created with
versions of DAWG < 0.5 use ``payload_separator`` constructor argument::

>>> BytesDAWG(payload_separator=b'\xff').load('old.dawg')

Page 3 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.