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.0.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.0-py3-none-any.whl (37.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: refine-0.14.0.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.0.tar.gz
Algorithm Hash digest
SHA256 86035973e068a4dfc071779df5a75469b4ac5fd96d120997d1bd68e4a3f40d9c
MD5 5f5acb6cca75c3c36be3169b66811114
BLAKE2b-256 a518e3046f3986e6a1f2f2ed7af3d0dad214a79ba5105562ce629edc967c0595

See more details on using hashes here.

Provenance

The following attestation bundles were made for refine-0.14.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: refine-0.14.0-py3-none-any.whl
  • Upload date:
  • Size: 37.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7110631abf9393a439b9b86f5b371bd68413b40c284ac5d509aa0ae9c7a223b
MD5 64453f897db9a8831fdad76f8b405773
BLAKE2b-256 69ac3b2430bceca2574f33d74955c5d804917876026bc48d9abf643fbf214f5e

See more details on using hashes here.

Provenance

The following attestation bundles were made for refine-0.14.0-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