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.

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.7.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.7.1
File Size Uploaded Provenance Actions
refix-0.7.1.tar.gz 104.1 kB With provenance Details for refix-0.7.1.tar.gz

Built distributions (wheels)

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

Total release size: 1.6 MB

Release files / refix-0.7.1.tar.gz

Download URL refix-0.7.1.tar.gz
Size 104.1 kB
Tags Source
SHA-256 checksum
How to use checksums
dfd509993bd1b2de4e772dd48e17bd585ee1bd964363e45b4b81037953145fe7
BLAKE2b-256 checksum
How to use checksums
9e6f295e1157a177d60b184820d8079347f6626dcab53e0c9206529be0235094
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 14, 2026.

Transparency log

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

Download URL refix-0.7.1-cp312-abi3-win_amd64.whl
Size 193.9 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
4054c9b8dbc0bd41f4858648d4c1e596f05509cbc0133df81b53950b68910e87
BLAKE2b-256 checksum
How to use checksums
553032c157a24f26a57a4ef80e841724a66137f1d204a07afc48994128abaa92
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 14, 2026.

Transparency log

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

Download URL refix-0.7.1-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 346.0 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
02962146ee230d40d4a4d4375372acd4d090e2d704490d47a94642ff9d554682
BLAKE2b-256 checksum
How to use checksums
2bc0c96a46ebf272ff3352939e4725862851c5e82c8a680ee29930e393940d58
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 14, 2026.

Transparency log

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

Download URL refix-0.7.1-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 344.2 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
027820bcf06116b8398ef67cdd3744b0e88c98e4a222645542ce2079f9790b56
BLAKE2b-256 checksum
How to use checksums
e9f4f23434b639aaf0309207737813af6647761b878121bb60ef931105f070ff
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 14, 2026.

Transparency log

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

Download URL refix-0.7.1-cp312-abi3-macosx_11_0_arm64.whl
Size 304.5 kB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
78124e67b484ed52eaf8d55677dc2c7869976ffe952cb684eb02711b05532e72
BLAKE2b-256 checksum
How to use checksums
062a446e33df3c91b3fa311345a38a62e39f74ebe51204c63b0f97e79eda5bce
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 14, 2026.

Transparency log

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

Download URL refix-0.7.1-cp312-abi3-macosx_10_12_x86_64.whl
Size 308.1 kB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
cc123f9cd8b15067e997df9e99e7bfbe8eaee982288fe36b9550481c9e1987e8
BLAKE2b-256 checksum
How to use checksums
3798c84f2999fcbda5a6e5a35ef715b86fd125e9871f24d6c242442ba1a15c41
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 14, 2026.

Transparency log

Security for refix 0.7.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.7.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 14, 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