Skip to main content

Safety-first refactoring CLI for Python and TypeScript (Python wrapper around the npm package)

Project description

refactron (Python wrapper)

This is a thin Python wrapper around the npm refactron package. It exists so users with a Python-first toolchain can pip install refactron and get the CLI on their PATH without manually installing Node.

Install

pip install refactron

Requires Node.js 18+ on your PATH. If refactron isn't already installed via npm, this wrapper will run npm install -g refactron on first use.

Usage

Identical to the npm package:

refactron analyze .
refactron run --apply
refactron document --apply

Full docs: https://docs.refactron.dev

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

refactron-0.2.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

refactron-0.2.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file refactron-0.2.1.tar.gz.

File metadata

  • Download URL: refactron-0.2.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for refactron-0.2.1.tar.gz
Algorithm Hash digest
SHA256 4683b091e5f8b4fa848703523108e870a299f53c80c5db439974daf6da559e40
MD5 470b58475455b4c55887beb15b2fbbc4
BLAKE2b-256 ac722199ff99bc073bc8dbfb54c080c64f321897843db1e71a1ef061228612bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for refactron-0.2.1.tar.gz:

Publisher: release.yml on Refactron-ai/Refactron_Lib_TS

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

File details

Details for the file refactron-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: refactron-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for refactron-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2a9bde995070ae824e92b05936bcbd33dce9a96af5d1b44951c99481c45e7f5a
MD5 f80006868df24992628fcce44a56a2ae
BLAKE2b-256 ed860f6cec01eb62c61acd1c32cfc4fdc67074b93cba41c29eaba2ae904202f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for refactron-0.2.1-py3-none-any.whl:

Publisher: release.yml on Refactron-ai/Refactron_Lib_TS

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