Skip to main content

Python bindings for libixx - NüschtOS search index

Project description

pyixx

Python bindings for libixx - NüschtOS search index.

Usage

import pyixx

# Load an index from bytes
with open("index.ixx", "rb") as f:
    index = pyixx.Index.read(f.read())

# Search for options
results = index.search("colorscheme", max_results=10)
for r in results:
    print(f"{r.name} (idx={r.idx}, scope={r.scope_id})")

# Get metadata
meta = index.meta()
print(f"Chunk size: {meta.chunk_size}")
print(f"Scopes: {meta.scopes}")

# Calculate chunk for fetching full option details
chunk, pos = index.get_chunk_for_idx(results[0].idx)
# Fetch meta/{chunk}.json and get item at position `pos`

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

pyixx-0.1.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyixx-0.1.0-cp313-cp313-win_amd64.whl (154.6 kB view details)

Uploaded CPython 3.13Windows x86-64

pyixx-0.1.0-cp313-cp313-musllinux_1_2_x86_64.whl (506.9 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

pyixx-0.1.0-cp313-cp313-musllinux_1_2_aarch64.whl (480.7 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

pyixx-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (302.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pyixx-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (298.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

pyixx-0.1.0-cp313-cp313-macosx_11_0_arm64.whl (262.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pyixx-0.1.0-cp313-cp313-macosx_10_12_x86_64.whl (267.8 kB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

File details

Details for the file pyixx-0.1.0.tar.gz.

File metadata

  • Download URL: pyixx-0.1.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.10.2

File hashes

Hashes for pyixx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bd1c0105fc03b968d48b0b9dfbdd643e2261a2a5d22d9253fbc9b94731de9a32
MD5 db179de2e66fac977b1f60d4351dc2e4
BLAKE2b-256 78df1459aefe2298599a487d328a016fd1f2a1ab46539d036cd4b63c08e51bd5

See more details on using hashes here.

File details

Details for the file pyixx-0.1.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: pyixx-0.1.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 154.6 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.10.2

File hashes

Hashes for pyixx-0.1.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 6aefeefcc15e019a910b68198e6a7cac6d27bc4324c77d2f981a77d49ea1e9ca
MD5 43ce80c13ef9bdad844113f2a6e3e3f8
BLAKE2b-256 4bfc398bc0d391e4f56700d5e440c80fecf3e7bd72732d6e3c0fcfd890d8615a

See more details on using hashes here.

File details

Details for the file pyixx-0.1.0-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyixx-0.1.0-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3cf8ef5144f2a58799a2f05a87bbf5b1cc2f47b515b1b6dd68e89bbd6189bebf
MD5 4d12bf8d868499f0af8545a7e8987945
BLAKE2b-256 36fffc0870478afcf31ca38b8782aabb6441393e7671cb3b8fc9d29cf6125000

See more details on using hashes here.

File details

Details for the file pyixx-0.1.0-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for pyixx-0.1.0-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f58f3f1ea79c34bd2a139784e7bdcb893f9af328a88b0c1ea67f16d1c867c58f
MD5 a8a4dd4811791e0e4b6ddb2b0361db55
BLAKE2b-256 d2db441289ca51ba6087341b7836604f41d28e92279ba8dab7e25392574c19ed

See more details on using hashes here.

File details

Details for the file pyixx-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyixx-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e1595eafe6559acf07b33d544794ada28df40ecb5aea0612f7898fd2675b4ecf
MD5 2ec32be8d209274413c996397fc71dab
BLAKE2b-256 2fc757bdc8710de215c67c49e70a7dfaae611b135a17ca88904bc2e311194646

See more details on using hashes here.

File details

Details for the file pyixx-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pyixx-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5c0a90874f76ab0f726f9c883f711aadcbd11532af854263f1123ef48b7290d2
MD5 a4f8fd973a49e8e09a71ceb6fc50e4b9
BLAKE2b-256 c38c3acb4307bfa72a6e08c979f101aa1f767b2bb9df1e665e5ad63dfb89f3c7

See more details on using hashes here.

File details

Details for the file pyixx-0.1.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyixx-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1a09264c695a39e0c704ffa7ef3b7a822ca7b95d554b643009741550f0cac98b
MD5 e76f4925cc2ae0ab1329faf2e9303eac
BLAKE2b-256 15192ffba42c1d71e68b1d9f8c94ebc23b409bc7fc99046b096dd87faae9f204

See more details on using hashes here.

File details

Details for the file pyixx-0.1.0-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pyixx-0.1.0-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 12812b98ab8b433e71d47645c7559745a950da08f8d1a1259db3de55c4577db8
MD5 9c43de9852cc07b5610d788f0d2f9433
BLAKE2b-256 dd3d889fe0af752b57169fd31326ba011ab6f88f83ecc60b6ba900fc9765ea77

See more details on using hashes here.

Supported by

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