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.8.1

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.8.1
File Size Uploaded Provenance Actions
refix-0.8.1.tar.gz 107.5 kB With provenance Details for refix-0.8.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for refix 0.8.1
File Actions
refix-0.8.1-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for refix-0.8.1-cp312-abi3-win_amd64.whl
refix-0.8.1-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.8.1-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
refix-0.8.1-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.12 abi3 Linux glibc 2.17+ ARM64 Details for refix-0.8.1-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
refix-0.8.1-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details for refix-0.8.1-cp312-abi3-macosx_11_0_arm64.whl
refix-0.8.1-cp312-abi3-macosx_10_12_x86_64.whl CPython 3.12 abi3 macOS 10.12+ x86-64 Details for refix-0.8.1-cp312-abi3-macosx_10_12_x86_64.whl

Total release size: 1.6 MB

Release files / refix-0.8.1.tar.gz

Download URL refix-0.8.1.tar.gz
Size 107.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2d3678ab17e5e48c0ac4744e20d5509ccfb06f09a38b05dca0cbdf045f899e6e
BLAKE2b-256 checksum
How to use checksums
c34e21a01c476ecdc40ec3a0352d59803f2ea07a1d577fe73bd9f6dbcb447af1
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 16, 2026.

Transparency log

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

Download URL refix-0.8.1-cp312-abi3-win_amd64.whl
Size 195.6 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
5fe892d8c095cea9c665f5b94332ae715754077c5ae96cc32d63b839bcff0ab2
BLAKE2b-256 checksum
How to use checksums
f952e088ff22e21a0b2d6541a26c1511630eef35e3ccd1b54797742c70183114
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 16, 2026.

Transparency log

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

Download URL refix-0.8.1-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 347.0 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
910b272c849bba6f067c32440bad4e7c06e2151feb7a5948b4799136db953abb
BLAKE2b-256 checksum
How to use checksums
bef7c386a56a69ec9b463edf9663b8c896fec62eded0b71e5445e453aceed9ac
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 16, 2026.

Transparency log

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

Download URL refix-0.8.1-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 345.4 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
e4d8a3a7aa2367c15908ed38fcbba604a92c0246990fca23caf30d275bfb34dc
BLAKE2b-256 checksum
How to use checksums
f163680627a5b4eac82fb73089cd0a072e02d22a7b3f3c0560fc4917bad3f65c
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 16, 2026.

Transparency log

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

Download URL refix-0.8.1-cp312-abi3-macosx_11_0_arm64.whl
Size 305.9 kB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
cf56f7fb8badc7c20764340eedf688ed99d8ebf5b6d93f5b5b46b88a10d216c6
BLAKE2b-256 checksum
How to use checksums
ebfaa2738942522361d343cbb1a26ab38c89393adc6dc32182863f6c40d1cc2d
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 16, 2026.

Transparency log

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

Download URL refix-0.8.1-cp312-abi3-macosx_10_12_x86_64.whl
Size 310.0 kB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
a6536b941d72796d689f7fa23cae71c7e6bd6024c3f3314b95e3582693d03844
BLAKE2b-256 checksum
How to use checksums
121ca5cfd3599dc5e1e3e5cb82b30027106fee9eaab0ede0217173c5be6d808f
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 16, 2026.

Transparency log

Security for refix 0.8.1

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.8.1.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 16, 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