Skip to main content

osmem-server

In-memory OpenSearch-compatible server for tests (pip install osmem-server). The wheel bundles the osmem-server binary for your platform; no Docker, no JVM. The import name is osmem_server.

# pytest.ini / pyproject.toml
[tool.pytest.ini_options]
osmem_seed = ["testdata/seed"]
from opensearchpy import OpenSearch

def test_search(osmem_clone):
    client = OpenSearch(hosts=[osmem_clone.url])
    client.index(index="products", id="x", body={"name": "new"}, refresh=True)
    assert client.count(index="products")["count"] == 6

Each test gets its own clone of the seeded base cluster (milliseconds, copy-on-write); the server itself starts once per session and exits with the test process. Without pytest:

from osmem_server import OsmemServer

with OsmemServer.start(seed=["testdata/seed"]) as server, server.clone() as clone:
    ...

Set OSMEM_SERVER_BIN to use a locally built binary. Seed layout and the management API are documented in the osmem repository.

Full guide: English · 日本語

Metadata

Release files for osmem-server 0.1.3

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

Built distributions (wheels)

Table of built distributions (wheels) for osmem-server 0.1.3
File
osmem_server-0.1.3-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details
osmem_server-0.1.3-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
osmem_server-0.1.3-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
osmem_server-0.1.3-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
osmem_server-0.1.3-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details

Total release size: 87.4 MB

Release files / osmem_server-0.1.3-py3-none-win_arm64.whl

Download URL osmem_server-0.1.3-py3-none-win_arm64.whl
Size 17.2 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
984da4cbae99b482d3142cc3613305c1a790b58aaee8c363e19e88b4eb9312b2
BLAKE2b-256 checksum
How to use checksums
887a285507e387d4c2fab13ca4ff3c3b763293c8a7221f12f80144cf2073ad1c
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 Sep 14, 2026.

Transparency log

Release files / osmem_server-0.1.3-py3-none-win_amd64.whl

Download URL osmem_server-0.1.3-py3-none-win_amd64.whl
Size 17.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
823c28ff5263021c754f7674d7cd20dba40f0264a09d6546927a5f6446a84adb
BLAKE2b-256 checksum
How to use checksums
5a6a6485b7ebd9b96ba020d5a493278a91a26b9efd0bc50e724811b82b681939
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 Sep 14, 2026.

Transparency log

Release files / osmem_server-0.1.3-py3-none-manylinux_2_17_x86_64.whl

Download URL osmem_server-0.1.3-py3-none-manylinux_2_17_x86_64.whl
Size 17.7 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
7e838956f077d2d2b868639fed9719ff465c2c81e2aa521aad14b19460625368
BLAKE2b-256 checksum
How to use checksums
fc6cbb8cb3c89d6a33c32ad0692240ed00638cf3e55b9f61e2b90fdc9a6a1381
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 Sep 14, 2026.

Transparency log

Release files / osmem_server-0.1.3-py3-none-manylinux_2_17_aarch64.whl

Download URL osmem_server-0.1.3-py3-none-manylinux_2_17_aarch64.whl
Size 17.1 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
5fd6bb15e176c4c1322958ca9c199bcc3fa74ea37fc505dfdfb79b727e530d4e
BLAKE2b-256 checksum
How to use checksums
fcd7df99bb9d430a6c1e34c9adf1a5c8154ec232ef7b6f752f66694fd3a221fb
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 Sep 14, 2026.

Transparency log

Release files / osmem_server-0.1.3-py3-none-macosx_11_0_arm64.whl

Download URL osmem_server-0.1.3-py3-none-macosx_11_0_arm64.whl
Size 17.4 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ac4e71895bd494a3b326a564d02e14b052424570b0ae23f33c001918e02a928d
BLAKE2b-256 checksum
How to use checksums
42ba72a65f19f3ecea46f4107c246073d02f7177b805035e4d66f8d8380ea6b9
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 Sep 14, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.6

5 release files

0.1.5

5 release files

0.1.4

5 release files

This release

0.1.3 This release

5 release files

0.1.2

5 release files

0.1.1

5 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