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, writes them by tag and types them through generated code. Building typed 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. refix.FieldWriter writes fields by tag, and refix.frame makes a header and a body into a message.

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.13.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.13.0
File Size Uploaded Provenance Actions
refix-0.13.0.tar.gz 134.4 kB With provenance Details for refix-0.13.0.tar.gz

Built distributions (wheels)

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

Total release size: 2.0 MB

Release files / refix-0.13.0.tar.gz

Download URL refix-0.13.0.tar.gz
Size 134.4 kB
Tags Source
SHA-256 checksum
How to use checksums
344c91b30d1b161844500aa36cc0d0ef3d6d52db726f87a4083fadf957341cfe
BLAKE2b-256 checksum
How to use checksums
578b7a8c5fd6fd54180d2f1142f7cdd7f2c2e91b780b043cf6f0602282824856
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 28, 2026.

Transparency log

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

Download URL refix-0.13.0-cp312-abi3-win_amd64.whl
Size 265.9 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b77058e6578698ccdd77be09dd20b0f1f1aa58e693fb08a63d9b93dee208620e
BLAKE2b-256 checksum
How to use checksums
f62b547abf0531d0cc612532dcb69013ba289aac92c1da6af9ceae32a99cfcc3
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 28, 2026.

Transparency log

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

Download URL refix-0.13.0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 424.6 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
6ee28621a0ac0e31c7da3c43d78419da04718e0a91f8858bac645f6e6a916818
BLAKE2b-256 checksum
How to use checksums
0c3c933874f155ce717da4bb83e9bbd5447929cf1db383c1d7d9784c1a38834f
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 28, 2026.

Transparency log

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

Download URL refix-0.13.0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 426.1 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
66008378bce97bfb113f40e654cdae92d52034064cef726ba4b5f66b45dcc341
BLAKE2b-256 checksum
How to use checksums
fd1969593f96b6db21acc619891afeb35dc9ec2ee363d2b374a3e6a53f266f10
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 28, 2026.

Transparency log

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

Download URL refix-0.13.0-cp312-abi3-macosx_11_0_arm64.whl
Size 382.5 kB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
106e9712de798417637e6e9dbee844026aafba3a7636e4f7469cdcb86a0b2777
BLAKE2b-256 checksum
How to use checksums
994cb9aeda6e9e7e64d1f6732bf4aa35039a164bf0e23339526c8118cf6ec784
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 28, 2026.

Transparency log

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

Download URL refix-0.13.0-cp312-abi3-macosx_10_12_x86_64.whl
Size 386.9 kB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
9e15eda329079bf5f0cf70aa219aac120d62cef2fdb470fa3b474257527d111f
BLAKE2b-256 checksum
How to use checksums
4b8312d34931ddb56fc236d27392f627d076f4f62979d411a45c21eb641819b2
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 28, 2026.

Transparency log

Security for refix 0.13.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.13.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 28, 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