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

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

Download URL refactrail_core-0.5.0a0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
960f73f221817c413a20aec4cb2afb3fca73a7ed73b2a29af861518ab9b20a0c
BLAKE2b-256 checksum
How to use checksums
26f25e218201184df7afc617cf5e1d713439585b1557823edc3663d4e4bcaf4f
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.0a0-cp312-abi3-win_amd64.whl

Download URL refactrail_core-0.5.0a0-cp312-abi3-win_amd64.whl
Size 2.0 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
bb618a41f87f413ed2b0e7597c75c3ad765b0944cabf436bd5af370c158ddbfa
BLAKE2b-256 checksum
How to use checksums
5809e4dadff2ba62d89df6fa69a7ea696858fb751e20f71f1d4f4ed45d98cca9
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.0a0-cp312-abi3-musllinux_1_2_x86_64.whl

Download URL refactrail_core-0.5.0a0-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
e4b01be319f1475f40bb8c4da887941bf07d072b14efe58b29128ad0e3e38bf5
BLAKE2b-256 checksum
How to use checksums
239a8d52b25b01a8138a350649b270969be1cbdcc563cfc9c036228a85c22433
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.0a0-cp312-abi3-musllinux_1_2_aarch64.whl

Download URL refactrail_core-0.5.0a0-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
b0b411a2f56b4fc65f40715fc62a7cc1780503ffb51c1775c8cf4c6c28167e8a
BLAKE2b-256 checksum
How to use checksums
af78c494aafe68310716f576c561d8b717dd337d5278240fdf49fd430742f79b
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.0a0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL refactrail_core-0.5.0a0-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
6b315296c31d0a7065624786955b41ca1644e4fdb900607aa646212e3ffee746
BLAKE2b-256 checksum
How to use checksums
af67a7323b9604cab3ee5ef959bcae8ced7c8e7b0593ed3b08308932c217bdda
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.0a0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL refactrail_core-0.5.0a0-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
0cf5ee4937d0b64c6dd800db10de2d883a30f7e695ff92973a10bfc0542167a6
BLAKE2b-256 checksum
How to use checksums
7a942c495e22019e405f73e15e5f940738c4935d0453699a7470f895fd0691cb
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.0a0-cp312-abi3-macosx_11_0_arm64.whl

Download URL refactrail_core-0.5.0a0-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
92b1cd310828f3914b7e53c0e700b187c88cf989cca70cceaa0dc6a5e7b97ea5
BLAKE2b-256 checksum
How to use checksums
8b2da814985ad3452cb92c172c39281fb93dc6d82eab288b449fe0d4fb55ee96
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.0a0-cp312-abi3-macosx_10_12_x86_64.whl

Download URL refactrail_core-0.5.0a0-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
49cddc7d75b38aca15a98059e96390a8240faf3e1323510f0bb5e4ed49adf98a
BLAKE2b-256 checksum
How to use checksums
94ae0844d1429219e3498cfa9250b25556edc2967cafdfba1475d4b8c1d88158
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