Skip to main content

Polishing and improving codebases automatically

Project description

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.

Project details


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.13.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.13.1-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

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

Hashes for refine-0.13.1.tar.gz
Algorithm Hash digest
SHA256 e17e8dc46707e61b1c1bb09721349eafbf14345c73ed9ecd23f97c83d5b0bcbd
MD5 13b9cf0dffc160381fedb4c452e1bf83
BLAKE2b-256 2e47d95dc34f35c8e76e609dac7f9616ea97a70101446a43d1ad14fd61d176d2

See more details on using hashes here.

Provenance

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

Hashes for refine-0.13.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cff49c18d879c4a51f7b5b52bc9d795810cccb63866adbfca41ba14a5a7f59e7
MD5 438d5c1896553e839c9f2abf0f5796cd
BLAKE2b-256 5b8c4a3a46034c550792720416b01ead66c091031854fa65ac3cfcfcac5dc691

See more details on using hashes here.

Provenance

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