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

Uploaded Python 3

File details

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

File metadata

  • Download URL: refactron-0.2.4.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.4.tar.gz
Algorithm Hash digest
SHA256 d235af814c4965898f7644c306a4964f2c601e940d5d10ba0d3e962810bf5bc5
MD5 dfef3e4805b82fd9f030cf13d8afd130
BLAKE2b-256 231b19a9cfde8a49ba6eaebdf2d8545cbef47cac236dfefb0f7c30412809b921

See more details on using hashes here.

Provenance

The following attestation bundles were made for refactron-0.2.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: refactron-0.2.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 57853f24c2ef448f95995b6fe526ab043db3431e5109397cbcf3a3314465e1db
MD5 0c3882ebdbe73d49bda7315dfce0aebb
BLAKE2b-256 3d425c90aa078e36b4762a23a42ace28ecd026dba17d0908a6c050622d80b08d

See more details on using hashes here.

Provenance

The following attestation bundles were made for refactron-0.2.4-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