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

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

Total release size: 98.7 MB

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

Download URL osmem_server-0.1.6-py3-none-win_arm64.whl
Size 19.3 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
92db3fe48064180cabb61b7fcd242cea4bcc2008d3fee56099fdf3ea3195827e
BLAKE2b-256 checksum
How to use checksums
d22eb1e8fd70beaecb85a0783d70c3093616b3151ac09f00b225426eb69446d9
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.6-py3-none-win_amd64.whl

Download URL osmem_server-0.1.6-py3-none-win_amd64.whl
Size 20.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
f10216935864651e43157fc0980cce5dbf1f47ca23029995f95eff8fc868c396
BLAKE2b-256 checksum
How to use checksums
4be185ef57d7a45ee24bc2dacb1b75de7d55dc98a9595946baecffb78f41f4a7
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.6-py3-none-manylinux_2_17_x86_64.whl

Download URL osmem_server-0.1.6-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
24c862de01ab1c6dd1564284933fdc4f774494a41e071676914f86d82fdbef40
BLAKE2b-256 checksum
How to use checksums
c553e01ab420f9e187a9e67ca8c02fe5bdacb25d3c7430e4997024c9837626a5
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.6-py3-none-manylinux_2_17_aarch64.whl

Download URL osmem_server-0.1.6-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
1ded73066aa2474319f8a4a6d2126853cb5e35dacd6c8399764b523615ec78c8
BLAKE2b-256 checksum
How to use checksums
9eee366c891e6e636578e94c64f9f7fc4e144d1e433a4a7df5235953088fd52b
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.6-py3-none-macosx_11_0_arm64.whl

Download URL osmem_server-0.1.6-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
1034157ed2c902363be3a6a5d3237d108fbac1787d0fff4d6d5ee7ee1590448b
BLAKE2b-256 checksum
How to use checksums
84f5d31ea3976d813cc78413945cc7fa5ea7604a7bac343e461e6862e684ea4b
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

This release

0.1.6 This release

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

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