Skip to main content

vorpal python binding

PyPI Website

vorpal

vorpal

vorpal is a tool for code structural search, lint, and rewriting.

This crate intends to build a native python binding of vorpal and provide a python API for programmatic usage.

Installation

pip install vorpal-py

Usage

You can take our tests as examples. For example, test_simple.py shows how to use vorpal to search for a pattern in a file.

Please see the API usage guide and API reference for more details.

Other resources include vorpal's official site and repository.

Development

Setup virtualenv

python -m venv venv

Activate venv

source venv/bin/activate

Install maturin

pip install maturin[patchelf]

MacOS: Install patchelf and maturin

brew install patchelf
pip install maturin

Build bindings

maturin develop

Run tests

pytest

All tests files are under tests directory.

License

This project is licensed under the MIT license.

Download files

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

Source Distribution

vorpal_py-0.8.0.tar.gz (1.3 MB view details)

Uploaded Source

Built Distributions

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

vorpal_py-0.8.0-cp39-abi3-win_amd64.whl (11.4 MB view details)

Uploaded CPython 3.9+Windows x86-64

vorpal_py-0.8.0-cp39-abi3-musllinux_1_2_x86_64.whl (18.7 MB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ x86-64

vorpal_py-0.8.0-cp39-abi3-musllinux_1_2_aarch64.whl (13.0 MB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

vorpal_py-0.8.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.9 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

vorpal_py-0.8.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.7 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

vorpal_py-0.8.0-cp39-abi3-macosx_11_0_arm64.whl (11.8 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

vorpal_py-0.8.0-cp39-abi3-macosx_10_12_x86_64.whl (11.7 MB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file vorpal_py-0.8.0.tar.gz.

File metadata

  • Download URL: vorpal_py-0.8.0.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for vorpal_py-0.8.0.tar.gz
Algorithm Hash digest
SHA256 4ada3d765c945726e2265f951dc74f70f4d7b07e2b5dd508f09e0e567e0126b9
MD5 8e6b7ce03ad4f0a001fa3cf921901582
BLAKE2b-256 2b80cb9b5dfbe11caef788f8b457bbbba2568a84750deb1083f593e71ad26f42

See more details on using hashes here.

File details

Details for the file vorpal_py-0.8.0-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: vorpal_py-0.8.0-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 11.4 MB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for vorpal_py-0.8.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3e045863e12f8565d472056b8fc951ca924095d2ef50ac4ddad563b1fafd4683
MD5 527ffe7bea4288298e201b5a01cecebb
BLAKE2b-256 b4ceedaf919b762961a4e73a801c1e02b1f0d8d4bd778654151ea0e8e2d6c50f

See more details on using hashes here.

File details

Details for the file vorpal_py-0.8.0-cp39-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for vorpal_py-0.8.0-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b12d9e7003922ba8965aab7953e2c25a10ea71f81b67344b73a8fef81a5f6563
MD5 fcb7b96d09c369a4ea782a272b72c78d
BLAKE2b-256 8d7581978034fe40b19fbc12bddb3fc0d90208f68494735379e4a54048255f9a

See more details on using hashes here.

File details

Details for the file vorpal_py-0.8.0-cp39-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for vorpal_py-0.8.0-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1980e81644a435cda2c91e508e11ec6d0319db3949c40da38b6ebce506aa2d14
MD5 66641c2958086e7d93443a1dcbf90474
BLAKE2b-256 a8393e5461aec388cf0cc12c0fc25ee0500e1c30a140610eeb41303afdff3a9f

See more details on using hashes here.

File details

Details for the file vorpal_py-0.8.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for vorpal_py-0.8.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0863b2e779275add8f9d717435e3ec9dbbe13c104449792b1b5af1051c751e5e
MD5 fdf3439879abea91389892f442e12bed
BLAKE2b-256 ce8907dbe6c3a9b62c6b1c3c4375aa71090b4ca981293963bbece52766406a05

See more details on using hashes here.

File details

Details for the file vorpal_py-0.8.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for vorpal_py-0.8.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f8d7997f798d6e6f5bb9b359b3fb46b8c25ead4bb9ffede9866c9567d2693244
MD5 84c937e63284f2af322730721bf6fb24
BLAKE2b-256 e1a15e4609f27a7ebeaa033f711a4218b47ea52485915e54d18f1c438338c1f0

See more details on using hashes here.

File details

Details for the file vorpal_py-0.8.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for vorpal_py-0.8.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2bb3c662a1d93dff31c0445d9aae2e69a28ad55d022954fd46ee7bb2877e4d01
MD5 cad5b886b87e5f9b33e5d267a5a90e95
BLAKE2b-256 f3751b7ff4d33cc1581f8a2408b52ddf5677811dd395f0e7398d491f6793a7cc

See more details on using hashes here.

File details

Details for the file vorpal_py-0.8.0-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for vorpal_py-0.8.0-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1368a3afd4e85e2657d6bc07321bd53db7f1747d7629d0060786b88c3b98930b
MD5 d9119f28915aa5b279a54f096f9c5878
BLAKE2b-256 19dd366090e0a7f33017cc301977601f60807c36b9d11609c23aa75c110189df

See more details on using hashes here.

Release history Release notifications | RSS feed

0.8.3

8 files

0.8.2

8 files

0.8.1

8 files

This release

0.8.0 This release

8 files

0.7.1

8 files

0.7.0

8 files

0.6.1

8 files

0.6.0

8 files

0.5.0

8 files

0.4.1

8 files

0.4.0

8 files

0.2.0

8 files

0.1.0

8 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page