Commits

Mikhail Korobov committed 8f7cd06 Merge

Merge pull request #13 from matt-hickford/has_keys_with_prefix

Add has_keys_with_prefix method

Comments (0)

Files changed (18)

+MANIFEST
+src/*.html
+
+*.py[cod]
+
+# C extensions
+*.so
+
+# Packages
+*.egg
+*.egg-info
+dist
+build
+eggs
+parts
+bin
+var
+sdist
+develop-eggs
+.installed.cfg
+lib
+lib64
+__pycache__
+
+# Installer logs
+pip-log.txt
+
+# Unit test / coverage reports
+.coverage
+.tox
+nosetests.xml
+
 * Mikhail Korobov <kmike84@gmail.com>;
 * Dan Blanchard;
 * Jakub Wilk;
-* Alex Moiseenko.
+* Alex Moiseenko;
+* `Matt Hickford <https://github.com/matt-hickford>`_.
 
 This module uses `dawgdic`_ C++ library by
 Susumu Yata & contributors.
     >>> completion_dawg.keys(u'foo')
     >>> [u'foo', u'foobar']
 
+to test whether some key begins with a given prefix::
+
+    >>> completion_dawg.has_keys_with_prefix(u'foo')
+    >>> True
+
 and to find all prefixes of a given key::
 
     >>> base_dawg.prefixes(u'foobarz')

src/_base_types.cpp

-/* Generated by Cython 0.19.1 on Sat May 25 17:40:25 2013 */
+/* Generated by Cython 0.19.1 on Thu Oct  3 00:19:15 2013 */
 
 #define PY_SSIZE_T_CLEAN
 #ifndef CYTHON_USE_PYLONG_INTERNALS

src/_completer.cpp

-/* Generated by Cython 0.19.1 on Sat May 25 17:40:25 2013 */
+/* Generated by Cython 0.19.1 on Thu Oct  3 00:19:15 2013 */
 
 #define PY_SSIZE_T_CLEAN
 #ifndef CYTHON_USE_PYLONG_INTERNALS
-/* Generated by Cython 0.19.1 on Sat May 25 17:40:25 2013 */
+/* Generated by Cython 0.19.1 on Thu Oct  3 00:19:15 2013 */
 
 #define PY_SSIZE_T_CLEAN
 #ifndef CYTHON_USE_PYLONG_INTERNALS

src/_dawg_builder.cpp

-/* Generated by Cython 0.19.1 on Sat May 25 17:40:25 2013 */
+/* Generated by Cython 0.19.1 on Thu Oct  3 00:19:15 2013 */
 
 #define PY_SSIZE_T_CLEAN
 #ifndef CYTHON_USE_PYLONG_INTERNALS

src/_dictionary.cpp

-/* Generated by Cython 0.19.1 on Sat May 25 17:40:25 2013 */
+/* Generated by Cython 0.19.1 on Thu Oct  3 00:19:15 2013 */
 
 #define PY_SSIZE_T_CLEAN
 #ifndef CYTHON_USE_PYLONG_INTERNALS

src/_dictionary_builder.cpp

-/* Generated by Cython 0.19.1 on Sat May 25 17:40:25 2013 */
+/* Generated by Cython 0.19.1 on Thu Oct  3 00:19:15 2013 */
 
 #define PY_SSIZE_T_CLEAN
 #ifndef CYTHON_USE_PYLONG_INTERNALS

src/_dictionary_unit.cpp

-/* Generated by Cython 0.19.1 on Sat May 25 17:40:25 2013 */
+/* Generated by Cython 0.19.1 on Thu Oct  3 00:19:15 2013 */
 
 #define PY_SSIZE_T_CLEAN
 #ifndef CYTHON_USE_PYLONG_INTERNALS
-/* Generated by Cython 0.19.1 on Sat May 25 17:40:25 2013 */
+/* Generated by Cython 0.19.1 on Thu Oct  3 00:19:15 2013 */
 
 #define PY_SSIZE_T_CLEAN
 #ifndef CYTHON_USE_PYLONG_INTERNALS

src/_guide_builder.cpp

-/* Generated by Cython 0.19.1 on Sat May 25 17:40:25 2013 */
+/* Generated by Cython 0.19.1 on Thu Oct  3 00:19:15 2013 */
 
 #define PY_SSIZE_T_CLEAN
 #ifndef CYTHON_USE_PYLONG_INTERNALS

src/_guide_unit.cpp

-/* Generated by Cython 0.19.1 on Sat May 25 17:40:25 2013 */
+/* Generated by Cython 0.19.1 on Thu Oct  3 00:19:15 2013 */
 
 #define PY_SSIZE_T_CLEAN
 #ifndef CYTHON_USE_PYLONG_INTERNALS

src/b64_decode.cpp

-/* Generated by Cython 0.19.1 on Sat May 25 17:40:25 2013 */
+/* Generated by Cython 0.19.1 on Thu Oct  3 00:19:15 2013 */
 
 #define PY_SSIZE_T_CLEAN
 #ifndef CYTHON_USE_PYLONG_INTERNALS