skillfed

simplefix

Simple FIX Protocol implementation for Python

simplefix v1.0.17 564.4K downloads/30d#5,977 on PyPI255
Permissive license MIT Active released

What it is and what it does

Simplefix is a minimal FIX protocol library that handles the application-layer protocol for financial trading messages. It focuses on message creation, encoding, and parsing without implementing socket handling, recovery, or persistence—those concerns are left to the calling application or a separate FIX engine.

The package provides two main classes: FixMessage for constructing and encoding FIX messages with proper field ordering and checksum calculation, and FixParser for extracting complete messages from byte buffers. It supports standard header tags, UTC timestamp formatting, data fields with length prefixes, and repeating groups. The library is pure Python with no external dependencies and runs on modern Python versions.

Use it for:

  • Build FIX messages for transmission to trading venues or counterparties in financial applications
  • Parse incoming FIX protocol messages from sockets or message queues in trading systems
  • Test FIX protocol implementations by creating and validating message structure and encoding
  • Integrate FIX protocol support into Python trading algorithms or market data consumers
  • Decode FIX messages for logging, monitoring, or audit trails in financial infrastructure

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Simplefix provides a lightweight FIX (Financial Information eXchange) protocol implementation for creating, encoding, and decoding FIX messages used in financial trading systems.

Yes. Simplefix is a stable, actively maintained library with no dependencies, permissive licensing, and a clear focus on the narrow problem it solves. Install it if you need to work with FIX messages in Python and want a lightweight alternative to a full FIX engine. Not suitable if you need socket handling, message recovery, or persistence—those require integration with external infrastructure.

Install

simplefix on PyPI

pip

pip install simplefix

uv

uv add simplefix

poetry

poetry add simplefix

Installing simplefix

Before you install

Low friction installation as a pure-Python wheel with no runtime dependencies. Actively maintained with recent commits and stable production status.

License in practice

MIT license permits free use and modification with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install simplefix

import simplefix

msg = simplefix.FixMessage()
msg.append_pair(8, 'FIX')
msg.append_pair(35, 'D')
encoded = msg.encode()

Verify before relying

  • Whether the package handles all FIX protocol versions or only a subset
  • Performance characteristics for high-throughput message processing
  • Support for FIX recovery mechanisms or message persistence features

Package facts

License MIT (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 1,067 days since the last release
Last repo commit
First released
Downloads 564,380/month — #5,977 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: simplefix-1.0.17-py2.py3-none-any.whl

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Networking

Tags

FIX protocol implementationfinancial message encodingFIX message parsertrading protocol libraryFIX message creationfinancial data exchangeFIX protocol decoder
financial-tradingprotocol-implementation

More Python Modules packages