The Halo Third Party SDK Events package provides support for verifying the authenticity of events.
Project description
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.
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
1.0.0
Initial release of Halo Third Party SDK.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file halo-third-party-sdk-events-1.0.0.tar.gz
.
File metadata
- Download URL: halo-third-party-sdk-events-1.0.0.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0f834e87180ea0a26cb1a1a626fc548fc8bce4d7984cefb6fdefd9205470264 |
|
MD5 | 6c035683443845a1060aeba1f94e2dcd |
|
BLAKE2b-256 | d769a113b6f3f83f77d4b45e3011252ccb6ebe482fed54fb6aec9a4db145fe77 |