Skip to main content

Semantic strings based on tree-sitter

Project description

pyscrings

Python bindings for scrings powered by PyO3 and maturin

Usage

from pyscrings import powershell, javascript, php, bash, python, sql

with open("path_to_dump", "rb") as f:
    for (offset, match) in powershell(f):
        print((offset, repr(match)))

Supported languages

Build

pyscrings is powered by maturin

git clone 
cd scrings\pyscrings

pip install maturin
maturin build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pyscrings-0.1.1-cp38-abi3-win_amd64.whl (997.7 kB view details)

Uploaded CPython 3.8+Windows x86-64

pyscrings-0.1.1-cp38-abi3-manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ x86-64

File details

Details for the file pyscrings-0.1.1-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: pyscrings-0.1.1-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 997.7 kB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.5

File hashes

Hashes for pyscrings-0.1.1-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 885be81a7c9eaaf012c0f3de7d03251ebba69e0326d3513d8a2e9b57f09213e7
MD5 3c6e6ada4d836dc9f19244cea898c61a
BLAKE2b-256 e090dbf1ad80009958fb509decc22c1dbb0e8ab33aba3da4e6c05b867e688375

See more details on using hashes here.

File details

Details for the file pyscrings-0.1.1-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyscrings-0.1.1-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e23e3675e726e1cf4c79536561ca023fd6ba812dbc8b01c1736d231fdc6fdf38
MD5 24f3e096b1d47f312ce7cb5ded75906c
BLAKE2b-256 129736d9a95b8f3a5a8a602d3b88f93b406b3fa3679cbe47b50006786a5d1448

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