Skip to main content

Helper for interface APIs written for the charm operator framework, which can register them with charms.reactive to function similarly to Endpoints.

Project description

ops-reactive-interface

This library is a helper for developers creating interface protocol API libraries for charms. The goal is to allow the developer to focus on implementing the API library using the best practices from the Operator framework pattern and still enable usage in older charms which have yet to be transitioned from the charms.reactive framework with minimal additional developer and resource overhead.

Usage

All that is required to use this library is to add a bit of info to your interface protocol API library's setup.py to include this as a dependency and to register your API classes with the role and interface protocol name they implement. Full details can be found in the docs, as well as an example which shows an interface API implementation with usage by both an Operator framework charm and a charms.reactive charm.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ops_reactive_interface-1.1.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

ops_reactive_interface-1.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file ops_reactive_interface-1.1.0.tar.gz.

File metadata

  • Download URL: ops_reactive_interface-1.1.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for ops_reactive_interface-1.1.0.tar.gz
Algorithm Hash digest
SHA256 cf838ae0ad05a70b7fa27a5cb1e49af53cf4f98c086a468a4d9a07e354305641
MD5 f0ad68c306c7c96190e2526699785b1f
BLAKE2b-256 200e4a738ee2ed59199fd9b1f2b3717292f2930e983273c13d324fc31f00394c

See more details on using hashes here.

File details

Details for the file ops_reactive_interface-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ops_reactive_interface-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f610ef495211a9a05cbe5e3fd346fb1b051cef07853791d094075ce4ce09076
MD5 954f1fd861ac42f1b36e4d32b9d1c953
BLAKE2b-256 8c46562145a86ccc0cecde0ef33dad3ce83e2706278f8798981aad2541a7c2a5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page