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.2a87-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.2a87-cp37-cp37m-macosx_10_15_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.7mmacOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: virtru_sdk-2.1.2a87-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.45.0 CPython/3.8.2

File hashes

Hashes for virtru_sdk-2.1.2a87-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 bfeb75e3aa6835a26ae4655e3778c3d091e3791ca49418e84260d35ffdd5d100
MD5 6866c1280b001b914dddf80ce9f52869
BLAKE2b-256 3e921e559d845874c6863683a574ee0efb6c2b8134fb67215c31f100567568b6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: virtru_sdk-2.1.2a87-cp37-cp37m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 3.3 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.45.0 CPython/3.8.2

File hashes

Hashes for virtru_sdk-2.1.2a87-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 8d99f713dc507719a086610a3d1c4282634f53c9ca03227f9c0a026818513a2c
MD5 41d3879c0de4d1c7e3051bf1855d3c1f
BLAKE2b-256 d4fc08169509821d49fac5ce2044621c0b8e94d508d0b664a60b50d2be4c42cb

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