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.2a75-cp38-cp38-manylinux2010_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

virtru_sdk-2.1.2a75-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.2a75-cp37-cp37m-manylinux2010_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

virtru_sdk-2.1.2a75-cp37-cp37m-macosx_10_15_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.7mmacOS 10.15+ x86-64

virtru_sdk-2.1.2a75-cp36-cp36m-manylinux2010_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

File details

Details for the file virtru_sdk-2.1.2a75-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.1.2a75-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 8.6 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for virtru_sdk-2.1.2a75-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 43db7654908158ecfd32947e0dd3a16d070f0e9d4616e18192d746eca0a1af7e
MD5 54008ce156f18c71cae060d093f37d7a
BLAKE2b-256 e1436c345826fbd990a6bf4ebb6befabac27e9de41c98424394adc38c9922f83

See more details on using hashes here.

File details

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

File metadata

  • Download URL: virtru_sdk-2.1.2a75-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.2a75-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 e4a76922f6efbf06d307995a722caad14bae1c85147f2847c01e70a5e1d3b5eb
MD5 2e9d9f86d93d72569aeb82cf0f2c697c
BLAKE2b-256 5867b9d20e746228f661288d724c6f740ed97eee1253f95145f62bce06119d08

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.1.2a75-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.1.2a75-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 8.6 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for virtru_sdk-2.1.2a75-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 6c0825d5e0f679fa168e5b561f856ba0e4db4c6ba66e83d468a00d7db7b4b605
MD5 9820849097ec10d0902d387d234b95b4
BLAKE2b-256 830bde4100da3db2a978cec9b9c4bfa90fde5462d301cf2312a44e2d2cab2fee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: virtru_sdk-2.1.2a75-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.2a75-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 6f13e2dd5a48c137bea24c93ddf436cfacb7378bf7e27e6fee819a07aee030df
MD5 75e52acb1a920dacc05fb27494d0d066
BLAKE2b-256 d13c8497cccdd20d88faff845d9cc55db4495b5040bef8238a6f7846f4552ac0

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.1.2a75-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.1.2a75-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 8.6 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10

File hashes

Hashes for virtru_sdk-2.1.2a75-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 012d940184ce0633ab65816ae7c2f96271f70d4194e31274689be58bff9f2e0b
MD5 6fe22d8c26cf3b7e819afa25adf04e8c
BLAKE2b-256 084613c15510b42cbd5aa1439a675fa03c91ec19a7448410f2f935b0c57d103c

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