Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

refactrail-core

The Rust engine for RefacTrail, the Python refactorizer. It makes refactrail check, lint and format faster with output identical to RefacTrail's Python engine, and is installed automatically with RefacTrail.

The engine is RefacTrail's own: a Rust lexer, parser, compile checks and symbol table, written from the language reference with CPython 3.12 as the test oracle. It contains no Ruff code. Neither engine imports or executes the checked source. CPython is asked only for the exact message of a file that fails to compile, so both engines report it identically.

Native wheels (CPython 3.12+ ABI3) cover Windows x86_64, macOS (Apple silicon and Intel) and Linux x86_64 and ARM64 (glibc and musl). On any other system pip installs this project's small pure-Python fallback wheel instead, and RefacTrail uses its Python engine, so installation never needs Rust. --engine auto (the default) uses the native engine when present; --engine rust requires it. Parity tests cover the recorded corpora and fuzzed inputs, not every possible Python program.

Build a wheel with maturin build --release --locked. Building requires Rust and the locked Cargo dependencies. Release builds must rerun the parent package's tests and the parity scripts.

The core's own code is MIT licensed. Dependency notices and their upstream license declarations are in THIRD_PARTY_LICENSES, with an index; regenerate them with scripts/gen_third_party_licenses.py. Local build commands upload nothing.

Metadata

Release files for refactrail-core 0.5.1a0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for refactrail-core 0.5.1a0
File
refactrail_core-0.5.1a0-py3-none-any.whl Python 3 none any Details
refactrail_core-0.5.1a0-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details
refactrail_core-0.5.1a0-cp312-abi3-musllinux_1_2_x86_64.whl CPython 3.12 abi3 Linux musl 1.2+ x86-64 Details
refactrail_core-0.5.1a0-cp312-abi3-musllinux_1_2_aarch64.whl CPython 3.12 abi3 Linux musl 1.2+ ARM64 Details
refactrail_core-0.5.1a0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 abi3 Linux glibc 2.17+ x86-64 Details
refactrail_core-0.5.1a0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 abi3 Linux glibc 2.17+ ARM64 Details
refactrail_core-0.5.1a0-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details
refactrail_core-0.5.1a0-cp312-abi3-macosx_10_12_x86_64.whl CPython 3.12 abi3 macOS 10.12+ x86-64 Details

Total release size: 14.3 MB

Release files / refactrail_core-0.5.1a0-py3-none-any.whl

Download URL refactrail_core-0.5.1a0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2503e5f21ad81fce60f105e69e718a902f440a0001cdb7ba779ea543692298b
BLAKE2b-256 checksum
How to use checksums
9bacbb46194596e65a22dd28ea028a300acae606205113697274d899b7147395
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.

Transparency log

Release files / refactrail_core-0.5.1a0-cp312-abi3-win_amd64.whl

Download URL refactrail_core-0.5.1a0-cp312-abi3-win_amd64.whl
Size 2.0 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
658009feddcf87a15de36f4e9c0fc70705ed49a9b88d3acdd35529d4f9ddf562
BLAKE2b-256 checksum
How to use checksums
aba47f262bdb756f78c8ca42484779508e3f3ce16258ae3c7259e609c40d85b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.

Transparency log

Release files / refactrail_core-0.5.1a0-cp312-abi3-musllinux_1_2_x86_64.whl

Download URL refactrail_core-0.5.1a0-cp312-abi3-musllinux_1_2_x86_64.whl
Size 2.3 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
c62ce87ef7e027236d57ffd966dbbc3d3504fbf9a793ca42ba51bd41ecb2cab0
BLAKE2b-256 checksum
How to use checksums
85dd5c20938e30074ae54a5bb1f30a08c78ba7a41d2d2818af5283cce6e38446
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.

Transparency log

Release files / refactrail_core-0.5.1a0-cp312-abi3-musllinux_1_2_aarch64.whl

Download URL refactrail_core-0.5.1a0-cp312-abi3-musllinux_1_2_aarch64.whl
Size 2.1 MB
Tags CPython 3.12 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
daf4050a7b0223d7b649c17f9d98306f9cfbceaab75f7d9edf41b4d1f6cef02c
BLAKE2b-256 checksum
How to use checksums
086b75edfcc08c639863478790f66122dcfb64dd2f6fc1365c39db5a137d4856
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.

Transparency log

Release files / refactrail_core-0.5.1a0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL refactrail_core-0.5.1a0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.1 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
d9048610ef53bd67d6e9f74acc30cc47429fb616494faccc43f8958b34e52279
BLAKE2b-256 checksum
How to use checksums
4c24f3cc2d53a7723230d2bc03fb863d585e593bd69662d4f8752d654de26301
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.

Transparency log

Release files / refactrail_core-0.5.1a0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL refactrail_core-0.5.1a0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.0 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
6b9c3968cc3781d7f9a1f31f52a87f798920527fe818510704379da07e080b02
BLAKE2b-256 checksum
How to use checksums
8280dae9db13be2ddc7554cf223292bf3931eb6a5250f545c5919c671592c443
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.

Transparency log

Release files / refactrail_core-0.5.1a0-cp312-abi3-macosx_11_0_arm64.whl

Download URL refactrail_core-0.5.1a0-cp312-abi3-macosx_11_0_arm64.whl
Size 1.9 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
dda22ea3c19810a9229075fdad11f61a3461a181b5245089149e4e9bb019d3e2
BLAKE2b-256 checksum
How to use checksums
c184f0e6acbfc30001c0ec0205014a3725acf9289988448ff2e5d2febe9b2930
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.

Transparency log

Release files / refactrail_core-0.5.1a0-cp312-abi3-macosx_10_12_x86_64.whl

Download URL refactrail_core-0.5.1a0-cp312-abi3-macosx_10_12_x86_64.whl
Size 2.0 MB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
e9e3fbeb7f5a049926dbceaf052c47c540d6820786755431a57ff2aa1eb17338
BLAKE2b-256 checksum
How to use checksums
71137e7c8ef68608a288ea8666840f4d9f25663728b6f2de284cf4f283800262
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page