Polishing and improving codebases automatically
Project description
Polishing and improving codebases automatically
refine leverages the capabilities of libCST (Library for Concrete Syntax Trees), a Python
library designed for parsing, manipulating, and generating Python code in a syntax-preserving way. It builds upon libCST's
codemod module, which provides utilities for transforming code
programmatically.
Key Differentiators
Chained Codemod Execution
refine enables running multiple codemod's in a single CLI execution, streamlining workflows compared to libCST's one-codemod-per-execution approach.
Priority Management
Codemods are applied in a predefined order based on priorities defined by the modules. This ensures automatic logical sequencing of transformations.
Streamlined Features
Single-Pass Efficiency
Chained execution minimizes redundant parsing and tree-building processes, improving efficiency for large-scale projects.
Focus on Developer Productivity
By reducing the need for multiple executions, refine enhances developer workflows, especially in CI/CD pipelines or batch processing.
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 refine-0.13.1.tar.gz.
File metadata
- Download URL: refine-0.13.1.tar.gz
- Upload date:
- Size: 4.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e17e8dc46707e61b1c1bb09721349eafbf14345c73ed9ecd23f97c83d5b0bcbd
|
|
| MD5 |
13b9cf0dffc160381fedb4c452e1bf83
|
|
| BLAKE2b-256 |
2e47d95dc34f35c8e76e609dac7f9616ea97a70101446a43d1ad14fd61d176d2
|
Provenance
The following attestation bundles were made for refine-0.13.1.tar.gz:
Publisher:
release.yml on s0undt3ch/refine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
refine-0.13.1.tar.gz -
Subject digest:
e17e8dc46707e61b1c1bb09721349eafbf14345c73ed9ecd23f97c83d5b0bcbd - Sigstore transparency entry: 323511620
- Sigstore integration time:
-
Permalink:
s0undt3ch/refine@67bb5ce9fdce2ea94e5a8a8c5ae9d2ccb2da2981 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/s0undt3ch
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@67bb5ce9fdce2ea94e5a8a8c5ae9d2ccb2da2981 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file refine-0.13.1-py3-none-any.whl.
File metadata
- Download URL: refine-0.13.1-py3-none-any.whl
- Upload date:
- Size: 26.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cff49c18d879c4a51f7b5b52bc9d795810cccb63866adbfca41ba14a5a7f59e7
|
|
| MD5 |
438d5c1896553e839c9f2abf0f5796cd
|
|
| BLAKE2b-256 |
5b8c4a3a46034c550792720416b01ead66c091031854fa65ac3cfcfcac5dc691
|
Provenance
The following attestation bundles were made for refine-0.13.1-py3-none-any.whl:
Publisher:
release.yml on s0undt3ch/refine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
refine-0.13.1-py3-none-any.whl -
Subject digest:
cff49c18d879c4a51f7b5b52bc9d795810cccb63866adbfca41ba14a5a7f59e7 - Sigstore transparency entry: 323511661
- Sigstore integration time:
-
Permalink:
s0undt3ch/refine@67bb5ce9fdce2ea94e5a8a8c5ae9d2ccb2da2981 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/s0undt3ch
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@67bb5ce9fdce2ea94e5a8a8c5ae9d2ccb2da2981 -
Trigger Event:
workflow_dispatch
-
Statement type: