Metadata-Version: 2.4
Name: fast-walk
Version: 0.1.5
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3 :: Only
License-File: LICENSE
Summary: A fast reimplementation of ast.walk()
License: MIT
Requires-Python: >=3.13
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# fast-walk

A fast (almost) drop-in implementation of `ast.walk`.

## Installation

```bash
pip install fast-walk
```

## Usage

```python
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](https://github.com/PyO3/maturin)

### Building from source

```bash
# Install maturin
pip install maturin

# Build the package
maturin develop

# Or build a release version
maturin build --release
```

## License

MIT

## Links

- [Repository](https://github.com/reflex-dev/fast-walk)

