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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afd4d78ebfe971928bceb4ba6870d26c2c85bdd7c6ed734acf7f6bb2bcfbb243
|
|
| MD5 |
4c97483d596b4cc840af64b731c53cbf
|
|
| BLAKE2b-256 |
ebc2e95bbc432c3f00a5d8e5b9fcae88da284c3f03031268c0416e8ad36cf295
|
Provenance
The following attestation bundles were made for refactron-0.2.2.tar.gz:
Publisher:
release.yml on Refactron-ai/Refactron_Lib_TS
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
refactron-0.2.2.tar.gz -
Subject digest:
afd4d78ebfe971928bceb4ba6870d26c2c85bdd7c6ed734acf7f6bb2bcfbb243 - Sigstore transparency entry: 1564132407
- Sigstore integration time:
-
Permalink:
Refactron-ai/Refactron_Lib_TS@b2ec3c872461a3fddcb0dcc943df316869afbc70 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/Refactron-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b2ec3c872461a3fddcb0dcc943df316869afbc70 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42c37d2358ee5bbdcfc8ab357af877b615ee8c7d81d1ec27495d2c4e3568a4b8
|
|
| MD5 |
b51f79ddb188b3e194fd5a406ddcc965
|
|
| BLAKE2b-256 |
42e1b60ebcf79243c38f10880eabb7800d1b971ed74bc7fec8ac6f1848da653d
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
refactron-0.2.2-py3-none-any.whl -
Subject digest:
42c37d2358ee5bbdcfc8ab357af877b615ee8c7d81d1ec27495d2c4e3568a4b8 - Sigstore transparency entry: 1564132430
- Sigstore integration time:
-
Permalink:
Refactron-ai/Refactron_Lib_TS@b2ec3c872461a3fddcb0dcc943df316869afbc70 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/Refactron-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b2ec3c872461a3fddcb0dcc943df316869afbc70 -
Trigger Event:
push
-
Statement type: