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.5

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.5
File
osmem_server-0.1.5-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details
osmem_server-0.1.5-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
osmem_server-0.1.5-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
osmem_server-0.1.5-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
osmem_server-0.1.5-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details

Total release size: 98.6 MB

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

Download URL osmem_server-0.1.5-py3-none-win_arm64.whl
Size 19.3 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
405371c388b139e29da7a334e32469f990415fc04420bf2b4097101929b22f17
BLAKE2b-256 checksum
How to use checksums
1bf38500382621a8afd89e04313896cd0399abb1e0c9a3a9a17ce33f2f8d780c
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 16, 2026.

Transparency log

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

Download URL osmem_server-0.1.5-py3-none-win_amd64.whl
Size 20.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
2980ed34ccd734e5b0e65eab10d288c6c17c7810cf8c1b0827a886023929d3ea
BLAKE2b-256 checksum
How to use checksums
709f9993699db4bd719c436e637e5e233cf44a684d6765f63c97dadde3cfa1d8
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 16, 2026.

Transparency log

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

Download URL osmem_server-0.1.5-py3-none-manylinux_2_17_x86_64.whl
Size 20.1 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
0d7a66c7413dc8934b81ca1376aa5495bb4cbbf6383a9ccf358c79dd771949fa
BLAKE2b-256 checksum
How to use checksums
f41983f9bf43e45e712d47fe637c6f5c45cf48c472d47c3787110696a9e558a4
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 16, 2026.

Transparency log

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

Download URL osmem_server-0.1.5-py3-none-manylinux_2_17_aarch64.whl
Size 19.3 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
b5f0930813765de3922e847a53158fe9c0a517a545391058e261babbcde7cb17
BLAKE2b-256 checksum
How to use checksums
e12c1d135f427f666c7788aa8eac251e8291d4b3ff4c72e4b6f4150bfa046bd1
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 16, 2026.

Transparency log

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

Download URL osmem_server-0.1.5-py3-none-macosx_11_0_arm64.whl
Size 19.6 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1ce89cbbb467e73aed2e50f490ce0a9bf8e20265db357b8c243c19a5dcd239d8
BLAKE2b-256 checksum
How to use checksums
c362fcb031af6b490427be52bcb44fec75c3f8cb1db0960e0917b2a00151dfee
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 16, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.6

5 release files

This release

0.1.5 This release

5 release files

0.1.4

5 release files

0.1.3

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