Skip to main content

refine

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.

Download files

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

Source Distribution

refine-0.14.1.tar.gz (4.4 MB view details)

Uploaded Source

Built Distribution

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

refine-0.14.1-py3-none-any.whl (37.4 kB view details)

Uploaded Python 3

File details

Details for the file refine-0.14.1.tar.gz.

File metadata

  • Download URL: refine-0.14.1.tar.gz
  • Upload date:
  • Size: 4.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for refine-0.14.1.tar.gz
Algorithm Hash digest
SHA256 728c54576ab6ba10347565a41a606023844a517cc2d6ef2a4bfc0575affaba8c
MD5 f9d0c81e714fe1c2405cb0fa1d94636e
BLAKE2b-256 2c0e15740af309940ef8ba1ea280127693b1bc71a9301fc6fa19cf0d62d1976c

See more details on using hashes here.

Provenance

The following attestation bundles were made for refine-0.14.1.tar.gz:

Publisher: release.yml on s0undt3ch/refine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file refine-0.14.1-py3-none-any.whl.

File metadata

  • Download URL: refine-0.14.1-py3-none-any.whl
  • Upload date:
  • Size: 37.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for refine-0.14.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fda19248a52a0f099599270a2974261a31bce3a7027c5d7ac87be52a41eb0bb3
MD5 75b9ed124351cd9453e1dcab3d6a937b
BLAKE2b-256 d628e4663bfd99c9de5523a8f05727dfd0ffb3289469054c2968c9ecd157cd5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for refine-0.14.1-py3-none-any.whl:

Publisher: release.yml on s0undt3ch/refine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page