Skip to main content

lefsim

Stochastic, event-driven simulation of loop-extrusion factors (LEFs) on a 1D lattice of chromatin sites, with CTCF boundaries that capture or evict them. The core is written in Rust. Results come back as Arrow data, readable by pyarrow, polars, pandas and duckdb without copying, and the package has no Python dependencies.

pip install lefsim
import lefsim
import polars as pl

lattice = lefsim.Lattice(1000, {"site": [300, 700], "captures_from": ["right", "left"], "strength": 0.9})
world = lefsim.populate(lattice, 10, seed=1)
model = lefsim.Model(world, lefsim.Rates())

sim = lefsim.Sim(model, seed=42)
rec = sim.record_until(1000.0, dt=1.0)  # advance, taking a snapshot every time unit
pl.DataFrame(rec.snapshots)            # time, lef_id, left_pos, right_pos, mobilities

A seed gives the same run, bit for bit, here, in Rust and in the browser.

Documentation: https://abdenlab.github.io/lefsim/

Metadata

Release files for lefsim 0.1.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 lefsim 0.1.0
File Size Uploaded Provenance Actions
lefsim-0.1.0.tar.gz 106.2 kB With provenance Details for lefsim-0.1.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for lefsim 0.1.0
File Actions
lefsim-0.1.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for lefsim-0.1.0-cp39-abi3-win_amd64.whl
lefsim-0.1.0-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details for lefsim-0.1.0-cp39-abi3-musllinux_1_2_x86_64.whl
lefsim-0.1.0-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details for lefsim-0.1.0-cp39-abi3-musllinux_1_2_aarch64.whl
lefsim-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for lefsim-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
lefsim-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details for lefsim-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
lefsim-0.1.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for lefsim-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
lefsim-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for lefsim-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 22.8 MB

Release files / lefsim-0.1.0.tar.gz

Download URL lefsim-0.1.0.tar.gz
Size 106.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8ae17a2478bdcf8331383c21fa049e0af2658b6454c153de0803cdb519591056
BLAKE2b-256 checksum
How to use checksums
f3faa5e26275f2f5c172297c42a205e8b72925fd3de517c22797ff7c5a676c25
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 16, 2026.

Transparency log

Release files / lefsim-0.1.0-cp39-abi3-win_amd64.whl

Download URL lefsim-0.1.0-cp39-abi3-win_amd64.whl
Size 2.9 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
5b1072b24e9f53d2c86218df163743fbbbc68a54faf57d1f47ae358ac87358b7
BLAKE2b-256 checksum
How to use checksums
cfaf7632f71f6cd325e8ad455ddd6d2552b93b3d4031eb0962d10e54d74705c4
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 16, 2026.

Transparency log

Release files / lefsim-0.1.0-cp39-abi3-musllinux_1_2_x86_64.whl

Download URL lefsim-0.1.0-cp39-abi3-musllinux_1_2_x86_64.whl
Size 3.6 MB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
3afe9c751e1157cd763171d1c587664a05abc6c909ac18648813d2700fbff724
BLAKE2b-256 checksum
How to use checksums
846ba4a67df673ef896def57433e4b5776d349d0f2598c10a25d76456e9d83ee
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 16, 2026.

Transparency log

Release files / lefsim-0.1.0-cp39-abi3-musllinux_1_2_aarch64.whl

Download URL lefsim-0.1.0-cp39-abi3-musllinux_1_2_aarch64.whl
Size 3.5 MB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
60f6c25e15dfb54d0f344610354d3575660f3a2cdb8e403e0a1bf0422ffc0ced
BLAKE2b-256 checksum
How to use checksums
14d2efe7bb3d42adbc11202685455c6e5b10fd97630e77020e8d895635e64bce
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 16, 2026.

Transparency log

Release files / lefsim-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL lefsim-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.4 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
012ffed25a15b7bf732c7ab68bc9323f05696dc1f627f71044c6dd7eeb8242e3
BLAKE2b-256 checksum
How to use checksums
1e6ba67bc06bd718628dae03605a5cb0ed190a458d5e133f0650a1b403bfbc95
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 16, 2026.

Transparency log

Release files / lefsim-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL lefsim-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 3.3 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
7c323444659ea93aa2cbaf59189877cd468c6f1e682fc953518e2ed750f126a1
BLAKE2b-256 checksum
How to use checksums
bd90e09480a35415c6b645a5cb36e2ac726aae899d7b2a4dc673ba74bc6d5546
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 16, 2026.

Transparency log

Release files / lefsim-0.1.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL lefsim-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
Size 2.9 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
afc3013a418fd6da62f3016a52fedf5039f82f33b39d96ca1635eefe9e3cc47c
BLAKE2b-256 checksum
How to use checksums
fd615ad6f425ac29aaeab9ba912fd0efd46ecd464d8f0b46b40cfd5036bfe702
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 16, 2026.

Transparency log

Release files / lefsim-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl

Download URL lefsim-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl
Size 3.0 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
c312547cab4d720f2c5b19552996e26f90a7dcccea6dc1e3be87f4ae93e044ab
BLAKE2b-256 checksum
How to use checksums
b1f0e10592e98a1bf55549590bc1edcad421edda4183e2884d97b23a16d6e450
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 16, 2026.

Transparency log

Security for lefsim 0.1.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.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for lefsim-0.1.0.tar.gz

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 16, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

8 release files Full provenance

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