Python package for keyvi
Project description
Keyvi - the short form for "Key value index" is a key value store (KVS) optimized for size and lookup speed. The usage of shared memory makes it scalable and resistant. The biggest difference to other stores is the underlying data structure based on finite state machine. Storage is very space efficient, fast and by design makes various sorts of approximate matching be it fuzzy string matching or geo highly efficient. The immutable FST data structure can be used stand-alone for static datasets. If you need online writes, you can use keyvi index, a near realtime index.
Quick Start
Install keyvi with
pip3 install keyvi
create your first very simple index:
import keyvi.index
index = keyvi.index.Index("test-index")
index.Set('key', '{"answer": 42, "condition": "always"}')
index.Flush()
# get the entry for key
m = index.Get('key')
print(m.value)
# match fuzzy(levenshtein distance) with max edit distance 1, exact prefix 2
matches = index.GetFuzzy("kei", 1, 2)
print([m.matched_string for m in matches])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for keyvi-0.6.2.dev1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6701ce95fb12915571bcf22291ce70da45affdcf926cad374248172e6c1f091 |
|
MD5 | c8195aaf455fc6a9178379831adfa862 |
|
BLAKE2b-256 | 279c526034858d5d285031da6329772bc89a6383b270560833992bd099a894f8 |
Hashes for keyvi-0.6.2.dev1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe98bb776bd7b6ad245b506229a4f8059529528e6cd5c8d6c964b2dc379724bb |
|
MD5 | 8a83197fcafdba36ad79b5f4af59539b |
|
BLAKE2b-256 | 340348e5eb006fe2872c88e10479c3d5272b7dee393b6b9410f2b1c112b19b35 |
Hashes for keyvi-0.6.2.dev1-pp310-pypy310_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6063f8b70d1b5e3f96c9ef302d2c001dcb967bff03bb58cd2340f0bcacdcf0c5 |
|
MD5 | d1984b30a2d54d741efb0d9c0e31ed15 |
|
BLAKE2b-256 | cf5e8ec322225b080e13aa1adf77556aefc5fdb6edc96c55ae14f53ee24108de |
Hashes for keyvi-0.6.2.dev1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6b6916d2215d50fbf6ba39e322d7a22655ee7ec4751be0df117771070486948 |
|
MD5 | b282ca0875b25225f69c1733f8ee88ad |
|
BLAKE2b-256 | af6a303d5b3c28a85ab64307936151ad153cde74f2e90d164c1a1fd7ac1b6d08 |
Hashes for keyvi-0.6.2.dev1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a03cc4c9e42ee319930373c6205ceb072dcedb511f654a9f587e4c19a5b749b |
|
MD5 | 791717dcbba40e7d368a1069e5817cc5 |
|
BLAKE2b-256 | ee99b8ef9644fad65d30d1e2ce91466900b9e1926d9dc84e0ce8e0f29114eb13 |
Hashes for keyvi-0.6.2.dev1-pp39-pypy39_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 279e9ac3898cb76ad537fdc39f6e372386e7b6c95ac858f2a37fa72a2887bf8c |
|
MD5 | 1aa91e1c8b7dbe2b8bbbbbc8775c9cd3 |
|
BLAKE2b-256 | 670f47247d6fcfe9b609b8de137a80ff6c1bc47ff8ebfedba4297e570538c673 |
Hashes for keyvi-0.6.2.dev1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 760ccd5aaccb2ed8e7f991e7a11bc73d94c14fc3c51e9855ba222ca6f9fecedd |
|
MD5 | 781dc8d9d1f5670003d8da18c028b716 |
|
BLAKE2b-256 | 0121279b50bc513de2883e5055b96355d835477c7834c87074ba2da15a995b7d |
Hashes for keyvi-0.6.2.dev1-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be819f875832665324f925a3d0c4cf8fc014682b79f4e44ef0bee41b09dbc24b |
|
MD5 | e88ededa14be329eb3f4e61e0e2ba0ef |
|
BLAKE2b-256 | 5ea311efd0e21f906b8d3f062a2770bd6fbe8b454611657834e8b9b7d2e17ad5 |
Hashes for keyvi-0.6.2.dev1-pp38-pypy38_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef3507386d550984f9c092551bbb1592f6eca6acc3ca55bed3e38d6365188771 |
|
MD5 | 45fbb04fc6507eba1b5f2db8d4fdf0a9 |
|
BLAKE2b-256 | fccd5c27a2af0a9270cfd82717d4a8ed0c13cf1d4135e318391a9341535897ae |
Hashes for keyvi-0.6.2.dev1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c40b7b8b4021defc7fe4f35b32749af0c2257e82af21c4319bc1886579241f4d |
|
MD5 | 361afe5d00d023dab90fee10c93f5cbb |
|
BLAKE2b-256 | dfa043ee30e27cfe3fdf20e9d1fcddff854f4eb8ee6d1fe71bbab1bfbf91db44 |
Hashes for keyvi-0.6.2.dev1-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 135d03f7d4d3561a077bbcbb0394da8b1d0798763a6eebfc12bef0370e28ed37 |
|
MD5 | 0af2c86dc083805568ad0912f53ed62d |
|
BLAKE2b-256 | ab7179dc1ac9aeedd6b78d92820d7351d3084c2dd67e375df1ff531ac557a160 |
Hashes for keyvi-0.6.2.dev1-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ec4cb647958a331c8af09ae47fe2975b7e62bf54a3b5eeedd7af042b198536a |
|
MD5 | f48ff835823f7b1ee833a25d95c732e2 |
|
BLAKE2b-256 | d4365a80eb5d22dc7605bf16caf4864fe3804fd34c9b8f63d46a65d88d91507d |
Hashes for keyvi-0.6.2.dev1-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8109a41d5e8e217e2e67bc7be7388ab6b8c7d4301e26a9a9fa554df0aa1d09a |
|
MD5 | f0d915f1ea26bc643ad33c6be7edc6a3 |
|
BLAKE2b-256 | d25523dc7aada1f7d0f70073813a074ef54444d43378288dc3a0a551f13be862 |
Hashes for keyvi-0.6.2.dev1-cp312-cp312-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4bee67d90efd75c74e12f9fceb47b72661b7f906ff3b19ddfcca8ae474b36e4 |
|
MD5 | a7220227acd6d6dfd1ddcb74bba7e944 |
|
BLAKE2b-256 | 1744eadda18dcbf894293eb9cf2a563fb8e74296de515902fb238b364bf5e3d5 |
Hashes for keyvi-0.6.2.dev1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 797f29684864e76d98a04e1dd10111763d6679c1f0e90d87156cf3ab71bd34e5 |
|
MD5 | b361123dae8511dfe8177ab14a08a2f1 |
|
BLAKE2b-256 | 470f3da373404ccb41575648dd69da366cc979039a6f5cf024cfaa0dd951a380 |
Hashes for keyvi-0.6.2.dev1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75e1075b4af19e63e5fc97102e8be04887f698167705741f7118e7c6ae5a10b9 |
|
MD5 | 65f8094a9dd9c25eb9d37d81422ecce4 |
|
BLAKE2b-256 | 98affa85f78c56f7e608cdd155a41e5e65e92ce6356ca6d4dc2271cf17b3dc59 |
Hashes for keyvi-0.6.2.dev1-cp312-cp312-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 505b21f2d324d86be7bd3bea4af179d9a74892bea92abb1d4f2fa25f019f270c |
|
MD5 | 5f6a650072d45b91a267ff2f3af8f56b |
|
BLAKE2b-256 | 9df3e2a615cb2b3e44383c3c0233eb0eca5c1ba8cfb5fcfe943c3c88838fce85 |
Hashes for keyvi-0.6.2.dev1-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 832a27369e08d0e8ff5665d9f512d7189c5638064d8c30f5237caa1ee415366f |
|
MD5 | 4f04ab535517515690625e8221615f83 |
|
BLAKE2b-256 | 0b753b680656255c5b040c6fc033cf9a44f5233a7d5babe5aacca259cb33d404 |
Hashes for keyvi-0.6.2.dev1-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 794922fe12cc35916730326b5bab231fd5ff6762e4c4b883949c2c6ff432c589 |
|
MD5 | 2fa91531cd71727b6d77cf3fc5a66d92 |
|
BLAKE2b-256 | 54ca2ae6ef10256d74af24fa6ae43c6401b8198b9eacad0b133d6af1db89ad0d |
Hashes for keyvi-0.6.2.dev1-cp311-cp311-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 830d358d778d338e0383bbdf4cd40fa3e6c0728591c2d1a80e97fdc51678390a |
|
MD5 | a07ab9ada44dda721801151a25d8d081 |
|
BLAKE2b-256 | e5348be25eefe6426fd118e3c60621320334dea769c3d8c2fe0dbcbd079abe5b |
Hashes for keyvi-0.6.2.dev1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc5d128bbcfeb13b6945965fab14fd43f515e65ce116662cc0be11334e9937e9 |
|
MD5 | 0c7d46d110bc02ce9a9faaa27a5976ca |
|
BLAKE2b-256 | a87f617e4dc90e3a58f23387581750e8f3ba902f047c4f4c9ca1ea65c169b878 |
Hashes for keyvi-0.6.2.dev1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96e8fceba8b29667233f7b2adb39448f91858c30c5be0115648551900d778550 |
|
MD5 | 8d24be4898b31b8d59c71d20e4db107d |
|
BLAKE2b-256 | ac9e5114b3fd2ee8dbaa1031b4ff776d372ca145a5a35a5d70927449033a95ac |
Hashes for keyvi-0.6.2.dev1-cp311-cp311-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a081b80239b8ec9d017df76e7df2f43235be750a386ed4626eb9c3676f325f2b |
|
MD5 | a34b5b55df12da27cfc2e25eea074e93 |
|
BLAKE2b-256 | 12c77f781676536cd7ad155ee9f52755c4ba174e3e98660d1250f50cdf17caf2 |
Hashes for keyvi-0.6.2.dev1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76c9497a5dec6a5ec9971a924275c26467cf1068c9a6089dab6dc8b01faf39ca |
|
MD5 | 52783f2800a6ce67ee6b6ef70d9bd0a2 |
|
BLAKE2b-256 | 06f3e7635485a5f870ef1b66871798db5266268dbe582c5a1bf0434107831c18 |
Hashes for keyvi-0.6.2.dev1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | baef09a894118e498badf00055545cf8a58f72d8023d2a9ba6f755d2ebb8a8ff |
|
MD5 | c11312689085161c347410871923d463 |
|
BLAKE2b-256 | 0b829a7bdf7eb12e6067344df310c4b383f64ccb0fbd4f4d6c1c3f182bcca611 |
Hashes for keyvi-0.6.2.dev1-cp310-cp310-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb6865840c16a00c86b671871c8c8f3053c0bb6bf6b811374e419d52f6887c7d |
|
MD5 | 311934c3479179dc3b5bfe4adbbf2825 |
|
BLAKE2b-256 | 3ae33fa8feaac6ec4f5b7ec832bc5d3da61d8d41fbccc1e41efef4db39fbb47f |
Hashes for keyvi-0.6.2.dev1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46c0e84387531e1231bf7fb389ff81dd37974218bba36cbf39b9a689529d7600 |
|
MD5 | a5231bc1294d976b9c067301dca6cf6d |
|
BLAKE2b-256 | 89ba5623c773126bae9be1ddc4217c9ec8e026b0006acee6578c8608300a575d |
Hashes for keyvi-0.6.2.dev1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03e2681879cd5f4b66f30c556ad9e53e5743e582002e33b39ed5af383ef6287d |
|
MD5 | 6f9028a515fedd51b939c068f38165c3 |
|
BLAKE2b-256 | 1b54381da579b74fc746012911c87f0333aa690dded79ca67c0a113a896f7f07 |
Hashes for keyvi-0.6.2.dev1-cp310-cp310-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a166b15f822c80533a3a4194313031da2f860354850558583449432c8f1573ce |
|
MD5 | 4a85f42142d9bd34ef49354a26284e21 |
|
BLAKE2b-256 | 8313d87256478104af09447622ad22ff77772f37687588c9948997abb7332efa |
Hashes for keyvi-0.6.2.dev1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 605a8b4aa1bc48a7d9b8991d18e88f35b73dc531585a72744a58b3c3d02910f2 |
|
MD5 | 24ed1ce0b60ae307767d3cad821982b6 |
|
BLAKE2b-256 | 69e062efcd7b7041d6983a1114e3a71f2e699ce8e542456dbf5b093f65b71610 |
Hashes for keyvi-0.6.2.dev1-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49dfcead76ad0bbd7c2a01a873e0a531719c38eed081778dcc4ac282bc11b181 |
|
MD5 | fdb17fed0a1b170feb65fd3d71b433e6 |
|
BLAKE2b-256 | 3af7c8ba2fbd2e0a47368a6a1779364a79086aa0c4a7be98c63d066cffc57f2c |
Hashes for keyvi-0.6.2.dev1-cp39-cp39-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91119abb11d29bc79ae5639be04842a307cab432c99999a015907d1bb98e434e |
|
MD5 | da4c92272c19f2e541826bf97271edfd |
|
BLAKE2b-256 | 62b35fd7e425195b1483808218dc89ce3a4d5a4386bb77be9282649aca8776f5 |
Hashes for keyvi-0.6.2.dev1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca651a009bf9324e2ff44968fd25bc63570e108270ab1eb15d49cbfcfe0c0575 |
|
MD5 | fa3e4b2520130053feb95f88dfe0dc4b |
|
BLAKE2b-256 | dd01fc577ac860d053bf90dcd0e5e63054697a7f7363117d8b5c331bf42cd48e |
Hashes for keyvi-0.6.2.dev1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4b1b8bbe524ffbf87bc868519ab780c141c107824a52b02a811f59178e5fea6 |
|
MD5 | 6f51d2f9d823d5a82c092c3b49110089 |
|
BLAKE2b-256 | 6a961a74335cebd79bbcc91a58972f300aa567d973d9f993374843f23194da8f |
Hashes for keyvi-0.6.2.dev1-cp39-cp39-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ab06cc322d0537551dbec5844e4859bd91650ddc2c72e85287b702906df71fa |
|
MD5 | de0be19bf8279c12bffdad4d6882a73e |
|
BLAKE2b-256 | 549255668efd9f250cd4a46a90a16e55f180816b6abca54053f9ffce0bd99fe7 |
Hashes for keyvi-0.6.2.dev1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79144ac378e006c347172642a87fc3611f3e5b200e3289a6f18d58ad5e9222c7 |
|
MD5 | d40de38c43a90d88aea523191f7bc999 |
|
BLAKE2b-256 | 7850f5728cde446076aa30b1f2c45e4396495ece1e4404d7498b30cd21788940 |
Hashes for keyvi-0.6.2.dev1-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03f6ffbedfc358784535f66b76ee46f41e713484e36f7bc5716f343ee6d76afa |
|
MD5 | 712d7140544f32e4b80a0e705bc127fd |
|
BLAKE2b-256 | cfdd1596950a5cf32edfdcccc52224e799c6babc50d1290deca360e41a652a58 |
Hashes for keyvi-0.6.2.dev1-cp38-cp38-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee60818ebcf27339e150088bfb546650096e0f92cf85ee068eb8e1ac4a5af951 |
|
MD5 | b1897946d4add1ad828fc9fa2adc5847 |
|
BLAKE2b-256 | bad0578b8fd230088706a73f2399745f830bfce40d7bbc0a6a32a1fd11c7ba0d |
Hashes for keyvi-0.6.2.dev1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2095b1990045c349ae6eda33bf8c1e7c0a6ed45dccc8a79647f0c9a8545075c |
|
MD5 | 07eec8e9a5906afbaf42211ba1bf00a2 |
|
BLAKE2b-256 | 30f5b22e62318c390ade43b145f93f96d05297a1682367269d40cc48e4ca614a |
Hashes for keyvi-0.6.2.dev1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa0ba143157a9f8d9ff1e9e4536410dcd36cbe75b617ff6a683232089bbaf88b |
|
MD5 | 0d09ebcf45dab32e41415d0e09a775d8 |
|
BLAKE2b-256 | 03bbcd4037c6c78970e90796750b3ba43f5f682235635ffe3a6328500368bf23 |
Hashes for keyvi-0.6.2.dev1-cp38-cp38-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 665447f853f5d6e79021a15a93b8f9bb167318814fa913b406b94b1bb806fa05 |
|
MD5 | d147f2edfc73642905a815af4e997f44 |
|
BLAKE2b-256 | ce5af17635b816891353703a1779c0aa4ed5355e069ed0b8bf3eddebfe842443 |
Hashes for keyvi-0.6.2.dev1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9cecddbe859a69a293abbef53feddf99cba19a7dfc49907ebfc73f7af1d51e8 |
|
MD5 | 52dc5a23ed751c74386709cd24077698 |
|
BLAKE2b-256 | feab643f72272a81eaba28a9f6012cd61ef069124e64b94d64424b797234fad5 |