Metadata-Version: 2.4
Name: refactron
Version: 0.2.2
Summary: Safety-first refactoring CLI for Python and TypeScript (Python wrapper around the npm package)
Author-email: Om Sherikar <omsherikar0229@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/Refactron-ai/Refactron_Lib_TS
Project-URL: Documentation, https://docs.refactron.dev
Project-URL: Issues, https://github.com/Refactron-ai/Refactron_Lib_TS/issues
Keywords: refactoring,python,typescript,ast,cli
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Code Generators
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# refactron (Python wrapper)

This is a thin Python wrapper around the [npm `refactron` package](https://npmjs.com/package/refactron).
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

```bash
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:

```bash
refactron analyze .
refactron run --apply
refactron document --apply
```

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