Skip to main content
Files added late

2 files were added to this release more than 14 days after its initial publication. Inspect the release files before installing.

DAWG

https://travis-ci.org/kmike/DAWG.png?branch=master

This package provides DAWG(DAFSA)-based dictionary-like read-only objects for Python (2.x and 3.x).

String data in a DAWG may take 200x less memory than in a standard Python dict and the raw lookup speed is comparable; it also provides fast advanced methods like prefix search.

License

Wrapper code is licensed under MIT License. Bundled dawgdic C++ library is licensed under BSD license. Bundled libb64 is Public Domain.

Changes

0.7.8 (2015-04-18)

  • extra type annotations are added to make the code a bit faster;

  • mercurial mirror at bitbucket is dropped;

  • wrapper is rebuilt with Cython 0.22.

0.7.7 (2014-11-19)

  • DAWG.b_prefixes method for avoiding utf8 encoding/decoding (thanks Ikuya Yamada);

  • wrapper is rebuilt with Cython 0.21.1.

0.7.6 (2014-08-10)

  • Wrapper is rebuilt with Cython 0.20.2 to fix some issues.

0.7.5 (2014-06-05)

  • Switched to setuptools;

  • some wheels are uploaded to pypi.

0.7.4 (2014-05-29)

  • Fixed a bug in DAWG building: input should be sorted according to its binary representation.

0.7.3 (2014-05-29)

  • Wrapper is rebuilt with Cython 0.21dev;

  • Python 3.4 compatibility is verified.

0.7.2 (2013-10-03)

0.7.1 (2013-05-25)

  • Extension is rebuilt with Cython 0.19.1;

  • fixed segfault that happened on lookup from incorrectly loaded DAWG (thanks Alex Moiseenko).

0.7 (2013-04-05)

  • IntCompletionDAWG

0.6.1 (2013-03-23)

  • Installation issues in environments with LC_ALL=C are fixed;

  • PyPy is officially unsupported now (use DAWG-Python with PyPy).

0.6 (2013-03-22)

  • many thread-safety bugs are fixed (at the cost of slowing library down).

0.5.5 (2013-02-19)

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

0.5.4 (2013-02-14)

  • small tweaks for docstrings;

  • the extension is rebuilt using Cython 0.18.

0.5.3 (2013-01-03)

  • 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 (2013-01-02)

  • 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 (2012-10-11)

  • better error reporting while building DAWGs;

  • __contains__ is fixed for keys with zero bytes;

  • dawg.Error exception class;

  • building of BytesDAWG and RecordDAWG fails instead of producing incorrect results if some of the keys has unsupported characters.

0.5 (2012-10-08)

The storage scheme of BytesDAWG and RecordDAWG is changed in this release in order to provide the alphabetical ordering of items.

This is a backwards-incompatible release. In order to read BytesDAWG or RecordDAWG created with previous versions of DAWG use payload_separator constructor argument:

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

0.4.1 (2012-10-01)

  • Segfaults with empty DAWGs are fixed by updating dawgdic to latest svn.

0.4 (2012-09-26)

  • iterkeys, iteritems and iterprefixes methods (thanks Dan Blanchard).

0.3.2 (2012-09-24)

  • prefixes method for finding all prefixes of a given key.

0.3.1 (2012-09-20)

  • bundled dawgdic C++ library is updated to the latest version.

0.3 (2012-09-13)

  • similar_keys, similar_items and similar_item_values methods for more permissive lookups (they may be useful e.g. for umlaut handling);

  • load method returns self;

  • Python 3.3 support.

0.2 (2012-09-08)

Greatly improved memory usage for DAWGs loaded with load method.

There is currently a bug somewhere in a wrapper so DAWGs loaded with read() method or unpickled DAWGs uses 3x-4x memory compared to DAWGs loaded with load() method. load() is fixed in this release but other methods are not.

0.1 (2012-09-08)

Initial release.

Metadata

Release files for DAWG 0.7.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Files added late

