Skip to main content

ShardLoom Python

ShardLoom Python provides a local, Vortex-native execution engine without external query-engine fallback. Use sl.context with explicit memory and parallelism settings to run work.

Install

Published 0.6.0. Install and platform requirements.

python -m pip install shardloom==0.6.0
  • macOS 26 or newer, Apple silicon; CPython 3.10 or newer; native or subprocess.

  • Linux x86_64, glibc 2.39 or newer; CPython 3.10 or newer; native or subprocess.

  • Windows x86_64; CPython 3.13; subprocess.

The example selects native execution. Use transport="subprocess" for the Windows CLI-backed package.

First query

from pathlib import Path
from tempfile import TemporaryDirectory
import shardloom as sl

workspace = TemporaryDirectory(prefix="shardloom-orders-")
orders = Path(workspace.name) / "orders.csv"
orders.write_text("order_id,status\n1,paid\n2,pending\n3,paid\n", encoding="utf-8")

# Illustrative caller choices: 256 MiB and two execution lanes.
ctx = sl.context(transport="native", memory_bytes=256 << 20, max_parallelism=2)

paid = ctx.read_csv(orders).filter(sl.col("status") == "paid").sort("order_id")
result = paid.collect(check=True)
print(result.python_objects)

ctx.client.close()
workspace.cleanup()

Expected values:

({'order_id': 1, 'status': 'paid'}, {'order_id': 3, 'status': 'paid'})

Example resources are caller choices, not defaults. See the first workflow for SQL, write, and reopen examples.

More tasks

Native Python API

The optional native API supports retained owners through plans and results; Arrow conversion is an explicit export boundary. See the embedding guide and native source-build instructions.

Contributor tooling

Metadata

Release files for shardloom 0.7.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 shardloom 0.7.0
File Size Uploaded Provenance Actions
shardloom-0.7.0.tar.gz 855.8 kB With provenance Details for shardloom-0.7.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for shardloom 0.7.0
File Interpreter ABI Platform Actions
shardloom-0.7.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for shardloom-0.7.0-cp313-cp313-win_amd64.whl
shardloom-0.7.0-cp310-abi3-manylinux_2_39_x86_64.whl CPython 3.10 abi3 Linux glibc 2.39+ x86-64 Details for shardloom-0.7.0-cp310-abi3-manylinux_2_39_x86_64.whl
shardloom-0.7.0-cp310-abi3-macosx_26_0_arm64.whl CPython 3.10 abi3 macOS 26.0+ ARM64 Details for shardloom-0.7.0-cp310-abi3-macosx_26_0_arm64.whl

Total release size: 132.4 MB

Release files / shardloom-0.7.0.tar.gz

Download URL shardloom-0.7.0.tar.gz
Size 855.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c1fe88a71d3592ddcf30a3cd269b812ea435ac586e51497c9c76807677dcee0e
BLAKE2b-256 checksum
How to use checksums
91cd46626c1d5dd11b2284c5c6c4679dbb2fd763963453c7ee82efe3b6b97da5
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 22, 2026.

Transparency log

Release files / shardloom-0.7.0-cp313-cp313-win_amd64.whl

Download URL shardloom-0.7.0-cp313-cp313-win_amd64.whl
Size 25.4 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
ceb4701b180b6399d91e23be40e48fdc3105f26910b06e35ea667fffef4c2ec8
BLAKE2b-256 checksum
How to use checksums
edbb418e2c9424bedca482ea19bc374f0ea685c29dc84890d1ddb032246cb650
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 22, 2026.

Transparency log

Release files / shardloom-0.7.0-cp310-abi3-manylinux_2_39_x86_64.whl

Download URL shardloom-0.7.0-cp310-abi3-manylinux_2_39_x86_64.whl
Size 56.3 MB
Tags CPython 3.10 Linux glibc 2.39+ x86-64 abi3
SHA-256 checksum
How to use checksums
5233162961a8c684dcb47e65b5bfc583bd0ab99ec92b8b1621880c23a5601bb0
BLAKE2b-256 checksum
How to use checksums
3f6355235cb72a08c4b8094d83ea846687366c0a77edda943a4f3ed08d4cd6c9
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 22, 2026.

Transparency log

Release files / shardloom-0.7.0-cp310-abi3-macosx_26_0_arm64.whl

Download URL shardloom-0.7.0-cp310-abi3-macosx_26_0_arm64.whl
Size 49.9 MB
Tags CPython 3.10 abi3 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
2de1bcc3e21f35b83d047a8af43cc78a239c5d22640a2fef01638aada0022be8
BLAKE2b-256 checksum
How to use checksums
0c74ba0901806b1967db1e7c4e81b7ffe71c96be9518ef17e8a17898b41d1a09
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 22, 2026.

Transparency log

Security for shardloom 0.7.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 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for shardloom-0.7.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 22, 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.

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