This project has been archived by its maintainers, and is no longer receiving any updates.
Virtru Python SDK
The Virtru Platform enables developers to build extensive data protection into their apps and workflows without being security experts. Any protected data can be tracked, controlled, and accessed on any platform. Virtru’s split-knowledge architecture enables developers to ship with key management best practices, meet compliance standards like GDPR, HIPPA, FedRAMP, and deliver secure features on time.
The Virtru Python SDK allows developers to easily create and manage encrypted Trusted Data Format (TDF) objects and interact with Virtru's Key Access and Entity Attribute Services (KAS, EAS).
Installation
Upgrade pip3 to the latest version and run
pip3 install virtru-sdk
Authentication
Virtru requires an AppID for authentication. You can get an AppID from Virtru Dashboard by following these instructions (How to Download an AppID Token)
Once you have an AppID, authenticate with the code below:
client = Client(owner=VIRTRU_SDK_EMAIL, app_id=VIRTRU_SDK_APP_ID)
Create Encrypted TDF Objects
unprotected_file = "sensitive.txt"
protected_file = unprotected_file + ".tdf.html"
param = EncryptFileParams(in_file_path=unprotected_file,
out_file_path=protected_file)
client.encrypt_file(encrypt_file_params=param)
Metadata
Release files for virtru-sdk 2.1.2a1255
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| virtru_sdk-2.1.2a1255-cp38-cp38-macosx_10_15_x86_64.whl | CPython 3.8 | CPython 3.8 | macOS 10.15+ x86-64 | Details |
| virtru_sdk-2.1.2a1255-cp37-cp37m-macosx_10_15_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | macOS 10.15+ x86-64 | Details |
Total release size: 6.5 MB
Release files / virtru_sdk-2.1.2a1255-cp38-cp38-macosx_10_15_x86_64.whl
| Download URL | virtru_sdk-2.1.2a1255-cp38-cp38-macosx_10_15_x86_64.whl |
|---|---|
| Size | 3.3 MB |
| Tags | CPython 3.8 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
f16e385c6b000123112a7be763ac889317c7871928a65a21dc5187ab7be37dca
|
|
BLAKE2b-256 checksum How to use checksums |
bae3950cce6b6fafe73a452e0b517f14bc204e7e1c4284817845c9d3c8233a01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|
Release files / virtru_sdk-2.1.2a1255-cp37-cp37m-macosx_10_15_x86_64.whl
| Download URL | virtru_sdk-2.1.2a1255-cp37-cp37m-macosx_10_15_x86_64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
c2a7f2db9552393c95d0137100f6febdf33361c1890c9ca2bd3007d92b4767fb
|
|
BLAKE2b-256 checksum How to use checksums |
99b1f267a55d406ec26094a3e46f9934d4677c60adf7d24c4c61bf6e152fbf0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|