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

Total release size: 13.4 MB

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

Download URL refactrail_core-0.4.0a0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c81b03af953396066f6ae3c407f0dcd80c8446ad13b693801d83c03a3fcb96df
BLAKE2b-256 checksum
How to use checksums
76dceefb11f872decc5d3bef69ba6070fdcb3a046ee6375ddbb626a13af6d244
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.4.0a0-cp312-abi3-win_amd64.whl

Download URL refactrail_core-0.4.0a0-cp312-abi3-win_amd64.whl
Size 1.8 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
5b83aabc5b4a8465168f8aafd4ae8658bca4f897c1c1744e01cb256eacd23ef7
BLAKE2b-256 checksum
How to use checksums
0fe7b9d43e9e4c0b86967ea2c9624f1cbfd65216e5447f3867ccd637ef0235f9
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.4.0a0-cp312-abi3-musllinux_1_2_x86_64.whl

Download URL refactrail_core-0.4.0a0-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
28153bf2606ffee7a6c0de48884a0c0f95648b66ca0f56910327f1d9d7bd3193
BLAKE2b-256 checksum
How to use checksums
4b3922f339a1c9af24ec403edc946abe059099a5b6d4452f84aedc4aa93f01a5
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.4.0a0-cp312-abi3-musllinux_1_2_aarch64.whl

Download URL refactrail_core-0.4.0a0-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
9e078fc46257423c5e60847d2f0cdb8d42081dd7cf272e25792dad3bebca42c1
BLAKE2b-256 checksum
How to use checksums
549170f2cc5ebf7a6aa8be469069584c1ea10506fc3dafb32d6cd287365591a2
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.4.0a0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL refactrail_core-0.4.0a0-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
3e4beb7e9b62e7b68afaf9ea314e27362d58b73e7135acebc0700d841a047a34
BLAKE2b-256 checksum
How to use checksums
5ffc2602dbe674187592c51b842545b8fe1ce6fb428328064183873a7bc93ab0
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.4.0a0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL refactrail_core-0.4.0a0-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
4012b9c4e9e52f1f5bcc3329b35dbc3bea93a47877e1eef8cca34398ba6f0404
BLAKE2b-256 checksum
How to use checksums
1ac555ed48cb95bab8d39f1698d9ba896473d0a62f2c228e022f37f7f2bcd49b
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.4.0a0-cp312-abi3-macosx_11_0_arm64.whl

Download URL refactrail_core-0.4.0a0-cp312-abi3-macosx_11_0_arm64.whl
Size 1.8 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
762dca928d924f588cd19af8c21dbc962015c7f0c09ec4331c403fecc716c8ee
BLAKE2b-256 checksum
How to use checksums
a674caad42b0ff974ef351e2b7cb49c00e32ca559210d0fae928088dd7925abc
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.4.0a0-cp312-abi3-macosx_10_12_x86_64.whl

Download URL refactrail_core-0.4.0a0-cp312-abi3-macosx_10_12_x86_64.whl
Size 1.9 MB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
0fef80f80161d19304f1a3a17b0737d2e73dd545ba23e5f29af03e05d905ca9d
BLAKE2b-256 checksum
How to use checksums
bbd50c9bcf7739fd425aafcf5924d3b8370a6c99bb64096fd306e0ddecca98a7
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