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.3.2a0

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.3.2a0
File
refactrail_core-0.3.2a0-py3-none-any.whl Python 3 none any Details
refactrail_core-0.3.2a0-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details
refactrail_core-0.3.2a0-cp312-abi3-musllinux_1_2_x86_64.whl CPython 3.12 abi3 Linux musl 1.2+ x86-64 Details
refactrail_core-0.3.2a0-cp312-abi3-musllinux_1_2_aarch64.whl CPython 3.12 abi3 Linux musl 1.2+ ARM64 Details
refactrail_core-0.3.2a0-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.3.2a0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 abi3 Linux glibc 2.17+ ARM64 Details
refactrail_core-0.3.2a0-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details
refactrail_core-0.3.2a0-cp312-abi3-macosx_10_12_x86_64.whl CPython 3.12 abi3 macOS 10.12+ x86-64 Details

Total release size: 13.0 MB

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

Download URL refactrail_core-0.3.2a0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7994a4bcc2d2bcf7381ff5d916702a54e34ec955993672488f4ef2bff5346eaf
BLAKE2b-256 checksum
How to use checksums
c8711e6339c4660475ea1e9c3ac89cf0a458ed235288582a2515a7f54624b010
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 5, 2026.

Transparency log

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

Download URL refactrail_core-0.3.2a0-cp312-abi3-win_amd64.whl
Size 1.8 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
de2e7edb74e28722595cacf18dbd7f0caa9edada89fa8f89b3b7a240c2498163
BLAKE2b-256 checksum
How to use checksums
99df0a6731d97cba4c4c006eeb02ab88b98c485f078c3cd0b678a21617766f8a
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 5, 2026.

Transparency log

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

Download URL refactrail_core-0.3.2a0-cp312-abi3-musllinux_1_2_x86_64.whl
Size 2.1 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
305b78a21c28e74edd2e2938e08b422174444bd3d0be5c0fa3c080e21cf7c40a
BLAKE2b-256 checksum
How to use checksums
87bd31de2fa5d0df02b61fc7f1258c533da5f269a8171389be3e2473dd5b4cb2
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 5, 2026.

Transparency log

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

Download URL refactrail_core-0.3.2a0-cp312-abi3-musllinux_1_2_aarch64.whl
Size 2.0 MB
Tags CPython 3.12 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
5657dda647ab0aee313f679a11ca021fb33e8bc0689765dcd7d4cefb29911da0
BLAKE2b-256 checksum
How to use checksums
dcceb9425032e7eac8421322c33705c00156c8abd3ec2310f69a3601dec62146
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 5, 2026.

Transparency log

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

Download URL refactrail_core-0.3.2a0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.9 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
88b33e2a0da9576fc7abddb3cec2ec072fa678440f187fa87446da70554d7c8d
BLAKE2b-256 checksum
How to use checksums
19a9ba5bf58884935055e14b56be60221c6c9d8ffbc7eba0613778defc069029
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 5, 2026.

Transparency log

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

Download URL refactrail_core-0.3.2a0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.8 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
af2934bb0301477d53764afbe109e0f6c5f54232113e9a924da3920e1eb2277d
BLAKE2b-256 checksum
How to use checksums
236c5b269c9d75df3585f7162faed0798bbdfbde76b13d361ca912bb01092dc3
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 5, 2026.

Transparency log

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

Download URL refactrail_core-0.3.2a0-cp312-abi3-macosx_11_0_arm64.whl
Size 1.7 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0980242804286e3808ba57c24c052679e77a0ac06773697b9f6db081776b768c
BLAKE2b-256 checksum
How to use checksums
3b558c6cda57dc83865c158fe4c49384df2776af09b1a7b9fbbaf5c5db8fdf41
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 5, 2026.

Transparency log

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

Download URL refactrail_core-0.3.2a0-cp312-abi3-macosx_10_12_x86_64.whl
Size 1.8 MB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
ca53d94458ae2db82211081ba49ba19d5eaed49a375e722030a00c9d0224e9a4
BLAKE2b-256 checksum
How to use checksums
1269ef3473ecc8b476810eb29e833ebce4b4f6f3122ba52edf3a40785540b109
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 5, 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