Skip to main content

pyfxlib

A set of utilities to be able to use the Pricefx API from a Python package. The package is available on PyPI and can be installed with pip or Poetry.

Installation

pip install pyfxlib

Or with Poetry:

poetry add pyfxlib

Supported Pricefx versions

pyfxlib supports Pricefx backends from 15.0.0: the current major version (17) and the two before it.

Backends of the major before them (14.x) are deprecated: pyfxlib keeps working with them as it did, but no longer supports them, and will drop the code for them when the next major is released. They have no Query API. Older backends are not supported, and some calls may fail. In both cases, a connection logs a warning the first time it fetches their version.

Some features need a more recent backend:

  • notifications, from 15.2.0 (NOTIFICATIONS_SINCE);
  • pushing LOB fields, from 16.3.13 or 17.0.4;
  • listing tables and their columns (query_meta_tables, query_meta_table), from 16.3.16 or 17.0.7 (QUERY_META_TABLES_SINCE);
  • some tables, functions and other features of the Query API (query_meta, query_execute), whose use raises UnsupportedQueryError on an older backend.

Quick Start

To connect to a Pricefx partition:

from pyfxlib.lowlevel import Session
session = Session.from_partition_url(
  "https://your-partition.pricefx.eu",
  username="your-username",
  password="your-password"
)

And then use the session to interact with the platform (see documentation for full API details)

Documentation

Full API documentation is available at: https://developer.pricefx.eu/pricefx-api/pyfxlib/index.html

See CHANGELOG for release notes.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Metadata

Release files for pyfxlib 2.0.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 pyfxlib 2.0.0
File Size Uploaded Provenance Actions
pyfxlib-2.0.0.tar.gz 65.0 kB Without provenance Details for pyfxlib-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyfxlib 2.0.0
File Interpreter ABI Platform Actions
pyfxlib-2.0.0-py3-none-any.whl Python 3 none any Details for pyfxlib-2.0.0-py3-none-any.whl

Total release size: 144.1 kB

Release files / pyfxlib-2.0.0.tar.gz

Download URL pyfxlib-2.0.0.tar.gz
Size 65.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6ce24dcae8b729902b31a02a19f6d149fffcb7efd9066787dfb9f35688928201
BLAKE2b-256 checksum
How to use checksums
5eabdf792e0c35fafbb4e5b29d007638fb9c5edb81216ea2b92afcd1d88f0722
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.12.12 Linux/6.12.68+

Release files / pyfxlib-2.0.0-py3-none-any.whl

Download URL pyfxlib-2.0.0-py3-none-any.whl
Size 79.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d8a0bfe0442d75770756cb93d944ce2d8212324d6716408c031016526d2fc1d
BLAKE2b-256 checksum
How to use checksums
b3c6dd523eff0cc683d1808ab3d8fd993630de0bc92398264dc5b297b362a30f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.12.12 Linux/6.12.68+

Security for pyfxlib 2.0.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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