2 files were uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for DAWG 0.7.8
File Size Uploaded
DAWG-0.7.8.tar.gz 255.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for DAWG 0.7.8
File
DAWG-0.7.8-cp36-cp36m-macosx_10_12_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.12+ x86-64 Details
DAWG-0.7.8-cp35-cp35m-macosx_10_11_x86_64.whl CPython 3.5 CPython 3.5 pymalloc macOS 10.11+ x86-64 Details
DAWG-0.7.8-cp34-cp34m-macosx_10_10_x86_64.whl CPython 3.4 CPython 3.4 pymalloc macOS 10.10+ x86-64 Details
DAWG-0.7.8-cp27-none-macosx_10_9_x86_64.whl CPython 2.7 none macOS 10.9+ x86-64 Details

Total release size: 842.9 kB

Release files / DAWG-0.7.8.tar.gz

Download URL DAWG-0.7.8.tar.gz
Size 255.8 kB
Tags Source
SHA-256 checksum
How to use checksums
30d5da3e48b8cbe5ec94c5a202d2962780d3895ba0883123e6788565f71b2953
BLAKE2b-256 checksum
How to use checksums
29c0d8d967bcaa0b572f9dc1d878bbf5a7bfd5afa2102a5ae426731f6ce3bc26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / DAWG-0.7.8-cp36-cp36m-macosx_10_12_x86_64.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL DAWG-0.7.8-cp36-cp36m-macosx_10_12_x86_64.whl
Size 142.1 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
3a5ea13d5a424542d1a7fa908db974e712be90ccdd86cec9e24c6b20794f5f5e
BLAKE2b-256 checksum
How to use checksums
874ae2933c2e02abe8034ea7e61f0694d5d170b2facf5f8e68d91f89f133da65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / DAWG-0.7.8-cp35-cp35m-macosx_10_11_x86_64.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL DAWG-0.7.8-cp35-cp35m-macosx_10_11_x86_64.whl
Size 147.2 kB
Tags CPython 3.5 CPython 3.5 pymalloc macOS 10.11+ x86-64
SHA-256 checksum
How to use checksums
402659e3044a5fb79dadefeaabb15ba9c0ef56c844bb4bcde6b102afbf4788f8
BLAKE2b-256 checksum
How to use checksums
bb150aa44dc0d70450a3364e8899e2aacca65379ad28b8c9770b08921cc83a7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / DAWG-0.7.8-cp34-cp34m-macosx_10_10_x86_64.whl

Download URL DAWG-0.7.8-cp34-cp34m-macosx_10_10_x86_64.whl
Size 151.3 kB
Tags CPython 3.4 CPython 3.4 pymalloc macOS 10.10+ x86-64
SHA-256 checksum
How to use checksums
b1f9c72bb3eca530f78fcf82f2d60ff41298f10e1c9f018b402af0ecbe246171
BLAKE2b-256 checksum
How to use checksums
e499d35b9459c15988d869ff04b698e59ccf10e4f17c498ab03eab165b7ec762
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / DAWG-0.7.8-cp27-none-macosx_10_9_x86_64.whl

Download URL DAWG-0.7.8-cp27-none-macosx_10_9_x86_64.whl
Size 146.4 kB
Tags CPython 2.7 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
7accbfe484a353e1f02a947f84f817846f30738d1170d4e855f536d5708632a3
BLAKE2b-256 checksum
How to use checksums
82f0b5c567db487355a8d14fed1b2eb5af9209b52faf175b4111f1f6924d9365
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.8.0

5 release files

This release

0.7.8 This release

5 release files

0.7.7

3 release files

0.7.6

3 release files

0.7.5

4 release files

0.7.4

1 release file

0.7.3

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7

1 release file

0.6.1

1 release file

0.6

1 release file

0.5.5

1 release file

0.5.4

1 release file

0.5.3

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.5

1 release file

0.4.1

1 release file

0.4

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page