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

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.2
File Size Uploaded Provenance Actions
refix-0.8.2.tar.gz 107.7 kB With provenance Details for refix-0.8.2.tar.gz

Built distributions (wheels)

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

Total release size: 1.6 MB

Release files / refix-0.8.2.tar.gz

Download URL refix-0.8.2.tar.gz
Size 107.7 kB
Tags Source
SHA-256 checksum
How to use checksums
35a74e1d70c6eaa7af7620f64e35a3de53c13ec7ed3877ed6cba13e7c477ae39
BLAKE2b-256 checksum
How to use checksums
16c247a9e62ea1a786a3089c654edcaa0bf1fdad706de6c1ce8cc8c3f6e56d3f
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.2-cp312-abi3-win_amd64.whl

Download URL refix-0.8.2-cp312-abi3-win_amd64.whl
Size 195.7 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
e1de1588aa19efd56ee5d9b76502651741a749d704995fd7793bc37d1d4be194
BLAKE2b-256 checksum
How to use checksums
307e3138bf57bcc642645c72be18a56763aa49eaa4bef820c0c141b64ee55403
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.2-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL refix-0.8.2-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 347.1 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
1a30fcdd97d972a0b31365ba5a3fa48c72066ce5a6fd90c9bdf19005063725ba
BLAKE2b-256 checksum
How to use checksums
ff07f34af4dedece905080f7d113a1771a7622328622f773df148f9ef8e7c6fe
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.2-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL refix-0.8.2-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 345.6 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
8a1b5874259a67f5eaaf28d8e0d64d7383340f01719a0cdab2d3df69b3a67382
BLAKE2b-256 checksum
How to use checksums
b6ef2c3c57e3ef91980c724ac61242ba1f5cd6e32a0c53cea86708b9558d4892
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.2-cp312-abi3-macosx_11_0_arm64.whl

Download URL refix-0.8.2-cp312-abi3-macosx_11_0_arm64.whl
Size 306.0 kB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c9934516556bcd33693e683322c364a488fbb03a5aed50e2c288a060e189e19c
BLAKE2b-256 checksum
How to use checksums
042e629135a2279a0070ffde90033b299af9b1bb45bc65aae8e0656ef557de4a
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.2-cp312-abi3-macosx_10_12_x86_64.whl

Download URL refix-0.8.2-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
8e38fc0912547a9c2995b82a8e39f83a5b1e0c4eb22ff0f3ad74e6e00876214b
BLAKE2b-256 checksum
How to use checksums
6fbf183ed2da1799c4f3e856b451fe06b63a7b8a1fcedf90814c80930fb63f07
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.2

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