Skip to main content

Python Wrapper for Virtru SDK

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

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)

Terms of Service Privacy Policy

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

virtru_sdk-2.1.2a1255-cp38-cp38-macosx_10_15_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.8macOS 10.15+ x86-64

virtru_sdk-2.1.2a1255-cp37-cp37m-macosx_10_15_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.7mmacOS 10.15+ x86-64

File details

Details for the file virtru_sdk-2.1.2a1255-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.1.2a1255-cp38-cp38-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.8, macOS 10.15+ x86-64
  • Uploaded using 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

File hashes

Hashes for virtru_sdk-2.1.2a1255-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 f16e385c6b000123112a7be763ac889317c7871928a65a21dc5187ab7be37dca
MD5 cbdd6c82fc1b997630c5354e9449f94a
BLAKE2b-256 bae3950cce6b6fafe73a452e0b517f14bc204e7e1c4284817845c9d3c8233a01

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.1.2a1255-cp37-cp37m-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.1.2a1255-cp37-cp37m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.7m, macOS 10.15+ x86-64
  • Uploaded using 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

File hashes

Hashes for virtru_sdk-2.1.2a1255-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c2a7f2db9552393c95d0137100f6febdf33361c1890c9ca2bd3007d92b4767fb
MD5 5181d686fc9876329895d4d462ebd318
BLAKE2b-256 99b1f267a55d406ec26094a3e46f9934d4677c60adf7d24c4c61bf6e152fbf0b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page