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

Uploaded Python 3

File details

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

File metadata

  • Download URL: refactron-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 afd4d78ebfe971928bceb4ba6870d26c2c85bdd7c6ed734acf7f6bb2bcfbb243
MD5 4c97483d596b4cc840af64b731c53cbf
BLAKE2b-256 ebc2e95bbc432c3f00a5d8e5b9fcae88da284c3f03031268c0416e8ad36cf295

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: refactron-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 42c37d2358ee5bbdcfc8ab357af877b615ee8c7d81d1ec27495d2c4e3568a4b8
MD5 b51f79ddb188b3e194fd5a406ddcc965
BLAKE2b-256 42e1b60ebcf79243c38f10880eabb7800d1b971ed74bc7fec8ac6f1848da653d

See more details on using hashes here.

Provenance

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