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.4.0a1702-cp310-cp310-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.4.0a1702-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

virtru_sdk-2.4.0a1702-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

virtru_sdk-2.4.0a1702-cp39-cp39-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.4.0a1702-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

virtru_sdk-2.4.0a1702-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.5 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

virtru_sdk-2.4.0a1702-cp39-cp39-macosx_10_14_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

virtru_sdk-2.4.0a1702-cp38-cp38-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.4.0a1702-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

virtru_sdk-2.4.0a1702-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.6 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

virtru_sdk-2.4.0a1702-cp38-cp38-macosx_10_14_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

virtru_sdk-2.4.0a1702-cp37-cp37m-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.4.0a1702-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.4.0a1702-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ ARM64

virtru_sdk-2.4.0a1702-cp37-cp37m-macosx_10_14_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

virtru_sdk-2.4.0a1702-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.4.0a1702-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ ARM64

File details

Details for the file virtru_sdk-2.4.0a1702-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1702-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a2921567fac6f5742f76ba9d207afd706eab9577e745f47e75b659dcbbee93e1
MD5 bf761d5fda7796937990dc245274c889
BLAKE2b-256 2bef4225d5e650084627d9955454eb0082e6aa417bdb4dc68e5209d667de485d

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1702-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1702-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 52259cf4439df3fe107ef3ca294cc997536d6d7004ede0a2ea62ceea50a06d4d
MD5 d660d433ea91b9cbd6982da3ed15ecda
BLAKE2b-256 d3b239fc398f48035b75f510c70389aef40d648a2228ae0752c11e9e5b53b6e2

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1702-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1702-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c3f0f31034ff097a1911f182af942ff861d7692f8a901e52649c1095d15aa5ef
MD5 82826604efaf2805e44bf871e4372d39
BLAKE2b-256 762b36ea9e05540a1dcb64ebd5c1ef8fbf48eee73e412baedd5cb762f143ec0c

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1702-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1702-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 dbb6bc3e14aaf6507d607cb1b050cd07e7016db45109d6a7737a4ab641e054b6
MD5 179a1810bfab0b6c740f9c86c7814511
BLAKE2b-256 fec96f01fb4f1b349669b8f6a9c1a82d742f8717fc5ccc3ff545c430502b7ce2

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1702-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1702-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3644d561ffe0b6d8d5a059339cd85098b3c76188702ff6b4088ac8a244ad6490
MD5 6d91df98483afad90f08b407edb899e8
BLAKE2b-256 1ebf09f12c03e4a9cb50fdb93cf2429bb668c4a51a5afe52d628469830b57b0e

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1702-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1702-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fd96dc8ae2aa044b9f1f3007f6517208d8e390f0da3e92ca0f8358c4532fb852
MD5 fbac46c21d8f672d4c9e3d489410e27b
BLAKE2b-256 91a1c6d5deae94ae3349da1805419a1920912d977589cd2a815e92499137afea

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1702-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1702-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d030325f116e486f53cd9d0e12d7dc5908629b384110bd94eda078c2f48f9c7e
MD5 d90a9baad98b5863cbd4d9226138a7b2
BLAKE2b-256 a513f02254b0c64d529f12c51bcd85b00f3960e9f4d9f8858d4af73989b2e67c

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1702-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1702-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 ea2f54b106073136a992fd782279957d364f0e5508469376ac9a84cd333ae5af
MD5 02896e6cdffd0160b69622f0078dcf48
BLAKE2b-256 fd0edd637685a146986c49f65cd7fb159a0dbdb549a861987750ec0290dd0a80

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1702-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1702-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 92d86d33724d982db4ba4ac620f9ae9642f2471001c140eb6e16623e54f1fa0a
MD5 0314beb6696871d03e3280750d5a521a
BLAKE2b-256 d539a373f1a165f13adc95881194d3300985da70529db80d6ccb66053db10628

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1702-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1702-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 419643c992f7601aac9cdee55676c5ede61157424d3dbf5ca207549262cc506a
MD5 103d59b117a9233b2f429848cbfcf18a
BLAKE2b-256 b570fb844c6ae01f2fc784fdb2bc4deb0bc380b5554a80cba58359930d79e36c

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1702-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1702-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2352ae287d326ba8521183da7bb39a45cf6fcbf9164f56ddea9fb18719a1936c
MD5 70c1cdd8cf89b98dbf826f9e1f14cbf9
BLAKE2b-256 382dc71a5ff544a98e951ae5d4d1cb52b5441c561fbd190549b882de92754cd8

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1702-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1702-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 98c256b9a2165be259fb5db292048d95cbeca64ef87357a4e6ceea79eed1e4f4
MD5 6b8caba115ec5a459ac5125edd536247
BLAKE2b-256 a7a9a1938324dec665b3866a6751c11170be68372c7dfcf14dfb134fbcc89916

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1702-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1702-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 16772603ddb02eda70739e363851ff94a63b80049f0f196627c099303863aeaf
MD5 fe7c656f2dadba870accd0b59309c40e
BLAKE2b-256 575e6a4ae67fb0bafefcab5b841d469ca1594dc86b8c5c0f460e010c9cf71f93

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1702-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1702-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 36b442ac8c62a09222609c0cc7e6de94320c88df08bb6cfb0825920c1f1f6186
MD5 ee9f77386c563947424c020cf5d6fab8
BLAKE2b-256 8c0a0f2dec4952e38610004d8182efdac9ad03c99a1b7f2f1dc06357c9daf006

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1702-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1702-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d00f053f1c0cbfba6c82f355ff33332b887547174b0898d3d3e82145b1e715b1
MD5 69e4f875e5f3792df34f007749fd6e06
BLAKE2b-256 357211c205fd3853c1b19e2d130369f4c9c9b31ee0b1949067882721477c6c47

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1702-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1702-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 26703c270dde526ef1d44333811b86bb706a3fdeb097be9da74d5a6bea1629cb
MD5 aa95e9f300abea8f1df061e7fee3828e
BLAKE2b-256 35e0b735f846dad39a472efc028bef4940f68d48f4f7176c4ad8bd8e0299a299

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1702-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1702-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6f183813088b9335ec81d4df891ed52d32c657b8985f2826a8aa246958b20c83
MD5 42d77e8d6e56d909fbed11fdf2d013b4
BLAKE2b-256 518b1d7a2350283a9db88499936fb0b2b4b0af3c29b6a0e942b8b91d12722d4e

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