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

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

Total release size: 87.2 MB

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

Download URL osmem_server-0.1.2-py3-none-win_arm64.whl
Size 17.2 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
028a8b48f6661cc96bbf9cdedf86a9b8ebe7c77108e6aedc84cac964a6f65350
BLAKE2b-256 checksum
How to use checksums
9d9114d517f64421fd33d70c5737f0c21468ae3b4b21dacdea941d88eaa80139
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.2-py3-none-win_amd64.whl

Download URL osmem_server-0.1.2-py3-none-win_amd64.whl
Size 17.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
b7257d95984f7629dca95f516a18843d9480fbc6e9384082e0d5d925abfe371f
BLAKE2b-256 checksum
How to use checksums
527c5fa584439e335dfa6a1fff15745f4084ec0bab166724139ac13212ff7b31
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.2-py3-none-manylinux_2_17_x86_64.whl

Download URL osmem_server-0.1.2-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
57d7cb97a432630ab12e2acfc4d2d2ef0b6e576057109d46fb6b2a9c47782874
BLAKE2b-256 checksum
How to use checksums
325481c06160a3a3528db602a681d06d0135943c33f7083ef40634cb41b2894f
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.2-py3-none-manylinux_2_17_aarch64.whl

Download URL osmem_server-0.1.2-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
a054861d081027e212851001c160a929eec699000f70bb8ef312bd5dec68be99
BLAKE2b-256 checksum
How to use checksums
7d988caf088bbf50240db87cefb8fda8589b18f4c3118b0556f35a5bde12bb18
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.2-py3-none-macosx_11_0_arm64.whl

Download URL osmem_server-0.1.2-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
d2f60f00d34180388f097e130dba628516f3a7c45c9f5cc44d98e80d9d69b354
BLAKE2b-256 checksum
How to use checksums
7e8af92c0a249e3e1de3b3284db3bb9592654226c3c7d03efda7f8d434df0ea7
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

0.1.3

5 release files

This release

0.1.2 This release

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