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](https://docs.oracle.com/en/middleware/standalone/coherence/14.1.1.2206/develop-remote-clients/using-coherence-grpc-server.html). (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
- Visit and :star: the [Coherence Python Client repo on GitHub](https://github.com/oracle/coherence-py-client)
- Explore/ Run the [comprehensive examples](https://github.com/oracle/coherence-py-client/tree/main/examples)
- Visit the [Documentation page](https://oracle.github.io/coherence-py-client/)