CloudEvents type bindings for console.redhat.com
Project description
console.redhat.com CloudEvents for Python
This repo contains Python bindings of the JSON schema definitions for events generated by console.redhat.com
Getting started
crc-event-schemas
is available on PyPi.
You can install using pip.
$ pip install crc-event-schemas
Layout
api
: Defines a submodule with the current version of console.redhat.com CloudEvents.examples
: Contains examples on how to use this library.event_schemas
: Python bindings for console.redhat.com cloud events.
Generating code
The generate.js script generates the Python code.
This script is executed on any push to our main branch, ensuring it never goes out of sync.
Releasing a new version
The release process works with release-please-action. You can head to their documentation to learn more about it, but in a nutshell:
- Uses Conventional Commits
- Creates a PR when there is something to be released (patch, minor or major). Once that PR is merged, a new release occurs.
The release is published to PyPi.
Docs
Docs are automatically generated and hosted on GitHub pages: https://redhatinsights.github.io/event-schemas-python/.
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
Built Distribution
File details
Details for the file crc-event-schemas-0.1.5.tar.gz
.
File metadata
- Download URL: crc-event-schemas-0.1.5.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04f2ff61568cf38ee33d1d92e2e06fc278450cbbb7312db81155a0e564929211 |
|
MD5 | b6e88555dedf9d9e9ded77ccfb4b7e05 |
|
BLAKE2b-256 | e94de5a29b285c060eb4d52db7ffcbbd58042b02d6e3a0f213fd17027f60719f |
File details
Details for the file crc_event_schemas-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: crc_event_schemas-0.1.5-py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81f6dda92cb72b7d8748cfa56c39b707c453f6d2a007d0f0b90851b75431df15 |
|
MD5 | 6827c0dd914ea089fb1439cef025bb90 |
|
BLAKE2b-256 | d4a14ca2d4be0001b46cce448020645dd731098c19bfd6d30fd661d10b0b8c45 |