Structural search and rewrite for Python source, with ast-grep pattern rules and LibCST matcher transforms
Project description
remold
Concisely reshape Python code with LibCST or ast-grep.
pip install remold
Usage docs live in the module docstring, where remold's main users (AI agents) read them: doc(remold) in a pyskills session, or help(remold) anywhere.
Development
pip install -e .[dev]
pytest -q
Version lives in remold/__init__.py as __version__; bump with ship-bump. Release with ship-gh and ship-pypi.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 remold-0.1.1.tar.gz.
File metadata
- Download URL: remold-0.1.1.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2e42eb919d40757b2bbe18ec00c64318efaa03d1ec35caa97db404e06ff0af3
|
|
| MD5 |
928313ca5cf601340a3b4fed79eb2250
|
|
| BLAKE2b-256 |
f2359fa98feae948ad75e8916cf7f14d6e34ad4d5ff253f0711bb85c8f717f89
|
File details
Details for the file remold-0.1.1-py3-none-any.whl.
File metadata
- Download URL: remold-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf594f748ca0e6f76218656df6f0e6dd6460e0b303c3822648a63b5c5c9ed324
|
|
| MD5 |
2211f5cfb9a50856eb498c78b71c35c5
|
|
| BLAKE2b-256 |
e093fd350c4e23ec532d44ea0f1a8f3b95ec49fb12946fc45ed5650f2a159068
|