Skip to main content

Serialized Interface Library

https://pypi.org/project/serialized-data-interface/

This libraries enables its user to create serialized and validated Juju Operator interfaces.

An interface Schema will be defined through YAML e.g:

v1:
  provides:
    type: object
    properties:
      access-key:
        type: string
      namespace:
        type: ['string', 'null']
      port:
        type: number
      secret-key:
        type: string
      secure:
        type: boolean
      service:
        type: string
    required:
      - access-key
      - port
      - secret-key
      - secure
      - service

When our charms interchange data, this library will validate the data through the schema on both ends.

Real World Example

TODO

  • Currently only provides data to App relations, should also support unit relations.

Release files for serialized-data-interface 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for serialized-data-interface 0.2.1
File Size Uploaded
serialized_data_interface-0.2.1.tar.gz 7.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for serialized-data-interface 0.2.1
File Interpreter ABI Platform
serialized_data_interface-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.8 kB

Release files / serialized_data_interface-0.2.1.tar.gz

Download URL serialized_data_interface-0.2.1.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d07a5ded1f20f0e5f6fd37edb6ff6a93c23f287d262e7ea781d3d06862ae8dc8
BLAKE2b-256 checksum
How to use checksums
f522871f9b9ecd35fbba53f5aecaf9b7d45f7a2d7012702fa742998c3fbb1281
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.4 Linux/5.11.0-16-generic

Release files / serialized_data_interface-0.2.1-py3-none-any.whl

Download URL serialized_data_interface-0.2.1-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
537a39d2532df5a55a8c3b10cf22dec60c1905ea5f32eb5c51c9892b7e550484
BLAKE2b-256 checksum
How to use checksums
dfd0a7b5ee765275a3493f83a44496e83a1ac6bb1c928a44c00f735ec527a2b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.4 Linux/5.11.0-16-generic

Release history Release notifications | RSS feed

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page