pyglass-portable
Portable prebuilt wheels of pyglass (zilliztech) — a fast HNSW / NSG graph-based approximate-nearest-neighbor library.
Upstream publishes only an AVX-512 x86_64 wheel, which crashes (SIGILL) on
CPUs without AVX-512 — Apple Silicon, AMD, older Intel. pyglass's source is
portable (AVX2 / NEON / scalar kernels); this repackage builds it with a portable
baseline so it installs and runs on those machines too. The import name stays
glass — it's a drop-in for upstream, not a fork of the algorithm.
uv pip install pyglass-portable # or: pip install pyglass-portable
Prebuilt wheels: Linux x86_64 (AVX2) and macOS arm64 (NEON), Python 3.9+. Intel
Macs and ARM Linux build from the sdist — pip install compiles it portably (it
needs a C++20 compiler; on macOS, brew install libomp).
import numpy as np, glass
X = np.random.rand(100_000, 128).astype("float32")
index = glass.Index("HNSW", "L2", "FP32", R=32, L=200)
graph = index.build(X)
searcher = glass.Searcher(graph, X, "L2", "FP32")
searcher.set_ef(64); searcher.optimize()
ids, dists = searcher.batch_search(X[:1000], 10)
It also works as a scanpy neighbors backend via
pipnn.contrib.GlassTransformer.
Relationship to upstream
This is an unofficial repackage for platform coverage only — no algorithm
changes. The portability fixes are proposed upstream in
zilliztech/pyglass#24; if they
land and upstream ships portable wheels, prefer glassppy. Version tracks the
upstream source version.
Credit to the pyglass authors (Zihao Wang / zilliztech). MIT licensed, same as upstream.
Metadata
Release files for pyglass-portable 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyglass_portable-2.1.0.tar.gz | 10.5 kB | Details |
Built distributions (wheels)
Total release size: 31.9 MB
Release files / pyglass_portable-2.1.0.tar.gz
| Download URL | pyglass_portable-2.1.0.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4fea5b947d201b365f82905fdb3a614b974ff8f1a629dec9eac76c1500b2f80
|
|
BLAKE2b-256 checksum How to use checksums |
63774a15a75585b488e5cc559291e67980dd89982a62633dfc8034d4b2dfd0cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 28, 2026.
Transparency logRelease files / pyglass_portable-2.1.0-cp313-cp313-manylinux_2_28_x86_64.whl
| Download URL | pyglass_portable-2.1.0-cp313-cp313-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
b90ab279eb2af0ea81d5286ffe4e532baaec59b206602540c659024522ccc889
|
|
BLAKE2b-256 checksum How to use checksums |
9606976fdc82fd5857ca7432b4f2eff9014322fa2f5b03c49b59e5a2cfe7a1fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 28, 2026.
Transparency logRelease files / pyglass_portable-2.1.0-cp313-cp313-macosx_14_0_arm64.whl
| Download URL | pyglass_portable-2.1.0-cp313-cp313-macosx_14_0_arm64.whl |
|---|---|
| Size | 710.1 kB |
| Tags | CPython 3.13 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
063e6c33dbeb56a4c8efb99b5d1e7f3318eb367c39b368aa2d52cbd8ec386a6c
|
|
BLAKE2b-256 checksum How to use checksums |
15162d5f4d3cbfeaf7d41f4c6e1c4ee3fa2a870ad1b7f9a4ee07a004584a945c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 28, 2026.
Transparency logRelease files / pyglass_portable-2.1.0-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | pyglass_portable-2.1.0-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
9402a9c724034709ea851e0ceec6d10d4e2fe7f36e3a35afd7b644af9ee79cda
|
|
BLAKE2b-256 checksum How to use checksums |
3d4c8827fbbe24186433aa873b135523236c74781482714fb9e29d9e2a74b345
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 28, 2026.
Transparency logRelease files / pyglass_portable-2.1.0-cp312-cp312-macosx_14_0_arm64.whl
| Download URL | pyglass_portable-2.1.0-cp312-cp312-macosx_14_0_arm64.whl |
|---|---|
| Size | 710.2 kB |
| Tags | CPython 3.12 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a8fde545b09a2e39aefacd16146b0af9bc28cbc579f6018458a92a95a916a1c8
|
|
BLAKE2b-256 checksum How to use checksums |
8d6d54aa2f56c85506bedc3a9ba6cea6da64bbc8dcb48c3a5c91373ae0280fb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 28, 2026.
Transparency logRelease files / pyglass_portable-2.1.0-cp311-cp311-manylinux_2_28_x86_64.whl
| Download URL | pyglass_portable-2.1.0-cp311-cp311-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
4a4c44f1a3b83a7d26e4cf0c5775475ea24921ed8a5f7e4ea69f3b8981b6b18d
|
|
BLAKE2b-256 checksum How to use checksums |
554b63bdcaf3dad87b233cc7657fde5ef2326d50a7d718e171ac6dface44d190
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 28, 2026.
Transparency logRelease files / pyglass_portable-2.1.0-cp311-cp311-macosx_14_0_arm64.whl
| Download URL | pyglass_portable-2.1.0-cp311-cp311-macosx_14_0_arm64.whl |
|---|---|
| Size | 707.7 kB |
| Tags | CPython 3.11 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c922449dc5353ebe4435b410d28c6696110dbd14147a1e891cf42f05905becab
|
|
BLAKE2b-256 checksum How to use checksums |
ab11b6baee205a596f69eec43edb73dbffee78fc596d897973d4571f39d9974d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 28, 2026.
Transparency logRelease files / pyglass_portable-2.1.0-cp310-cp310-manylinux_2_28_x86_64.whl
| Download URL | pyglass_portable-2.1.0-cp310-cp310-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 5.6 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
ee540820a1aad6763aa2317e90749a069b4c34d3f39a34a4164b540ce28cf536
|
|
BLAKE2b-256 checksum How to use checksums |
ca9bd2d56675a7b9bb1cae78a2019bbf9757e4eb2d58d23826b6392629f1fe2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 28, 2026.
Transparency logRelease files / pyglass_portable-2.1.0-cp310-cp310-macosx_14_0_arm64.whl
| Download URL | pyglass_portable-2.1.0-cp310-cp310-macosx_14_0_arm64.whl |
|---|---|
| Size | 706.9 kB |
| Tags | CPython 3.10 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
27fa8f31f3017b84f633fb0b8c219448c2363121ff55f8b4ed3438d9dcccc3e1
|
|
BLAKE2b-256 checksum How to use checksums |
83d0364b6276897e60f60aab9b2371b658f71f1241e3c86d511513e2581c3598
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 28, 2026.
Transparency logRelease files / pyglass_portable-2.1.0-cp39-cp39-manylinux_2_28_x86_64.whl
| Download URL | pyglass_portable-2.1.0-cp39-cp39-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 5.6 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
e78713f70d73fa4c539316ccc4b2ef9cdd0534b2e1a900b8b00028edaa68c1f0
|
|
BLAKE2b-256 checksum How to use checksums |
a015baac3abb4482f328e203428b490f694a90d1a8b7aa25c8c06f366de7f58d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 28, 2026.
Transparency logRelease files / pyglass_portable-2.1.0-cp39-cp39-macosx_14_0_arm64.whl
| Download URL | pyglass_portable-2.1.0-cp39-cp39-macosx_14_0_arm64.whl |
|---|---|
| Size | 707.0 kB |
| Tags | CPython 3.9 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
393f33371c9b0de233d9ac8a1c4998090249580b078153bf2b35f0382c051ef7
|
|
BLAKE2b-256 checksum How to use checksums |
6fbb4f056a5763ab8e73f31544f78dfff1b53fe6ed870414de0c82b515931e5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.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 Jul 28, 2026.
Transparency log