Skip to main content

refix

FIX message processing for Python, powered by Rust. These are the Python bindings of ReFIX. Requires Python 3.12 or later.

ReFIX is in early development. It reads FIX messages and types them through generated code. Building messages and the session layer are not implemented yet, and APIs change between 0.x releases.

import refix

for record in refix.read_log("fix.log"):
    print(record.prefix, record.message.get(35), record.diagnostics)

read_log reads logs as they are: any separator, a logger's prefix before each message, and messages with a wrong BodyLength or CheckSum or cut short, reported in record.diagnostics. refix.MessageStream reads a session's bytes strictly, and refix.Tokenizer reads a single frame.

Typed messages come from generated code: refix-fix44 for FIX 4.4, or refix-cli for your own dictionary. refix.decode_log reads a log as typed messages through the generated module's CODEC.

Reading a message is 7 to 8 times faster than the QuickFIX bindings and 50 to 90 times faster than simplefix. See the benchmarks.

Up to 0.2, this package was published as refix-engine. Uninstall that before installing refix, as both provide the same module.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Metadata

Release files for refix 0.12.0

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

Source distribution (sdist)

Source distribution for refix 0.12.0
File Size Uploaded Provenance Actions
refix-0.12.0.tar.gz 121.2 kB With provenance Details for refix-0.12.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for refix 0.12.0
File Actions
refix-0.12.0-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for refix-0.12.0-cp312-abi3-win_amd64.whl
refix-0.12.0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.12 abi3 Linux glibc 2.17+ x86-64 Details for refix-0.12.0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
refix-0.12.0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.12 abi3 Linux glibc 2.17+ ARM64 Details for refix-0.12.0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
refix-0.12.0-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details for refix-0.12.0-cp312-abi3-macosx_11_0_arm64.whl
refix-0.12.0-cp312-abi3-macosx_10_12_x86_64.whl CPython 3.12 abi3 macOS 10.12+ x86-64 Details for refix-0.12.0-cp312-abi3-macosx_10_12_x86_64.whl

Total release size: 1.9 MB

Release files / refix-0.12.0.tar.gz

Download URL refix-0.12.0.tar.gz
Size 121.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d3f8d9b36364f18aec0b228ca59fef6f70158e862de4adb66411b4dc947dad13
BLAKE2b-256 checksum
How to use checksums
65eba59c0d59ab4eeca39046598a61e5b4d2323b91af52c48d8fe0d4c992d55b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / refix-0.12.0-cp312-abi3-win_amd64.whl

Download URL refix-0.12.0-cp312-abi3-win_amd64.whl
Size 240.7 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b1bfef05d9e89926efcd4d968fb8aa4177878d5e145f15e1e11abc3b0a5a4d50
BLAKE2b-256 checksum
How to use checksums
d64097aee32c8a2afbc4d4b9addbb4215a4cc3513f0fe8a97e72ff800e0ca064
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / refix-0.12.0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL refix-0.12.0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 397.4 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
55d12cfe26ffe6d6f64a0c244244fbdd2522abfb8ff89becfdad3fd945befbe8
BLAKE2b-256 checksum
How to use checksums
8d41bd48ead1f09a21fdff72f77ceebce642ac8854f0c6b53f3da029d9032c61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / refix-0.12.0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL refix-0.12.0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 398.5 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
fbd1aeaa4cbe96f4c6293b8e6e7b392dad809c24e1ae44daa7f065a4db006cc7
BLAKE2b-256 checksum
How to use checksums
89ecb8df20e0b4945b7e9d5e0b48434ccf8fe4167f527752d45939c49ad1a65a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / refix-0.12.0-cp312-abi3-macosx_11_0_arm64.whl

Download URL refix-0.12.0-cp312-abi3-macosx_11_0_arm64.whl
Size 354.5 kB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
436f77208db918af833737c8e22789c2e174f2eb0229179b04ceb67a06eab065
BLAKE2b-256 checksum
How to use checksums
a6763418646a7ef987ffffb889ed0e4f68a848afe07019664b7f716277d7cb2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Release files / refix-0.12.0-cp312-abi3-macosx_10_12_x86_64.whl

Download URL refix-0.12.0-cp312-abi3-macosx_10_12_x86_64.whl
Size 358.8 kB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
f68a2dd546d9730c980278822d6aaa17d89efcbd7dc2827eefaf14f69acfdc09
BLAKE2b-256 checksum
How to use checksums
00549d86f370e1d2c4d02b448be64bd680a1d72fcac353fcae6b4873dbd8808a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 25, 2026.

Transparency log

Security for refix 0.12.0

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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for refix-0.12.0.tar.gz

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 Nov 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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