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

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

Total release size: 87.0 MB

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

Download URL osmem_server-0.1.1-py3-none-win_arm64.whl
Size 17.1 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
b9de14c818e4db9f18abe1d444eb09c78173c38cd900b9a43b8c9a7d2d2098e8
BLAKE2b-256 checksum
How to use checksums
c60bd2c1344cdbd1bca179f21f020189caab6506011e9c57995b8f9ddaf252ff
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 13, 2026.

Transparency log

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

Download URL osmem_server-0.1.1-py3-none-win_amd64.whl
Size 17.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
f0e8fc3535487a3a441d8c7eb77bc777aa222658db3b0c65f6afd5bf8c77bf65
BLAKE2b-256 checksum
How to use checksums
ae2dcf48def49f229c351d9c6cf2a60834a0646ac0b341682ff339de94d39fec
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 13, 2026.

Transparency log

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

Download URL osmem_server-0.1.1-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
68e67566f39eb94f2a14aa040a895af766748b5aa29ec8d900b7d318b143f132
BLAKE2b-256 checksum
How to use checksums
8a46f7c52ddcdcd780a6bfa09703ff506dcc3facaf20bf9f65a7eaae34e10655
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 13, 2026.

Transparency log

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

Download URL osmem_server-0.1.1-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
eb191e5f3eca13e488de13eac800fd96ac8f25755556d8b1b775e9ad0a0dddcd
BLAKE2b-256 checksum
How to use checksums
fc9ee78395279ad569cd10a2ea948b2ec5b552e4aff004f793de7ec9ff69e484
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 13, 2026.

Transparency log

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

Download URL osmem_server-0.1.1-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
060762d5b8078e6842e07070a7575276feaabe0310f7a0cace5318062a6c8f0f
BLAKE2b-256 checksum
How to use checksums
51ba7a132af14b5d53b7051cd92b57106aa46e9a1e232563e1de08723fd8e781
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 13, 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

0.1.2

5 release files

This release

0.1.1 This release

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