Halo Third Party SDK Events - Base components for verifying Halo Events
Halo Third Party SDK Events package is an extension package that will let developers verify the authenticity of events.
What is Halo Third Party SDK for Python
The Halo Third Party SDK for Python makes it easier for you to verify events and allows you to spend more time on implementing features and less on writing boiler-plate code.
Difference between 2.x and 1.x versions
Message validation was changed as a part of a security campaign.
Quick Start
Installation
Assuming that you have Python and virtualenv installed, you can install the package from PyPi as follows:
$ virtualenv venv
$ . venv/bin/activate
$ pip install halo-third-party-sdk-events
This package is not installed along-side halo-third-party-sdk-events standard distribution, and has to be installed separately.
Usage and Getting Started
Example usage
# 1. Import the necessary modules.
import halo_third_party_sdk_events.event_verification_handler
# 2. Create handler object, if no arguments supplied both time and signature verifiers are used.
verifier = halo_third_party_sdk_events.event_verification_handler.EventVerificationHandler()
# 3. Call verify request with request headers and event body.
verifier.verify_request_and_dispatch(requestHeaders, body)
Opening Issues
For bug reports, feature requests and questions, we would like to hear about it. Search the [existing issues](https://github.com/amzn/halo-third-party-sdk-for-python/issues) and try to make sure your problem doesn’t already exist before opening a new issue. It’s helpful if you include the version of the SDK and Python you are using. Please include a stack trace and reduced repro case when appropriate.
License
This SDK is distributed under the Apache License, Version 2.0, see LICENSE for more information.
CHANGELOG
2.0.0
Message validation was changed as a part of a security campaign.
1.0.0
Initial release of Halo Third Party SDK.
Release files for halo-third-party-sdk-events 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| halo-third-party-sdk-events-2.0.0.tar.gz | 13.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| halo_third_party_sdk_events-2.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 30.4 kB
Release files / halo-third-party-sdk-events-2.0.0.tar.gz
| Download URL | halo-third-party-sdk-events-2.0.0.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9287d0da6891bc61c2f4cf2516120ce0f1a5f1dc4a2c68351dda197bc1aef839
|
|
BLAKE2b-256 checksum How to use checksums |
554ab3f646bfdcffe08b571c61d89885bcea5eb56331f02201c2eb4db571186e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Release files / halo_third_party_sdk_events-2.0.0-py2.py3-none-any.whl
| Download URL | halo_third_party_sdk_events-2.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 16.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
33d85dd53fc54208e837d145121b6d7b705bc02343e15ba1fbdb7e8243dfeee3
|
|
BLAKE2b-256 checksum How to use checksums |
3e5f73cbf50baf73166794716e725ae85ae7facd92f7594105c662ad8356c7ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|