Install & Compatibility
Where this runs
tested against v0.13.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 39MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 4.1s · import 0.000s · 39MB
37MB installed
● package 37MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Glean
✓ from glean import Glean
✗ from glean_api_client import Glean
Initialize the client with an API token and perform a basic search.
import os
from glean_api_client import Glean
from glean_api_client.models import shared
client = Glean(
access_token=os.environ.get('GLEAN_ACCESS_TOKEN', ''),
server_url='https://my-glean-instance.glean.com'
)
search_req = shared.SearchRequest(
query='sales report 2025',
page_size=10
)
resp = client.search.search(search_req)
print(resp.dict() if resp else 'No results')
Upgrade
Version history
0.13.0latest on PyPI · released Jun 5, 2026
Audit
Dependencies
httpxrequiredHTTP client used by the SDK
pydanticrequiredData validation and serialization