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 message in refix.read_log("fix.log"):
    if isinstance(message, refix.RawMessage):
        print(message.get(35), message.get(49))

Anything between frames that isn't FIX comes back as refix.Garble. refix.Tokenizer reads a single frame, and refix.MessageStream reads frames as bytes arrive.

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.

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.6.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.6.0
File Size Uploaded Provenance Actions
refix-0.6.0.tar.gz 86.9 kB With provenance Details for refix-0.6.0.tar.gz

Built distributions (wheels)

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

Total release size: 1.5 MB

Release files / refix-0.6.0.tar.gz

Download URL refix-0.6.0.tar.gz
Size 86.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9f2687d83bb14f87bd2b2713680bcc41f289a46066adbed5c95cc101a42504e4
BLAKE2b-256 checksum
How to use checksums
407b9ab4250e084aa9a2ad2c7540fa67bc143f2143c4af7399266a53a7df99a4
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 2, 2026.

Transparency log

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

Download URL refix-0.6.0-cp312-abi3-win_amd64.whl
Size 179.6 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f6df2b57170618ed53f1acc3fc76cc4dd35eb446f3439b15541ccea898bdd936
BLAKE2b-256 checksum
How to use checksums
aae6b0f0bbfdb9010343057167df03157599caa2441383b4bd4e8265f6c82783
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 2, 2026.

Transparency log

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

Download URL refix-0.6.0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 328.0 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
66c5a8f0407f559c9b3813f135945665392f3bf3f15dfef9fc79e1ec1e974abd
BLAKE2b-256 checksum
How to use checksums
5d02552848084e2afe4794a85e05cb21555537c9089aabf106d4cdcb8a499475
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 2, 2026.

Transparency log

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

Download URL refix-0.6.0-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 325.0 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
1db5eb58cc53488445a02bbc7182fa71a8d1681da17724ba9c47bbac12bdf207
BLAKE2b-256 checksum
How to use checksums
64a3cfb85ffeaec36b3d42a8f2619e9e5468e02258356e3026702d07c2a6a173
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 2, 2026.

Transparency log

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

Download URL refix-0.6.0-cp312-abi3-macosx_11_0_arm64.whl
Size 290.0 kB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
89d2afbbc7a91658910115f1d2c023b864f746bce838a85b61bac9d8e73158ca
BLAKE2b-256 checksum
How to use checksums
2521ecd1b047966f73bf0a3965980d1d79f314adff14de41be171a1b83ff8251
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 2, 2026.

Transparency log

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

Download URL refix-0.6.0-cp312-abi3-macosx_10_12_x86_64.whl
Size 293.3 kB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
689e78f6fac18d75968460b5e582ff179a7d6f57cce100e8897c20b5a62354e8
BLAKE2b-256 checksum
How to use checksums
2df97e2147eda443e6525a101243690ceb9cdba7979f0c93f526f4a30932de7d
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 2, 2026.

Transparency log

Security for refix 0.6.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.6.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 2, 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