No project description provided
Project description
Tantipy
Tantipy is a pure python tool for reading Tantivy .store
files.
Example
import json
import os
from tantipy import TantivyReader
index_path = '...'
with open(os.path.join(index_path, 'meta.json')) as schema_file:
schema = json.load(schema_file)['schema']
with open(os.path.join(index_path, '687e95d2e6f54a3cb1008e69ebbebdd9.store')) as store_file:
content = store_file.read()
tantivy_reader = TantivyReader(content, schema)
for document in tantivy_reader.documents():
print(document)
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
tantipy-0.14.0.dev0.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for tantipy-0.14.0.dev0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3aa1c0d3fd9d357cc5010e30be867e87d7935e922a0d4431bf8765f77c191361 |
|
MD5 | f676d145a1841896a00570c5093f74d9 |
|
BLAKE2b-256 | d85f752f3a9750d77ff550d948b21a78df6bfb185924a23e1018a0b7256e8665 |