Skip to main content

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


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.1.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

tantipy-0.1.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file tantipy-0.1.2.tar.gz.

File metadata

  • Download URL: tantipy-0.1.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for tantipy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 252fe4508d9ea6118c2c36c0c0421e1e125022ad596aeac5418fdefc529fba64
MD5 1e459bcac63003de6f9f5d6042c08738
BLAKE2b-256 96cf3633b052a7888d35f92f0826203e7b9e959427ab39162be9b0d342d0888f

See more details on using hashes here.

File details

Details for the file tantipy-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: tantipy-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for tantipy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 40da432e42d39b3dda2cb8c21cbe47bc185067b2062184e1458684304dc5f5a7
MD5 edba8db3c8ec7843651fdc6a6eacf3fe
BLAKE2b-256 dde7c219d4a9b8c131895be40798b1f9cf9f424117aaee88d245c173f8c9aa90

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page