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

Download URL refactrail_core-0.3.1a0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c768b7a92ef7058189ff68d02ef59fd96bcf3175cab9648aa3c002fec4e1ed5d
BLAKE2b-256 checksum
How to use checksums
bc462de08810bc78f43d4cfe18578fcc3122ca7a3c1043e8e735ff52c04ae538
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.1a0-cp312-abi3-win_amd64.whl

Download URL refactrail_core-0.3.1a0-cp312-abi3-win_amd64.whl
Size 1.8 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
3eeb8693c62f28cce6041e49969a10faa8347885d4625d738d2730193f0a624f
BLAKE2b-256 checksum
How to use checksums
fa9ab1909c564f606533c2caac4e006ac36a5f92d4a5d77afbd529ec159716ca
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.1a0-cp312-abi3-musllinux_1_2_x86_64.whl

Download URL refactrail_core-0.3.1a0-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
2e9cf00395a296306e7c01414dd1fbb45dbf6a2f627d69946de47c0197314fd6
BLAKE2b-256 checksum
How to use checksums
1ccf7ea7fe64da82f960e580b284bb4c34eb4b9e1697fc60bf9212518b3ba662
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.1a0-cp312-abi3-musllinux_1_2_aarch64.whl

Download URL refactrail_core-0.3.1a0-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
e16ab12afb89e6f1a7e48f47378a4cfaeebd5e5e39857c2c0966b43cc8cb5713
BLAKE2b-256 checksum
How to use checksums
7ce91806f8de0f7a83d5e64f53b05b9fbdcd0e2b9e7e3691f8b2c7993350049e
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.1a0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL refactrail_core-0.3.1a0-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
b074fada672c4208932a24766c4168f5128f344cbf8339d98a3aac542214bfad
BLAKE2b-256 checksum
How to use checksums
eaf0190b2109c07a459af11d83350d2d2220c11b99b5eb1a33383342ca205ef9
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.1a0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL refactrail_core-0.3.1a0-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
add077b69a47d28d899b441fecc497819460dac5f51a940927de0ebbf92f9fb7
BLAKE2b-256 checksum
How to use checksums
1310d6dfb3e382a64747db884e0ce4a33701d157e4b5d466c0886706a755fe1f
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.1a0-cp312-abi3-macosx_11_0_arm64.whl

Download URL refactrail_core-0.3.1a0-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
d11b2166d339623e7f8adc91e92f61c86d70e830562d9686ab04e7a4ab3ecafa
BLAKE2b-256 checksum
How to use checksums
c8683472a8f13288ad032e383293c0efde3485349b66dcbdcc6cd61dd993b739
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.1a0-cp312-abi3-macosx_10_12_x86_64.whl

Download URL refactrail_core-0.3.1a0-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
1d12ce3ebb22ec532d597021bad498a53c408ef24f07615d882eb9c6921c605b
BLAKE2b-256 checksum
How to use checksums
cb35668500e557f84204247fd889d9b99da9d0d9f7b34fb8276bca9e4982337d
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