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.7.0a1326-cp311-cp311-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

virtru_sdk-2.7.0a1326-cp310-cp310-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.7.0a1326-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

virtru_sdk-2.7.0a1326-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

virtru_sdk-2.7.0a1326-cp310-cp310-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

virtru_sdk-2.7.0a1326-cp39-cp39-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.7.0a1326-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

virtru_sdk-2.7.0a1326-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

virtru_sdk-2.7.0a1326-cp39-cp39-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

virtru_sdk-2.7.0a1326-cp38-cp38-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.7.0a1326-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

virtru_sdk-2.7.0a1326-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

virtru_sdk-2.7.0a1326-cp38-cp38-macosx_10_14_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

virtru_sdk-2.7.0a1326-cp37-cp37m-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.7.0a1326-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.7.0a1326-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ ARM64

virtru_sdk-2.7.0a1326-cp37-cp37m-macosx_10_14_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

virtru_sdk-2.7.0a1326-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.7.0a1326-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ ARM64

File details

Details for the file virtru_sdk-2.7.0a1326-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 fd60e0207d0c88fa906d13f6fc4af21b01cd2f227ab1d3eac353a78b8084f42d
MD5 a7e47da32cb611b15a383a93f9a426bd
BLAKE2b-256 c6570d65bce23f4cbbd6ddc0bca1b3943779e367afdba0f7ce1b9448a9028393

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1326-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 0b9108ae50944913f7ec757d819b2e2adbc257ec62580378c5f6bed1ae6ec0fb
MD5 fd3ecbf27b3a2f0fd22ea8a3856be18b
BLAKE2b-256 11054958e66a5a4716411cb45f384434b46a8d1c2bdf08e9be36712a65c86485

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1326-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8d95d4d6510c0a6ce8c95213548a292455d9797da528a8943d26b3bfc6bd4329
MD5 982cd53631f52ec8d3f196b776d1c753
BLAKE2b-256 b589e29713bfb66a752c58944e4f887d2b2d9b54df47c580ddac2e863bdc50d8

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1326-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1e685d3721ed8efa49b6dfce43349207044260b7461d1c2a4ad3dc7df9524020
MD5 ebdd45b090cd4c8a6a37accb2015e973
BLAKE2b-256 712536ccfba40ae80b425e90f25298914eda95d7dd9c93d7db72f12943d8bbdd

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1326-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 28cc613cf6a8ab4a79f6b9bd3e49c99fb84d711bfd8378182e1aaec4edf2f28c
MD5 246e7b39ed0cb0bff5b9119923a79e30
BLAKE2b-256 2bf74d2fb95aacd3c36d9a99c4e2349128735aea11672ed29055b3f444b82f50

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1326-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 eaef8d42c26abd9acaddd3d0a094f95671502c71cab56981c7003c67cc0ea717
MD5 39f80b02026ff8d47272063423743431
BLAKE2b-256 2bbfbcd351e5cded7715582b946d26a484d46d12d2f98fae3593c8e55072bc7f

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1326-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 461c2f08b91d1fe35d71abfc38e7c188267edbc9709fe4e1494e1fc22449278a
MD5 9a77cb22f201a25645dcf3034aad70ea
BLAKE2b-256 bccd4dffaaa2612f712ef717b567ae47d2cc5bf36bcdc22e8441e70d1a89fb34

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1326-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7f3e98ec668de31c57783218e11be3d8d05b45353cac5ab5001143242cf6028f
MD5 5ba8a0d81c68dbb062a2fdc3f43e9e4b
BLAKE2b-256 28defadbb8c62d85154e298328667d1fa116697732671110f0cbb22312728b56

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1326-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 31cdf88c270171a5d1f147069d1c5a7746b481a984a08174903bb01aba422063
MD5 8008da60621d1ad36d781c92140e3149
BLAKE2b-256 5a40179c1d019641bebc117b48d6aa58f98b6cbe3dda1a155fef68ac286c2e49

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1326-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 b94bc71c59089874464b154d74925a80ee0099eb40fdcab066a0322e01f10732
MD5 45092be15c2e5650f5c9117a9f49c348
BLAKE2b-256 bdc0bd385127eac3c2b77d30b2b1c210e6998571d25d7a4b0be73e4bc53581c9

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1326-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e592e90f56128e8a6a02e339d7b541c22465bbccd8b9afcdc9b342786e30d271
MD5 c29a236ddf0b8008530aff34a1ffd9bd
BLAKE2b-256 f8cda624e6267dbb5ef6f887e5a78fb86f9e9802d1eb4d8fe98ca1bd8caa4724

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1326-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 58f8fe2d1e7ee6f79af9c1caed02e580cfe5cce7f8eeff5e16442c995d0f3136
MD5 389419ff2b6c72edcb2b7f8329eb41f9
BLAKE2b-256 91f5619b156c6e2d9e88c728f93377575907b349e2a8edc42262dbec42ec7ffa

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1326-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f2ecbebede475563716d8afba97da070072710e4ace47a852d8a81b48f622d47
MD5 e2e5a05c540db66cac52f1a367515843
BLAKE2b-256 4b5108dddaeb64c2c5a44c6dc6c1f2bdb6d5757f808b692baa8dd8831ab0e9e8

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1326-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 1e5b27c86bc3417678f7e46c7344370dc3c6d0b5790a09e0ff1bc7f37b371bd2
MD5 c01d7fd1085072fd25aff0fd11d46e40
BLAKE2b-256 cb7d0f0b9dc0b58c0a2b4061c37ecfb264ead82b8730cc0db0f49871f0c4abaf

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1326-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e3b77d93b6b65ab4007821f421e318a0c5fd0951f2bb986adc0dbd994d0fefd6
MD5 6612023feb31400ae551d76252a3fbce
BLAKE2b-256 8a02bdb67ed23a4bbddea992492de0decbdaedec48a1d3b7b59557774114f4b2

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1326-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 63955c09016b32e305dab317ea9a0a563f15de8596cdae611fcc90222c9227aa
MD5 15efa57af24c9626a8ade341cbab2ecb
BLAKE2b-256 ef840a597ed22de8aff36901051cadc0aae2cda46444bfeb43cb70a0dbc815e4

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1326-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 e8b9f2373c41c2992a96563e8bf42b5f6b8e66936eb6f2def651b5a995439537
MD5 d61bf60cb10c00ee338069e8d18d1724
BLAKE2b-256 22ccc2dbf88efcca0996aa7b7da97699b5ed74b829919c2d7d6a5ac59478763e

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1326-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 14c6bd911d41400f498ee3393cc04f4da17c84b52d1d91756692a2263cbd07eb
MD5 6ef58f6063fe670c86e82c0a23b7b513
BLAKE2b-256 964186b772c46a3e5ad9be8c5b6646911f444bde3c5f5ed7f760b10caae023d4

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1326-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1326-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e063768abb59f5b9d59b910241ed1d93afb581b9d86e5b02c0a432ae6dd7c3b5
MD5 5542349411e61a2a8147c016da588a3e
BLAKE2b-256 38537c3fea369976ed23eac21a63e731ef9f7b4b95009bacbeae6079596aa5f5

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