Skip to content

Coherence Python Client v1.0.1

Compare
Choose a tag to compare
@dhirupandey dhirupandey released this 11 Jul 18:57
· 194 commits to main since this release
75b281d

What is the Coherence Python Client?

  • The Coherence Python Client allows Python applications to act as cache clients to a Coherence Cluster using gRPC for the network transport.
  • Supported on Coherence CE 22.06.4+ or Coherence 14.1.1.2206.4+ Commercial edition with a configured gRPC Proxy. (Can get started using the latest coherence docker image)
  • Python 3.11.x is required

Features

  • Familiar Map-like interface for manipulating cache entries including but not limited to:
  • put, put_if_absent, put_all, get, get_all, remove, clear, get_or_default, replace, replace_mapping, size, is_empty, contains_key, contains_value
  • Cluster-side querying, aggregation and filtering of map entries
  • Cluster-side manipulation of map entries using EntryProcessors
  • Registration of listeners to be notified of:
    • mutations such as insert, update and delete on Maps
    • map lifecycle events such as truncated, released or destroyed
    • session lifecycle events such as connected, disconnected, reconnected and closed
  • Support for storing Python objects as JSON as well as the ability to serialize to Java objects on the server for access from other Coherence language API’s

Next Steps