A fast reimplementation of ast.walk()
Project description
fast-walk
A fast (almost) drop-in implementation of ast.walk.
Installation
pip install fast-walk
Usage
from fast_walk import walk
import ast
code = """
def hello( x,y, z ):
print( x+y+z )
"""
for node in walk(ast.parse(code)):
pass
Development
Prerequisites
- Rust (latest stable)
- Python 3.13+
- maturin
Building from source
# Install maturin
pip install maturin
# Build the package
maturin develop
# Or build a release version
maturin build --release
License
MIT
Links
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fast_walk-0.1.5.tar.gz.
File metadata
- Download URL: fast_walk-0.1.5.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ad4fa7182323dcf7d74522d52ee11cadcea4ab9c3d32a5b8022c2d032a7c1d5
|
|
| MD5 |
8471fb37030aeac365632386be98e8dd
|
|
| BLAKE2b-256 |
e7955a4a48d1cd44cdc4e58ee04943a3c71ca71e703bb63354aba1212ef3a850
|
File details
Details for the file fast_walk-0.1.5-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 87.9 kB
- Tags: CPython 3.14, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60ebe4f576e560f3c09dedca3075b5e8e8dad7779e2be2892ed055be50955797
|
|
| MD5 |
0a4d890a851bd170b21cd2a93cd5a339
|
|
| BLAKE2b-256 |
80a9a5fa2224552f7e530f35fc8ec8b3a1f6e1e3d8efe121809f1381b1910fef
|
File details
Details for the file fast_walk-0.1.5-cp314-cp314-win32.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp314-cp314-win32.whl
- Upload date:
- Size: 84.5 kB
- Tags: CPython 3.14, Windows x86
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
876a56cd46e8b18fe64827ab5f5643c2e9453a8383fc2e6a6acb5c7c2f5522fa
|
|
| MD5 |
786b61245d1732268f5025dee551bf25
|
|
| BLAKE2b-256 |
b24b6e396e597ff44699234f3d1ba7dedcffe6abbafe504efc0afd9ba7fc5ecd
|
File details
Details for the file fast_walk-0.1.5-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 203.4 kB
- Tags: CPython 3.14, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f5cce4e20d5a82dae86f899354e88aed54defd90431246a08ffb6278efdf377
|
|
| MD5 |
f485ba287ba80b83c54ed1d103322912
|
|
| BLAKE2b-256 |
d618147cec9e06b4b8961f3561865791bf12a4a6f97f221f654ed68437d4d616
|
File details
Details for the file fast_walk-0.1.5-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 217.9 kB
- Tags: CPython 3.14, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55e24d3528237097339235d30f4ab75103a01167f4ac4fd78c7fc937f7ef8e42
|
|
| MD5 |
0dbb32ad7ba14c72a3f926595de17ae4
|
|
| BLAKE2b-256 |
657281f355dea300cb246b4b8f14bf61681bb7bb85ba42221b32316bdb3e1726
|
File details
Details for the file fast_walk-0.1.5-cp314-cp314-macosx_11_0_arm64.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp314-cp314-macosx_11_0_arm64.whl
- Upload date:
- Size: 182.8 kB
- Tags: CPython 3.14, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0547b16fe15edbfbc3a38414b1bb81653f19894dd563463e521d86e91dae162
|
|
| MD5 |
e7eabd668cc4e4c534880fa6891041d6
|
|
| BLAKE2b-256 |
264c1f6b46b6f2a33fa860f537a7212314f9fd93404797ff13ec23b9e4957385
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313t-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313t-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 374.2 kB
- Tags: CPython 3.13t, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc8088042bb849660b28f05cde8745e2b094c543ad8474bf1da74f11acc32fdb
|
|
| MD5 |
494ba2cb1b895fc4a0fd0d48e0081e0a
|
|
| BLAKE2b-256 |
05a124a983dac38dce439ad5bfbc4b4da8a646303de776ab96a10192e101475a
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313t-musllinux_1_2_i686.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313t-musllinux_1_2_i686.whl
- Upload date:
- Size: 398.3 kB
- Tags: CPython 3.13t, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc5f44eba0db1bcb328123942836d21e9f2caf94e796962ef4de3bf98f442155
|
|
| MD5 |
5ae535a668f4b5c18570c3c5bf20b2c5
|
|
| BLAKE2b-256 |
ab8317df65ba6110bd8a77e8ea2b399a56317494921edeae3cf48532a5832928
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313t-musllinux_1_2_armv7l.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313t-musllinux_1_2_armv7l.whl
- Upload date:
- Size: 477.0 kB
- Tags: CPython 3.13t, musllinux: musl 1.2+ ARMv7l
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2def788d1a45cfad8209294a768c015ad3be2f25ba6c2a4fcf257a9d61071be
|
|
| MD5 |
7827fe5bd5a247af13ca9e94bf18668a
|
|
| BLAKE2b-256 |
af4348aa5189c13f7b0fec11d039cb1122ac52c84880436af39b6516d75b97ae
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313t-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313t-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 380.7 kB
- Tags: CPython 3.13t, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d0e31965b4ddb68bae96db0f76e21234a322c4cebf271bd190a3986662c11cf
|
|
| MD5 |
e78fa740bda2b3c07e7608f00344f2c0
|
|
| BLAKE2b-256 |
2bc32f6fbe88ffac1c67167716b61342ce2fa7096a3eb1d9a880096f9ec2a978
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl
- Upload date:
- Size: 239.2 kB
- Tags: CPython 3.13t, manylinux: glibc 2.17+ s390x
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0378d51d8f05ffb6c4aae0930f4d5c903e8664797b5fff98fb0cf13686b0c59
|
|
| MD5 |
56900541a164b79bc005baf82c572e38
|
|
| BLAKE2b-256 |
c94b0ef2a876ddfee473649bd0808bdf6600504392a74650ec0e2b3495af2d6c
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
- Upload date:
- Size: 224.1 kB
- Tags: CPython 3.13t, manylinux: glibc 2.17+ ppc64le
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
576bc88e70295c072f848c5f3c32e3b0aa02b2b1aff85c29bba9944042dce260
|
|
| MD5 |
2e0bf7446b210ac2017d8c081b10d526
|
|
| BLAKE2b-256 |
18f42f3a9fa39bb3288bc77c4c1d4856576d192b07426b931a6e2f1574dbd6f4
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 212.5 kB
- Tags: CPython 3.13t, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b212204a6a3f39f134a13e96f128e01349b6b892d461f783686eff5b77192b7
|
|
| MD5 |
9e1373f2ea7e4046f253d6fd2d646257
|
|
| BLAKE2b-256 |
28fe9dbc02b50d176f5309cbf189958cf2610e9570ed76283ab81664228de021
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 199.5 kB
- Tags: CPython 3.13t, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4c2e91491468b8924444684e43c5b653c61b27db8bfeb83aa0e2eb20062c3b3
|
|
| MD5 |
0bfec0e0c2f05fdbc01e6a1d3340fdaa
|
|
| BLAKE2b-256 |
c413ae91464cb50a6007ca10ee3f1b353fbbc4cfa2322995176374b4c26db6e3
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 88.2 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0add7bf0f0b1f2875cbede157622cd2eafd1c6132849d442fb4f4f81a56d916
|
|
| MD5 |
eb672fbbc44674b58ee41bc4ba6944a7
|
|
| BLAKE2b-256 |
94294977738d684c364cce0b00107fa84c412a848d868ed9762688b9cbf54622
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 375.2 kB
- Tags: CPython 3.13, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ac5eda520a53f4af7cffa913d56d47217309350c49820a08ed84d508195f617
|
|
| MD5 |
db4bd01a7e3da45c61517bedd43c9357
|
|
| BLAKE2b-256 |
3f09b10245c9d0190ba12b8ad7eed24c5074a3904b09be1f6ea05aaf5b7fbedd
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313-musllinux_1_2_i686.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313-musllinux_1_2_i686.whl
- Upload date:
- Size: 399.2 kB
- Tags: CPython 3.13, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01eb5342fc354fec4557208022836bc6bb40052bc66f31e2a49b34839966f6bf
|
|
| MD5 |
797735ab26917bf0eec8a00ae2b1e8c7
|
|
| BLAKE2b-256 |
9fd7466581deb10a9055c3e0d6575a8734b57f7e70168f94c5f0c806f7710418
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313-musllinux_1_2_armv7l.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313-musllinux_1_2_armv7l.whl
- Upload date:
- Size: 477.8 kB
- Tags: CPython 3.13, musllinux: musl 1.2+ ARMv7l
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90a832057937f25a8c9061037eab3eeb552f6b324650c95c30375cc7ff7a8c55
|
|
| MD5 |
5b1f5affbe1606c5492cc14948686ca0
|
|
| BLAKE2b-256 |
2e27ae406500d8204acb9aeb103e2087e0dc69ac464eb6fcf0411bf31d983d8c
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 381.7 kB
- Tags: CPython 3.13, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c17814b2f1b3eb531cda5cd35d8470d1c32aea7f5521e0b83fcd26eb829da81d
|
|
| MD5 |
171c8a74b418fe79bbda8f2b55bc1222
|
|
| BLAKE2b-256 |
9f7c238098e9bbf9726daffeca625bff1539de5e8190b82f5f7aac85bb02b597
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 203.8 kB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86d6ea0e658f99ee4ea3650e29219690bd92777dff0a2af92333f426fd2f6609
|
|
| MD5 |
7aeb1c23625fdad49b16b1d0f4977d8f
|
|
| BLAKE2b-256 |
7a6a8f2e8cba525666dd43fc748b4820c016ecf342b21f4c4859a56f54b0cf22
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl
- Upload date:
- Size: 240.6 kB
- Tags: CPython 3.13, manylinux: glibc 2.17+ s390x
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00dcce36ad9cbc8c64c3b1f0184b161860649afb1815b066c6b2eed45a901a81
|
|
| MD5 |
8ccb25ea3e5dac7d832d6c71e948be64
|
|
| BLAKE2b-256 |
520e8c31024598b61ed99124c8d249bb214d0ef3a9a2f3122c28fb625b6c5407
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
- Upload date:
- Size: 224.9 kB
- Tags: CPython 3.13, manylinux: glibc 2.17+ ppc64le
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
accb13814956006bf36db5522d01776eae491108eaeb238d1ed1ba3fb044895b
|
|
| MD5 |
35e71cb32dd655fef110122c0b34a166
|
|
| BLAKE2b-256 |
b8bf149857801b7adeedec20ae2ebf15912fa4e022b63847f662f69d54205b0a
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 213.4 kB
- Tags: CPython 3.13, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e181ad1acc7d85627eb23e22a0087be53ecb29a6f53f6300b339886534aba46f
|
|
| MD5 |
3908894e34b80b90e9a2ff1cee98b978
|
|
| BLAKE2b-256 |
69d1e22d4b4981acd7c3875737f35a0374d0504e935f54a20400259ea97b395d
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 200.6 kB
- Tags: CPython 3.13, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f67870c225e701ba0715a978a3260f983680ee37d14298f8ab18cbc5ae9b4695
|
|
| MD5 |
b8962b1f496a2ccc7a298520c870d7ee
|
|
| BLAKE2b-256 |
37942ee151ef22bf1c0ab2f9e914e8264cd3708c46678122b4c1675387ceac52
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 218.1 kB
- Tags: CPython 3.13, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e249474d24efbabe9a0f318fed9e6a22595ecc2009571a6c9f4b68c637d57c1c
|
|
| MD5 |
64576c204b7b925a9f3f82a8e6695bfc
|
|
| BLAKE2b-256 |
46b2698cfb02a4e50486d9811d6bffa62b34222c96769f7576dd33482876f36c
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 183.2 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c2e309f1d4dd6a9b1cf2ff813108fad56694fd4e8b2c760ea3cc0f239bad6b8
|
|
| MD5 |
930ac1c9fe909c2d6a15283d54f0fb26
|
|
| BLAKE2b-256 |
8d32b10ea0fba0e92c894cad2796fadbfb9e329c4b0fb2e58752f80bf28fa270
|
File details
Details for the file fast_walk-0.1.5-cp313-cp313-macosx_10_12_x86_64.whl.
File metadata
- Download URL: fast_walk-0.1.5-cp313-cp313-macosx_10_12_x86_64.whl
- Upload date:
- Size: 193.5 kB
- Tags: CPython 3.13, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35349216a5f562982e3b4fff29b0d5661e488a3c2b1c3a43193f6f8fef78def8
|
|
| MD5 |
ef5663cc119d75af0c6d8f07e450e8fd
|
|
| BLAKE2b-256 |
f1fe6bb83d0382e801d1903d2f55bf0e4f8d674208b9d6693e84d7ed9ff8b9a5
|