Skip to main content

mktlib

License: Apache 2.0 Python 3.12+ Documentation

Financial market toolkit built entirely on Polars.

tl;dr

  • Fast enough for real work — vectorized Polars engine grid-searches thousands of parameter combos on minute-bar data without reaching for Numba or Cython
  • Lightweight — pure Polars throughout, including synthetic data generation via Rust-native plugins. No pandas, no NumPy, no heavy ML stack
  • Well tested — cross-validated exchange calendars, full backtest parity tests across engines, and pandera schema validation on every DataFrame-returning function to guarantee no silent column/dtype regressions
  • Swiss-army knife — scheduling, rates, metrics, backtesting, reporting, and data generation in one package. Great for learning, prototyping, or production
  • Apache 2.0 — use it anywhere, fork it, vendor it, no strings attached

Disclaimer: Backtesting results and any computed market returns are for educational and research purposes only. They do not constitute financial advice, and past performance does not indicate future results.

For full documentation, see polars-mktlib.readthedocs.io.

Metadata

Release files for mktlib 0.16.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mktlib 0.16.4
File Size Uploaded
mktlib-0.16.4.tar.gz 434.4 kB Details

Built distribution (wheel)

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

Total release size: 937.5 kB

Release files / mktlib-0.16.4.tar.gz

Download URL mktlib-0.16.4.tar.gz
Size 434.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5d85fbae97f805b379482ad25306c8004e7a93309349c02f1e27f82d13143a08
BLAKE2b-256 checksum
How to use checksums
ccb375b6ac0fdee55ea9443cc74db6fd61e40e13ad8faa8018615f3c441e6ae2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release files / mktlib-0.16.4-py3-none-any.whl

Download URL mktlib-0.16.4-py3-none-any.whl
Size 503.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b67490b6f3a52b13ad5b7ee4cb4536b419f4e1c9a7fed1bed0215b31864ec3d
BLAKE2b-256 checksum
How to use checksums
2c2f003082766008b4dd8ab85a2d2bfba27bfbde201ae91bc7b5aa19ddc9cbf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 9, 2026.

Transparency log

Release history Release notifications | RSS feed

0.16.6

2 release files

0.16.5

2 release files

This release

0.16.4 This release

2 release files

0.16.3

2 release files

0.16.2

2 release files

0.13.1

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.4

2 release files

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