Evervault SDK
Project description
Evervault-Python
Python SDK for Evervault
Getting Started
Prerequisites
To get started with the Evervault Python SDK, you will need to have created a team on the evervault dashboard.
We are currently in invite-only early access. You can apply for early access here.
Installation
pip install evervault
Setup
from evervault.client import Client
# Initialize the client with your team's api key
evervault_client = Client(<API-KEY>);
# Encrypt your data and run a cage
result = evervault_client.encrypt_and_run(<CAGE-NAME>, { 'hello': 'World!' })
API Reference
evervault_client.encrypt
Encrypt lets you encrypt data for use in any of your evervault cages. You can use it to store encrypted data to be used in a cage at another time.
evervault_client.encrypt(data = dict | str)
Parameter | Type | Description |
---|---|---|
data | dict or str | Data to be encrypted |
evervault_client.run
Run lets you invoke your evervault cages with a given payload.
evervault_client.run(cageName = str, payload = dict)
Parameter | Type | Description |
---|---|---|
cageName | str | Name of the cage to be run |
data | dict | Payload for the cage |
evervault_client.encryptAndRun
Encrypt your data and use it as the payload to invoke the cage.
evervault_client.encrypt_and_run(cageName = str, data = dict)
Parameter | Type | Description |
---|---|---|
cageName | str | Name of the cage to be run |
data | dict | Data to be encrypted |
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
evervault-0.0.1.tar.gz
(6.0 kB
view hashes)
Built Distribution
evervault-0.0.1-py3-none-any.whl
(18.9 kB
view hashes)
Close
Hashes for evervault-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6357d39a10e568a4514d9cd85e54c9083a0974f43e17942e1ffde319839ad998 |
|
MD5 | 00f87ea3bd5b51c7a5e1ba4ce817f334 |
|
BLAKE2b-256 | 86212b92fe29249762f11f95ae9a0c9ee81a0ac68048d9c9b456042e894cddd5 |