Skip to main content

perp-md

perp-md is a typed asynchronous Python library for current and historical perpetual-market open interest. It presents one stable contract while keeping venue protocols, pagination, validation, and optional CCXT integration behind adapter boundaries.

The package contains no persistence, scheduling, catalog discovery, aggregation, chart policy, or application APIs. Market identity, storage, and observation use remain outside the library.

Status

The public API is alpha, follows Semantic Versioning, and covers open interest.

Behavior

  • Venue-native symbols are accepted without symbol guessing or rewriting.
  • Missing and unsupported values are never represented as zero.
  • Current observations remain usable when optional history fails.
  • Native quantities, units, marks, timestamps, and valuation methods are preserved alongside normalized USD notional.
  • History ranges are bounded, deduplicated, ordered, and protected by finite pagination limits.
  • Native adapters are preferred when registered; fallback is explicit.
  • External I/O is asynchronous, bounded, injectable, and independently testable.
  • The package contains no consumer-specific storage or presentation behavior.

The complete contract is in docs/CONTRACT.md, and package boundaries are described in docs/ARCHITECTURE.md.

CCXT support is optional and selected through the ccxt extra.

License

Apache-2.0.

Metadata

Release files for perp-md 0.1.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 perp-md 0.1.4
File Size Uploaded
perp_md-0.1.4.tar.gz 25.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for perp-md 0.1.4
File Interpreter ABI Platform
perp_md-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 46.2 kB

Release files / perp_md-0.1.4.tar.gz

Download URL perp_md-0.1.4.tar.gz
Size 25.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ab317af1b47f70a5c70d1029eb71ec41a61145d715051c0524fe2ff008f900b6
BLAKE2b-256 checksum
How to use checksums
23b3168512fbebed0439588cc9193c5bca306f6c66f63173210288b2f0271ef4
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 Aug 9, 2026.

Transparency log

Release files / perp_md-0.1.4-py3-none-any.whl

Download URL perp_md-0.1.4-py3-none-any.whl
Size 20.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1dc805b8c1c5d57a534b57d74297e76df6ed9c606e3b67c17ff9afcce9aaa058
BLAKE2b-256 checksum
How to use checksums
64b182eacac236da585df053d7fa088af78b4b7a39ad6949958088bb8c321cbb
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 Aug 9, 2026.

Transparency log

Release history Release notifications | RSS feed

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

This release

0.1.4 This release

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