Registry /
database / hazelcast-python-client
Install & Compatibility
Where this runs
tested against v5.6.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.378s · 23.5MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.8s · import 0.342s · 24MB
22MB installed
● package 22MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
HazelcastClient
✓ from hazelcast.client import HazelcastClient
✗ import hazelcast
hazelcast alone doesn't import client
ClientConfig
✓ from hazelcast.client import ClientConfig
✗ from hazelcast.config import ClientConfig
ClientConfig is in hazelcast.client
Connect to a Hazelcast cluster, use a distributed map.
from hazelcast.client import HazelcastClient, ClientConfig
config = ClientConfig()
config.cluster_name = os.environ.get('HZ_CLUSTER_NAME', 'hello-world')
config.cluster_members = [os.environ.get('HZ_MEMBER_ADDRESS', '127.0.0.1:5701')]
client = HazelcastClient(config)
my_map = client.get_map('my-distributed-map')
my_map.set('key', 'value').result()
print(my_map.get('key').result())
client.shutdown()
Errors
Common errors & fixes
ImportError: cannot import name 'HazelcastClient' from 'hazelcast'
Common mistake: `import hazelcast` does not expose HazelcastClient.
fixUse `from hazelcast.client import HazelcastClient`
AttributeError: 'Future' object has no attribute 'join'
Using threading.Thread's join incorrectly; Hazelcast futures use .result() not .join().
fixCall `.result()` on the future to wait for the operation to complete.
hazelcast.errors.HazelcastClientNotActiveError: HazelcastClientNotActiveError()
Attempting operations after client.shutdown() or before client is fully connected.
fixEnsure client lifecycle management: create client, perform operations, then shutdown.
Upgrade
Version history
5.6.0latest on PyPI · released Jan 16, 2026
Audit
Dependencies
hazelcast-kerberosoptionalKerberos authentication support