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.9.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.9.0
File Size Uploaded Provenance Actions
refix-0.9.0.tar.gz 108.4 kB With provenance Details for refix-0.9.0.tar.gz

Built distributions (wheels)

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

Total release size: 1.6 MB

Release files / refix-0.9.0.tar.gz

Download URL refix-0.9.0.tar.gz
Size 108.4 kB
Tags Source
SHA-256 checksum
How to use checksums
97e548b748abd658e0a7ff8c4233efc4240269743392158ba4089208cc4f3074
BLAKE2b-256 checksum
How to use checksums
44ff91fe55d549d72b58f586a441863f717b357cdffb4781c598573ec84f65b4
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 17, 2026.

Transparency log

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

Download URL refix-0.9.0-cp312-abi3-win_amd64.whl
Size 195.8 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b327324376a17de1f075ae0180beb94e2e802a6d49b66a977dd9c372948d3cc1
BLAKE2b-256 checksum
How to use checksums
69506b0818d4f07b7e6e2ce8d73784b542570348bc764a47377ad09c9ac3eb14
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 17, 2026.

Transparency log

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

Download URL refix-0.9.0-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
30e1d970e4ae525ab59d30e26f85b0ac186bb4435450a6a71ae08da26d7413b0
BLAKE2b-256 checksum
How to use checksums
0b8afd40504ff91a498d0372bba971963059b63da26b4b903623ae2018abf31b
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 17, 2026.

Transparency log

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

Download URL refix-0.9.0-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
80830164d753938e50ddddec4dd54a31596cd74d16a9301c95753f1dc034a528
BLAKE2b-256 checksum
How to use checksums
0295b13573e94d9dc65a4cdec6b3d1a31d72b87970dae00ecc31d544583ccc5a
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 17, 2026.

Transparency log

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

Download URL refix-0.9.0-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
1f990ddda740acc580cd2b5626ff26042a3e02cfd3e1d1a39672bcbfc6aa1b61
BLAKE2b-256 checksum
How to use checksums
57fe0c0bb6e51db9a0a65e0d7f3706bf7a4392fad204d7daa231461d2b22f934
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 17, 2026.

Transparency log

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

Download URL refix-0.9.0-cp312-abi3-macosx_10_12_x86_64.whl
Size 310.1 kB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
72ee0c2cd18ede7d5669219aee8f7f76f383c6ac347198bc017875b2357041fa
BLAKE2b-256 checksum
How to use checksums
56448975d82162ae16303bf6b1a0edf51e1148abdfb21b66d0b03a79566c66e0
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 17, 2026.

Transparency log

Security for refix 0.9.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.9.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 17, 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