Skip to main content

qablet_contracts

CI

Qablet Contracts documentation is at qablet.github.io/qablet-contracts.

A Qablet timetable defines a financial product using a sequence of payments, choices and conditions. A valuation model implemented with a Qablet parser can value any contract, as long as the contract can be described using a Qablet Timetable.

This repository contains code to create qablet timetables. It does not contain models that price qablet timetables. Such models will be available in other independent projects.

Install it from PyPI

pip install qablet_contracts

Development

Prerequisites: Python 3.12

Create a virtual environment

Linux / macOS

python3.12 -m venv .venv
source .venv/bin/activate
pip install -e .[test]

Windows

py -3.12 -m venv .venv
.venv\Scripts\activate
pip install -e .[test]

Run tests

pytest tests/

On Linux/macOS you can also use the Makefile, which runs linters before tests and generates a coverage report:

make test

Metadata

Release files for qablet-contracts 0.4.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 qablet-contracts 0.4.0
File Size Uploaded Provenance
qablet_contracts-0.4.0.tar.gz 13.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for qablet-contracts 0.4.0
File Interpreter ABI Platform
qablet_contracts-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 31.6 kB

Release files / qablet_contracts-0.4.0.tar.gz

Download URL qablet_contracts-0.4.0.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f49efdd63cbbaaf6a2267327a45ffac3f623cc94c8664af06759673eacf7f5c3
BLAKE2b-256 checksum
How to use checksums
3e5df765a8de931b7d648f61f857bcb6a841becec47760e2e457dd8c7977ea40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / qablet_contracts-0.4.0-py3-none-any.whl

Download URL qablet_contracts-0.4.0-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a13dd126d4389adaf5fcd20f7459dc3a2654d03272efcd8b286e326a04103b3e
BLAKE2b-256 checksum
How to use checksums
81b0d6b1c3b7e2194e2e8c34e88f22297b8046ef39a606de8a568673fc38533b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for qablet-contracts 0.4.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