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-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea4fbaae0e8b4e5d4589a83c094ef6ec426129cae929ee890f4042158a7275c9 |
|
MD5 | 0024b95f5f8a0384410866420c539e91 |
|
BLAKE2b-256 | e83f1e060ded1c476f49856ea00ba8a36401f8ed6676da38eb0afea7b6901453 |
Hashes for keyvi-0.6.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0004d6d183ceb5b6355026abd3aad9b0f80ed2f118519d7f1b20332cac6d3525 |
|
MD5 | ae21939c897b78a7696d5a07ada17f16 |
|
BLAKE2b-256 | 1f1ee94d2a35fb988f669e4931845509806b3c25e6c6826c3f23a3abe93f8279 |
Hashes for keyvi-0.6.2-pp310-pypy310_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8fdb3153330bd8c1f7e27a0347ef89cc3fdb9c7f1af5a79436c69f069025077 |
|
MD5 | 74bf025e1e26b97c856a5e7599332c46 |
|
BLAKE2b-256 | b312cedcecdd41d0a2533a057a3127a3784bdadb933b10f1ce0a5cd75612d03b |
Hashes for keyvi-0.6.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42fa582885fa01400df8f6230afebf23bdfae0cfb65582b6bf43f471e4d377ca |
|
MD5 | ccf2104c31cccbd79858ba18796b482b |
|
BLAKE2b-256 | 89fb296d8e4377159e2c8f88822f6b7688ab39be67ca21b1efa1ebe41a75b6a9 |
Hashes for keyvi-0.6.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9feb7f02be42fe27fb1d17691d52e255c0ff530040458d458e5e51ef57562a05 |
|
MD5 | 580c38ab94cc19a52efcb9707ec94802 |
|
BLAKE2b-256 | 76aaff94ae739af362d36058376e5e374fbd3a1519b095fc1667e594cbd80b6d |
Hashes for keyvi-0.6.2-pp39-pypy39_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aee1b330e24a6186d6b6978ce1c8e44d80d91741beb079ae6803d7b4b763425 |
|
MD5 | 59c0c20ae9bd8760f2bb7f6c5581de3f |
|
BLAKE2b-256 | fa972b5f2e16b517c6c5b8fb5e59094f1aac4b631e21640c6ebd391569c9c010 |
Hashes for keyvi-0.6.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd02885a78fce639947af4fb854f65ae38092afa985598a79e3dc307d2196f71 |
|
MD5 | 7d7ba85f5550167a7914dc82e40ed7df |
|
BLAKE2b-256 | 3e2d5157733dac7e1132f685836ca707151fc5e66d5969c7b35967aa48e9ceb6 |
Hashes for keyvi-0.6.2-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95ad7a354f37e23b455da740395326c42c51934dc6c0c860bdc89785e1ab6ff5 |
|
MD5 | 4bca843af3b53c9b8065661a6385158e |
|
BLAKE2b-256 | 759f979ed7ec400e459bade639bb09ae74bc97b4be02a23070b0f1ba0dfe83e6 |
Hashes for keyvi-0.6.2-pp38-pypy38_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de55dbfc1a7ed00ce8cbad60e41bbb949df8b6dbf655c2fee8ff29d373b17c09 |
|
MD5 | 94da6b3ea5bc2a5420429d33d3459679 |
|
BLAKE2b-256 | 2658611e34d6c5585383db0d16d5dfcac7cfb44e102ccdae1a25514b69eb10dd |
Hashes for keyvi-0.6.2-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab3007eca25a874e0b270aec20f77701fa92ecf3ea4802f6c7bce8819b5a8e2d |
|
MD5 | 194cc7cd0f2721ed15cb1390d43cb4f8 |
|
BLAKE2b-256 | f068c8974be62213de82649ff285e572d98c587544ef70b589afbf0b7a5ff6d5 |
Hashes for keyvi-0.6.2-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f5d1aa85f39b7f59d19806801a6a5b493b1c559304dbbe5b615731915060459 |
|
MD5 | c41b9a96830e792b29a39669b7171247 |
|
BLAKE2b-256 | c92a73b9338a4e1888beb99befa2fffcb2c543471b3bfac22b4e6493b6462be8 |
Hashes for keyvi-0.6.2-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09401f33ab0af04a9f000014acd1613ef354f7612012e956675a568875c09a01 |
|
MD5 | d896369c5c9784608970357229ab9461 |
|
BLAKE2b-256 | 0935ab47bd8a2bb8f22621fae76adfb77e7033664229c2c92d4726649edab9d6 |
Hashes for keyvi-0.6.2-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 321835fc21a7217db6064e166cb249854e752c4723a36dd0734b8ea53de2a3f1 |
|
MD5 | 4bc7d23ada67c8194e6053dd43777591 |
|
BLAKE2b-256 | f750dc96ca115413a57339d1793a5372e097349021c167b31365df81cb647760 |
Hashes for keyvi-0.6.2-cp312-cp312-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaeedd445922c785cc45a7c20954db79846d9090547c1d3b583d9bf5f74d5caf |
|
MD5 | 480908dd1d9bc5f6507aeb0fa80b409a |
|
BLAKE2b-256 | aa33f1faa6f729fafb32cb0d44d5467cc13af9a8494d9370bb14ea1d8cf1c19e |
Hashes for keyvi-0.6.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20341bb607fb2ff2cc96983437b012f88baf8ec9cae347ca9789e82f73d2dca2 |
|
MD5 | 10227956d6c4353967ff7d6eee166221 |
|
BLAKE2b-256 | bb9b476e3d8ddb6607e4b5eabf7fd9531ab281ee8a167fa9d9485e506bbd95ef |
Hashes for keyvi-0.6.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 954d1a13a3b0670f21f7ccdcd68a49ec269889ce3523aa0aa50a4b395b4119af |
|
MD5 | b5cd5b68a82ac2f8c167612a58d71126 |
|
BLAKE2b-256 | 4e9f82a6071db4bcd881dcfb6a751aed90ba26196177cf85d9ca8e47662cb3f8 |
Hashes for keyvi-0.6.2-cp312-cp312-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dcb393fa3d0d9aa02ae10b53601b8667339b31cefbf8b17813cf51af302b400 |
|
MD5 | 5f48914f7053d5cbcb8bc30c68a64a43 |
|
BLAKE2b-256 | 54d76b2aedb39e3f23280ed80bef3c0480b829fcc37e3250baaad16ae4a0503e |
Hashes for keyvi-0.6.2-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e8b55da5c9e5cdcd417aa20875961c074c9c358297dc0c0aa9986ed4411d586 |
|
MD5 | ff2932a15288c94d7df8bf04c954bd11 |
|
BLAKE2b-256 | a160b420c811a30e2b2c00a4b836b752a0c7b6258700beae5140bf3304b34df9 |
Hashes for keyvi-0.6.2-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3325eebc64213f5f7faba9a7566b2d0aa4890274853a1e7bbcfb0dff0b94645 |
|
MD5 | 627620e56c1d27af58429f92d9ace5e9 |
|
BLAKE2b-256 | fde67f464edd2a87f43d3e8c4b91f43e97a7c58c030b1b8336ebe6348a9b0971 |
Hashes for keyvi-0.6.2-cp311-cp311-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94bd5725185603551487d9134df74c53bfeee8345e80a1dfce835e3bfc502d4d |
|
MD5 | 97bdcbb2a21e44205f68c4898a4a28e5 |
|
BLAKE2b-256 | 932e133ce468cd80e8c7f825cd7581d7061389cec652dfefd9ea6997d3539c87 |
Hashes for keyvi-0.6.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9826617bf5cd82f87b65f38ae075e42f49f10b7d4c08078802e23962b5f6313 |
|
MD5 | 344fe14e13c8a1a4fd1cb197f8d3f7e1 |
|
BLAKE2b-256 | 6a07af29b7a73630438dd440a480b1ddea84a95917f6a539299dcb11a931e9a6 |
Hashes for keyvi-0.6.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77d150b737e9a3136a26307e694a012b8c3ad48d46bb0bb419f07208db0bc0c2 |
|
MD5 | 4fa8bef8daa01f293517ca1d6ccd1b0f |
|
BLAKE2b-256 | 461118a65f7c217c85c8639cd652f551b285f53039670f64d9513ce0dd450639 |
Hashes for keyvi-0.6.2-cp311-cp311-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05659985b15f20b8259b7c6488ce62f0bff869733aea66ba77dca3a5ef76c0db |
|
MD5 | f6ef1d8c4bdadc29dd02ae40dc48116c |
|
BLAKE2b-256 | efb9dfb7c9754491107dec2c63be38615f4e8767ebf4a23297e7fc8fb29077f9 |
Hashes for keyvi-0.6.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aae3a49a8cc94ad31404007e0c3f89cf879a9c7ae2825a563cb69ff5fb466708 |
|
MD5 | 2f3fe22f4bbcbbdfcda89665ba753381 |
|
BLAKE2b-256 | a0343038f34bc2fbd7bf450cef29e6c0ced9415e96d1c0cb6f8e0753aaf85a8f |
Hashes for keyvi-0.6.2-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5be087a6a6ddb0de00f66d74b9652479556d3d5a2b44cf7da3e4710a4692b06 |
|
MD5 | ecdefbeca86ae6d21f9d17f21fb07dbb |
|
BLAKE2b-256 | 3a4980f35ca1eecf5ca19ec6422ade24d79ba31d49b850d4e621a6f1e82008b9 |
Hashes for keyvi-0.6.2-cp310-cp310-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87d2deb0ff66f3970cbee8e1efb2c7cc742c0a2c6c4499efe60646bb7379aee7 |
|
MD5 | e2a2758489d83181c804f430a31c8a2d |
|
BLAKE2b-256 | f7e6dbc12ea1c111390d375bfc46bdade91b9ff192798457c8a56b2ce0d39f4c |
Hashes for keyvi-0.6.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cba25a3cc818254d2bafb462ca458d4baaf37c14d79e07629bb3c07b5d00aaa7 |
|
MD5 | 4baa7f8fa40f46b0c125178f88cfd3b4 |
|
BLAKE2b-256 | 5042c9f22dfd816ed16068dd0a88f1bf73548f2bfe60aea15edb80f21a548356 |
Hashes for keyvi-0.6.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8d24b5f2570c3b518d0e839317a043a559a624a0dffcfa847898f94c9d35aab |
|
MD5 | fa36701beb07a45b7b0e233a21839e03 |
|
BLAKE2b-256 | 8fc588c7ec3fd41f624133935872a829570818512c60879acf5d6c6eeae4f341 |
Hashes for keyvi-0.6.2-cp310-cp310-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efe031d12fa7b98f185bdd9ae8cd04a446eb71b2232477fcc011d9d7a3b1ccd0 |
|
MD5 | 09f3447bb3c37f8e9514894a93f75848 |
|
BLAKE2b-256 | b6ffe9ab83036cc6bafa3ec1d1d5e0ed2a3a9e840debcc4f60e765fa5ea5684a |
Hashes for keyvi-0.6.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f1e92c94d62b68e3531dd3af317d0ce789a3bbda91298efa7943b46c394bbe1 |
|
MD5 | e6d951a56b40f8131f116618d9aa68b4 |
|
BLAKE2b-256 | dfaf4d778d886795a04c41ddec972f3b62bdc6aab793e24951d2ed4871440c31 |
Hashes for keyvi-0.6.2-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e472278a3cfe274ad3ef7c1fae05854f472f11aa50cc10bcaab76d760388aa0 |
|
MD5 | b560fb73271034898178ab5c4732c94f |
|
BLAKE2b-256 | d592916d4e3d71097f696a626cf0a3f296ba233504c46009146c5f56aa0a6789 |
Hashes for keyvi-0.6.2-cp39-cp39-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 319db821d9bf172a1a5ef8f443b519b14fd0641bef1cdd05e1ead8faeb3704e1 |
|
MD5 | 5a43fcc3103d86cd71c8f42a1499ef85 |
|
BLAKE2b-256 | e9d15ac227d89894ca475bb3e0ce1bdafdf06a014b8178e809d7194d6722f467 |
Hashes for keyvi-0.6.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4bb8c007d5c4410524f94515e0ac2136feb20b62483416cca2e1c98994676b0 |
|
MD5 | 4cf8e53f9dc0b87cfb95bf4a694e80a3 |
|
BLAKE2b-256 | 831bb6410c85c54c11ebf0b9a276d3d7ab781dc1907cab7bc1352484f9a9f374 |
Hashes for keyvi-0.6.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 565d3bc3f545309519553a9225d3873252dfd6feef9e8c6a0764f8bf4ce28000 |
|
MD5 | 16e8fa5f4cc747fa894cbb69edf2d8ae |
|
BLAKE2b-256 | 73f13968cf6795ca47e3959f3a21b569a90ae3017ca30cd5095bed1e7abbf027 |
Hashes for keyvi-0.6.2-cp39-cp39-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92b9f4683e97900cf84be77d7a2e98cc3b1e92ee6e748a85272fe49b198e6b37 |
|
MD5 | 8097c53aec62e38ca05d831526a0ec63 |
|
BLAKE2b-256 | ea27d19c7b1e60e4eee809cce8c8efd0e7f9808b801cc68fba531c064ffcb8f9 |
Hashes for keyvi-0.6.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd88e5b09cf45dd4db9d34f5479d3ce130a906c747a00673c4444875ac152779 |
|
MD5 | 71f288d2de2c4e810cb32853aa18c30f |
|
BLAKE2b-256 | d59aa1698dc41c364a077a3b3ca6b3749d40e4e0f8b10fde3cacb84c4096570e |
Hashes for keyvi-0.6.2-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85bf2aa7aa898a00e2550786430d467588e392718a438f1f06c483d604864a77 |
|
MD5 | 3812d44d3e2ec27dff2d2048847557ef |
|
BLAKE2b-256 | 7e2b7a68c93fce7c43a2fcd590f7cec764494fc2dd3e79fe878cc1d9b9d9394a |
Hashes for keyvi-0.6.2-cp38-cp38-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c02c37394baa2352a66d74b914ece903786419f26247d356c6af4da0b3e385a |
|
MD5 | 115959a04c07ae096f20ef721900c2e4 |
|
BLAKE2b-256 | d3e35695b1362b1f9a242e81c2df95e61911ef82cefcdfbc9f9a5b489e274025 |
Hashes for keyvi-0.6.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 241c252389bec22e57e9aff668711d315c99a62401f0e0809aa68f9412ea27e2 |
|
MD5 | e18ee1a7890e54f02953444306a6bbeb |
|
BLAKE2b-256 | bbc526329b7f1748b814fe865628a786083d8a29f12cf7f234b529a488140c02 |
Hashes for keyvi-0.6.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b22728c292b75a414bd775e9e5ded35d046420bd5f64379db7cd653950c2d49f |
|
MD5 | e5022104cbf08f12cd6a66e80f908a9d |
|
BLAKE2b-256 | fff2f3f4c76c723ed45bacf34cb3d382352d14e97c3246973a496e5003f80a15 |
Hashes for keyvi-0.6.2-cp38-cp38-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47d4adc0d64b2d60173f8ff09fc40847735cba9dba4a6089daa6bbdd243b9372 |
|
MD5 | 965eb15c876c1a2eecf00480d7f82a77 |
|
BLAKE2b-256 | 7364ccee0337ffaf86398d440323356f366731ce289777da9ea83aa8c95ae588 |
Hashes for keyvi-0.6.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b6fbc991f021263e6d37d6ec62d51eedc17ecca9afba99702059d8c5fbed983 |
|
MD5 | 620451122a0eb48df0cd1bbf94dfaeff |
|
BLAKE2b-256 | 89fbf459e92911654d108d720e77693dc5439d9c0229b73525f779f5feb98000 |