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

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

Download URL osmem_server-0.1.4-py3-none-win_arm64.whl
Size 17.2 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
d1dead462f7075254df05c3dc86fe8761334f7f9573708c4707822f1397349f7
BLAKE2b-256 checksum
How to use checksums
e981c796e7c418588c4789d8e879668c0361e6b13cc1b90619e52fac7fde2e85
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 15, 2026.

Transparency log

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

Download URL osmem_server-0.1.4-py3-none-win_amd64.whl
Size 17.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
ed7260604cda151263e57c20b36f2f0ccf64ded00c3c7d6de2ef1595b6da1cbc
BLAKE2b-256 checksum
How to use checksums
867727dc6d4421a62c5d38c5100a178ce35552e3d80621c839fcb9dc986151f0
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 15, 2026.

Transparency log

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

Download URL osmem_server-0.1.4-py3-none-manylinux_2_17_x86_64.whl
Size 17.8 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
7367690eb82ea4b566700c23385f7926880cc126d32b56acc908ede7e5b0ab55
BLAKE2b-256 checksum
How to use checksums
3743677862a4d70ef6eef9ab4627c649eca2689768ea8b68b7e6e41feac09513
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 15, 2026.

Transparency log

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

Download URL osmem_server-0.1.4-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
6a3e0bed6ae395684bf13f514c6eb923d201e98fbbbe1e0ecd9dfdaa0cb1ab41
BLAKE2b-256 checksum
How to use checksums
cda6a1b6f48f82674e69e04ec311761746e34a40f8ee7e86c8a06c6c1b56f94e
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 15, 2026.

Transparency log

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

Download URL osmem_server-0.1.4-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
4a87aeec53ddda931d8d0f8d934b3e93f9b76a40dff61797b9f4bc1b8c833731
BLAKE2b-256 checksum
How to use checksums
0f09f3261b2eda883ba78ad62e7cdbeb37b7aed77cea53accee5434d5a52e9f9
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 15, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.6

5 release files

0.1.5

5 release files

This release

0.1.4 This release

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