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 TDF3 SDK

License

The following files are covered under the MIT license:

  • virtru_sample.py
  • init.py
  • setup.py

The following binaries / minified libraries are subject to use under the "Virtru Data Protection Subscription Agreement" found here: https://www.virtru.com/terms-of-service/

  • virtru_tdf3_python.pyd
  • virtru_tdf3_python.so

All 3rd party packages used in this software are covered by their respective licenses, which are detailed in the LICENSE file.

Obtaining a Virtru AppId

A Virtru AppId token is required to use the TDF3 SDK. This is how you obtain it

The Virtru TDF3 Python Sample

For more information on how to use the TDF3 Python module, see the online documentation.

General

  • Python This module is built with Python3 libraries so it will ONLY work with python3.

The module works on Linux, Windows and OSX.

Installing the module

OS X And Linux

  • Navigate to cd lib and run sudo python3 setup.py install. The Virtru SDK module will build and install the module to site-packages.
$ sudo python3 setup.py install
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/virtru_tdf3_python
copying virtru_tdf3_python/__init__.py -> build/lib/virtru_tdf3_python
copying virtru_tdf3_python/virtru_tdf3_python.so -> build/lib/virtru_tdf3_python
running install_lib
copying build/lib/virtru_tdf3_python/__init__.py -> /usr/local/lib/python3.7/site-packages/virtru_tdf3_python
copying build/lib/virtru_tdf3_python/virtru_tdf3_python.so -> /usr/local/lib/python3.7/site-packages/virtru_tdf3_python
byte-compiling /usr/local/lib/python3.7/site-packages/virtru_tdf3_python/__init__.py to __init__.cpython-37.pyc
running install_egg_info
Writing /usr/local/lib/python3.7/site-packages/virtru_tdf3_python-1.0.11-py3.7.egg-info

Windows

Make sure the Python installed on your windows machine is 64-bit.

  • Navigate to cd lib and run python setup.py install and will build and install the module to site-packages.
PS C:\Users\..\lib> python setup.py install
running install
running build
running build_py
creating build
creating build\lib
creating build\lib\virtru_tdf3_python
copying virtru_tdf3_python\__init__.py -> build\lib\virtru_tdf3_python
copying virtru_tdf3_python\virtru_tdf3_python.pyd -> build\lib\virtru_tdf3_python
running install_lib
copying build\lib\virtru_tdf3_python\virtru_tdf3_python.pyd -> C:\Users\sujan\AppData\Local\Programs\Python\Python37\Lib\site-packages\virtru_tdf3_python
copying build\lib\virtru_tdf3_python\__init__.py -> C:\Users\sujan\AppData\Local\Programs\Python\Python37\Lib\site-packages\virtru_tdf3_python
byte-compiling C:\Users\sujan\AppData\Local\Programs\Python\Python37\Lib\site-packages\virtru_tdf3_python\__init__.py to __init__.cpython-37.pyc
running install_egg_info
Writing C:\Users\sujan\AppData\Local\Programs\Python\Python37\Lib\site-packages\virtru_tdf3_python-1.0.10-py3.7.egg-info

Running the sample

  • Navigate to the sample directory and update virtru_sample.py script with your AppId

  • Run python3 virtru_sample.py to see how the files in the sample directory get encrypted and how to apply controls.

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.3.1b1268-cp39-cp39-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

virtru_sdk-2.3.1b1268-cp38-cp38-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.3.1b1268-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

virtru_sdk-2.3.1b1268-cp38-cp38-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

virtru_sdk-2.3.1b1268-cp37-cp37m-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.3.1b1268-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

virtru_sdk-2.3.1b1268-cp37-cp37m-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

virtru_sdk-2.3.1b1268-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

File details

Details for the file virtru_sdk-2.3.1b1268-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.1b1268-cp39-cp39-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.3 MB
  • Tags: CPython 3.9, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for virtru_sdk-2.3.1b1268-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2fa8f8054450124dbb3bb41a5b3cc88207acf6337e860a6aaee8cb36fa45450e
MD5 747fd033a363827a81ec03331f58c72c
BLAKE2b-256 dec02234ffe065267c618eb06a891fd15f93e420e447e9bc6d931a54d1917179

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.1b1268-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.1b1268-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for virtru_sdk-2.3.1b1268-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 ef2516901d0b4540a122e49895d811c584bf2e7f847af937625a88b2ebbafc31
MD5 1fbb4c2e6f92cfc7899cc114339cbbd1
BLAKE2b-256 93c8e8743ddd09f7936395890621afd36d52200acd317c6a5cdf21c67c20e76c

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.1b1268-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.1b1268-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c828cedc47b27df673eff3ed093c350db1e7e0338b81e186872ea4557a8e8991
MD5 b28a677618fc5a362ec66fb509067305
BLAKE2b-256 47d8acf1ac36d415372c5824305a37ae5bac7ea8e112a3d877266e4acb6c43d7

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.1b1268-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.1b1268-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.3 MB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for virtru_sdk-2.3.1b1268-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 071b4467a568443da91cc48c49117994bc4e64274408a10378112b4a74ef8d20
MD5 5dcae1f47e93a2a4dad2adbd324bc810
BLAKE2b-256 d31e4c92f82de1931a42589f9ddcf56b3c2b7fbcae233e3d8be9dc59aad67a1b

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.1b1268-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.1b1268-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for virtru_sdk-2.3.1b1268-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c4eb34260530b3b5e435c34dd3b4c8768ca72c2238b8a3a555df788650aa7761
MD5 b3d17712fca83f258a10547616d80642
BLAKE2b-256 8ce1c8c9ddac55b81962af1afa4eb8ea457b48f2e8b46e699daf2aa203f6f17b

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.1b1268-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.1b1268-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 4470c664ff021be7b3aa471ef7e7021f7ee517fcc9bc85a57deba550af2a9b70
MD5 93114b23c7fc70e805566b72a408f766
BLAKE2b-256 dc7c12141f54d5020ce38355f95727cb70b59cd299631688e3c66f6a8c2931a8

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.1b1268-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.1b1268-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.3 MB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for virtru_sdk-2.3.1b1268-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 941c668feb315c1374efbbef2e80a55ceb070863fc1f1912398255f2863ba72f
MD5 3b83e59730dce547978d226c47c844f3
BLAKE2b-256 92481df8859ee64d1a525af382fa4a08f5ea512f9d18d7aeb7c8832a02d0c049

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.1b1268-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.1b1268-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d18633c576d5a95a7523adbfc503402de2abea3e3c798c64419d59c5f95ae186
MD5 727ac0ddec57ff45cc47bc75ebf850c9
BLAKE2b-256 6cd066815cad620f920243085f4eac8a09f3901bc00275a6ff0f78b4b322a9a8

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