Skip to main content

Python integration for the irregex search and similarity engine

Project description

irregex

Python integration for the native irregex search and similarity engine.

The package provides a dependency-free subprocess API for invoking an installed irregex binary and decoding its NDJSON output:

import irregex

matches = irregex.records(
    "context",
    "resident similarity cache",
    "-e",
    "Resident",
    "--all",
)

Set IRREGEX_BIN to an explicit executable path or place the native binary on PATH. If neither is available, the API raises ExecutableNotFound with installation guidance.

Install

python3 -m pip install irregex

This initial package is the Python bridge; native binary wheels will follow.

License

MIT

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

irregex-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

irregex-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: irregex-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for irregex-0.1.0.tar.gz
Algorithm Hash digest
SHA256 04cc32840ea87ccfe7d27383de0f9047c4843f224c4ee4f7266d0efab5364df3
MD5 64abf31902fdb2a53cc14b94032e8815
BLAKE2b-256 4dac681bda9d2a696fe731be06e1babc5474751e3b81aa9bb6ebf4454d8371df

See more details on using hashes here.

File details

Details for the file irregex-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: irregex-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for irregex-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08bffe1a10f81d71a2e778a33d07fee5e5c3bad177bd7dfc27d8821774f7c8f8
MD5 2723f0bba93afd059d46fff85d5710fa
BLAKE2b-256 f0d5726cca0784766c5d7ee45020d17b692ad73b9c16d8df3f9a415d22125ebb

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