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.GetValue())
# match fuzzy(levenshtein distance) with max edit distance 1, exact prefix 2
m = index.GetFuzzy("kei", 1, 2)
print(m.GetMatchedString())
For more information visit http://keyvi.org
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.5.7-cp312-cp312-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98654c9288e79bc366f184f70e3276bf5d33bbc2239a3e4ca960409838fa5503 |
|
MD5 | b53357f0722330b01595c9d74c992718 |
|
BLAKE2b-256 | 247dd5453a05b7f174984761091188e552c7099582aeb7f68cda7258ea4c921a |
Hashes for keyvi-0.5.7-cp312-cp312-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e59dfbc97afb89e4869f046f36eb391fd78c09d615a7cf1d8b21583bd5a2d904 |
|
MD5 | c62f1ef31ba5d5948325273ad4b26b70 |
|
BLAKE2b-256 | c1f0b12642438319f8c8ef75f0936434b5a431c2f050e7ab8f11f1933a0e4fcb |
Hashes for keyvi-0.5.7-cp312-cp312-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89380c26a8cb6e8b47dd6cba1d31ebbb1b8ae55ff497f212e02e67ca6f86b915 |
|
MD5 | d1b1b0e87ebbd9b85ba5f860ed46d502 |
|
BLAKE2b-256 | 4a9afe89eaf2fb97cae75ba77a0d9b72bf9fc7533816cf282b92d2a6c847b97f |
Hashes for keyvi-0.5.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e61c4ea1b1ffbeeb4a3fb728a789670470ce0383eebf0ae5397bb6e899227dc |
|
MD5 | fdb078efcd2d2ac51e8b643f2d2eb7bc |
|
BLAKE2b-256 | beb3b98eed9e6658d8ef4d1391d133a91f847f62d4538a33a478389f6ced53a5 |
Hashes for keyvi-0.5.7-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd5870b023ab9bf32c8a15213a1da053366d30be41ace8254473452ec7adf5a0 |
|
MD5 | f9aa95bac94d99bfe6a1fcc3ee45c637 |
|
BLAKE2b-256 | 92612c994b7ca8115c595bec92f2852efea1dc17d06ef4a88d0010cc51152c7f |
Hashes for keyvi-0.5.7-cp311-cp311-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e65b9382d505bdddba0e01894206e3714b193f65ed259dcd3648de435632eedc |
|
MD5 | d8aa68d7f66ad6fa40453cdd8774c7c7 |
|
BLAKE2b-256 | 267030cf8c7cf601027488477a26ef56c4683888ae0da47b57692f15ffacbed8 |
Hashes for keyvi-0.5.7-cp311-cp311-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f68dd7adec75e0d5d3afce23baa1f89b8ad72937e2210a6030983f8bd116612 |
|
MD5 | c275c44d5a250e1dc72daecedd097cc1 |
|
BLAKE2b-256 | e7dedc902219a423ea53bfe72d6e29732a97b092b9c104425e066ccdaa8e47a9 |
Hashes for keyvi-0.5.7-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53002109829f577290eb9f70f79dc8e302ffc20585b7ba33d34a1e8ae37e9aa4 |
|
MD5 | 600d73e2ee2506e5e960c72dec991900 |
|
BLAKE2b-256 | 4e384c874354d397a7680a2c765dd8eaae640709bd0a69750c754047dff4530b |
Hashes for keyvi-0.5.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8933bd554fe8bd463b674c2e64c80bfff49f06627e270389fb1e8743fb229532 |
|
MD5 | 26c7b2859daecc6c7e1a47d83d4947d4 |
|
BLAKE2b-256 | da7d97202f03d78329a23affa566cadd68a0dde72ad4858a1cb4ca9dc396e2fa |
Hashes for keyvi-0.5.7-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f5f1c19c28706a56510224fc76fe26e3e9bc0bd6915ee0c2f3efa0171660d1d |
|
MD5 | 152ca6667ee31e915f659c0c18fb3e02 |
|
BLAKE2b-256 | bfcab652a69d00a3040af5632e44ba56b458bb3b0b659d44399fcd26e2297e2b |
Hashes for keyvi-0.5.7-cp310-cp310-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c1384ce4fe37213dfba6aa7271178ba35b00aac71eaa9a3a5d6420911e0d3e7 |
|
MD5 | 775d4fba79528268f6f7cf7ec2a04f61 |
|
BLAKE2b-256 | a84c5016d3c4e8b737094c0aaea5a54287619c6a1d738a8bdb26fb833ab56937 |
Hashes for keyvi-0.5.7-cp310-cp310-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4746bd2ba0cc50a6cf82e9d9ae610001739cc5b0e3299fde1462615a9071fa61 |
|
MD5 | 05ee8cf5738fc74d201af5f7ee7cb681 |
|
BLAKE2b-256 | df48e7bef500cc8deaf551ae9f0115ad67d8b4a4b5e5c4b10c2d77edbd017029 |
Hashes for keyvi-0.5.7-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fda9b751b10cd9330c8eae6c92c18aec8485c1cf3d4347528af36f090529bee |
|
MD5 | 2baf242ff71342d2773506e321168621 |
|
BLAKE2b-256 | 8b0c20a1e8a9b8114b401e8daf8042967b02d845babdcb9c4fc96d33e04bcc67 |
Hashes for keyvi-0.5.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f012cfc1f05c8e8739ba484619df023f04dfdff8917713fdd1621960907a01da |
|
MD5 | 9ecc4480f738e1a28e0c2b586834a5e2 |
|
BLAKE2b-256 | d00bf5489920e9d400045bc73b7abb56e137569dc038c068b40720b12e99c9d5 |
Hashes for keyvi-0.5.7-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b297286e1073af9f5afa7f03c1cd0aa244557fcc1e25fb0863f23085d95c0b3a |
|
MD5 | d11526d34d3c27c0930e51d113a577cc |
|
BLAKE2b-256 | 4bcf3061a49cbb89bf8b4714676e5fce0ad9f8261c06e9a5965721ec7aad9fb6 |
Hashes for keyvi-0.5.7-cp39-cp39-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ee46f7e28cc90bd0695a3fa4f51c95ba71a4a98ce70c3fa65a6ec861e95ed9a |
|
MD5 | ae2b417286604d23b1b069b68327b31d |
|
BLAKE2b-256 | c78dd444098ef0014b8455569657e4cb0d1f2c38c83638eeb48c6631c788cc0a |
Hashes for keyvi-0.5.7-cp39-cp39-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2873a6c6f6a370c6e50ed844a52e8444a6ab4f08f0eb9fb7cdc233d3c4ab9209 |
|
MD5 | 81f9236ac126a9e8516f8115aaa3f791 |
|
BLAKE2b-256 | 1980ea123d4f8d0f374429bac3fe4630ac3f30344035d5045bb7d32c04e7e86e |
Hashes for keyvi-0.5.7-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddb45dff00c63397f11453c7ebbb143754486281f520fb0ae4d473d5447b2194 |
|
MD5 | 155b8dca3d20c6f1ebd8bb6bdcf37f8d |
|
BLAKE2b-256 | aac7951b7d49004c831bf2bf94495dc67e69b8a2202b5beb70d652ee13efdf9a |
Hashes for keyvi-0.5.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8fb73c72090407252a67b50f1d69a89729b1ef0d62a0879747dbc0fe424383c |
|
MD5 | 506874ad5aabfe0ae6ff95cf8607ff35 |
|
BLAKE2b-256 | 15b652c6dd9a1b5d3a239d9cf92ec8ede9cce3863d772e9550595bdba3cf831d |
Hashes for keyvi-0.5.7-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16f8079f92f2a54ecca201865927ad6cb1b6772fcb03202ba710aef957aaa7d7 |
|
MD5 | cf0947a7e8b513962cf1dca63bff61a9 |
|
BLAKE2b-256 | e14bbbe285aa5e816744cc9927f85362bb5ce97ec3c0a0dac3f10645630d2442 |
Hashes for keyvi-0.5.7-cp38-cp38-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0591430d716d65012ab6fa8c1fdf3251926c7b4c05b8368c751e24f45bc1ecb1 |
|
MD5 | 93cb5cdea774c24c2ff62786ccd4d91a |
|
BLAKE2b-256 | 0108af4b68f663b4f8cbc20f4980eeb03781229bfcd76a1e383c233a022109dd |
Hashes for keyvi-0.5.7-cp38-cp38-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cfdc837ad37fa81c9e5e19ae57e2dfe0565b529caf260ffa934e68caf6785d6 |
|
MD5 | e8e361abb83b812c9a58b840d4e61d11 |
|
BLAKE2b-256 | b4c6a95029f2537ea124e3bf59a463c91b8f82ad463f80e6cfe665b60ab2f717 |
Hashes for keyvi-0.5.7-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f853907438f4c2814a0e1cfb804876714d9a4d0ae8e7edcfaf3cbe6493ae8041 |
|
MD5 | 5af442d7d40acb83618bd85a71353137 |
|
BLAKE2b-256 | ed3af8ebbb861568b072df1ab0983243e1a78fdc9c1f5e276f21e365e050ce3a |