Skip to main content

edmkit

This library is a collection of tools and utilities that are useful for Empirical Data Modeling (EDM) and related tasks. The library is designed to be fast and lightweight, and easy to use.

benchmarks

compare.py

Measured on an Apple M4 Pro on November 4, 2026. Times are medians from pytest-benchmark. Parallel CCM uses 14 workers. Peak memory is process-tree RSS in MiB, sampled separately from timing for each case. It includes the interpreter, input, and worker processes. Summed RSS can count shared pages in more than one process.

simplex N edmkit [ms] pyEDM [ms] speedup edmkit peak [MiB] pyEDM peak [MiB]
500 0.17 1.5 9.0× 168 169
1,000 0.39 2.4 6.1× 169 170
2,000 0.81 4.4 5.5× 168 170
5,000 2.2 11.5 5.3× 170 175
10,000 4.7 23.8 5.0× 172 180
20,000 10.2 50.3 4.9× 176 193
smap N edmkit [ms] pyEDM [ms] speedup edmkit peak [MiB] pyEDM peak [MiB]
500 2.1 36.6 17.9× 176 180
1,000 8.7 128.3 14.7× 192 216
2,000 22.0 513.6 23.4× 261 357
5,000 193.9 3,376.7 17.4× 744 1,344
ccm N edmkit [ms] pyEDM [ms] speedup edmkit parallel [ms] pyEDM parallel [ms] speedup
500 106.4 151.7 1.4× 19.5 68.0 3.5×
1,000 168.4 327.0 1.9× 26.3 91.9 3.5×
2,000 329.7 745.1 2.3× 48.8 148.3 3.0×
5,000 668.9 1,945.7 2.9× 97.4 397.5 4.1×
10,000 1,253.6 4,176.7 3.3× 164.6 585.4 3.6×
ccm N edmkit peak [MiB] pyEDM peak [MiB] edmkit parallel peak [MiB] pyEDM parallel peak [MiB]
500 171 170 191 1,417
1,000 173 176 196 1,429
2,000 179 186 207 1,460
5,000 204 224 239 1,624
10,000 230 362 297 1,804

Installation

To install the library, you can use pip:

pip install edmkit

Or you can also use uv:

uv add edmkit

Testing

# Run all tests
uv run pytest

# Skip slow tests
uv run pytest -m "not slow"

# Run with CI profile (more hypothesis examples)
HYPOTHESIS_PROFILE=ci uv run pytest

Metadata

Release files for edmkit 0.0.18

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

Source distribution (sdist)

Source distribution for edmkit 0.0.18
File Size Uploaded Provenance Actions
edmkit-0.0.18.tar.gz 35.0 kB Without provenance Details for edmkit-0.0.18.tar.gz

Built distribution (wheel)

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

Total release size: 92.2 kB

Release files / edmkit-0.0.18.tar.gz

Download URL edmkit-0.0.18.tar.gz
Size 35.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9c5324ba85c9007146426cb028c505e61f9a34deff692e34abe551f67f72edbb
BLAKE2b-256 checksum
How to use checksums
fdc2010c59d1dbfb64954f5c5fda5b476bc97a595ab7ce22c4d51bd76d8461c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / edmkit-0.0.18-py3-none-any.whl

Download URL edmkit-0.0.18-py3-none-any.whl
Size 57.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
721b56f2644737c00f49a717cb0af714ff17cc6b8a3db9d77d73cc50d15467db
BLAKE2b-256 checksum
How to use checksums
e446fd10388f1d9225c4d7f893f03b07f34944c87ee95aec0b28cf0f4514e426
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for edmkit 0.0.18

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