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.1a1330-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.1a1330-cp310-cp310-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.7.1a1330-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.1a1330-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.1a1330-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.1a1330-cp39-cp39-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.7.1a1330-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.1a1330-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.1a1330-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.1a1330-cp38-cp38-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.7.1a1330-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.1a1330-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.1a1330-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.1a1330-cp37-cp37m-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.7.1a1330-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.1a1330-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.1a1330-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.1a1330-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.1a1330-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.1a1330-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 3cdd77fc17f52dd69ee64278357f5c98ac19a9c6460726cf1133cce30d8ba1a1
MD5 9bf95b634badc6d821df22df0524363a
BLAKE2b-256 293834888078f61fdb489c51e3dbdd35c56fb6710fa85bd31889233b8f57aaf1

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1a1330-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 aea69c2af67b08776fc48e414d40a443baa853a1c947f02079833f50ce797dff
MD5 419d1edbd7636de403c789042ca6de0b
BLAKE2b-256 36a6d23fe8705be26789400810b48ed7c7946e5239ea4e678546fb574f8b0055

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1a1330-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3c0b8090b42efb672d9a1e25a9ccc34ab74a5123f1c318671654505c22d34671
MD5 33f87bc2258256a92ce5306be6c22b75
BLAKE2b-256 0343618c46ff999ad86eaf93687f70d9ba7a22d388fa5efd0a91ddf58b2f7e9e

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1a1330-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 eaf4971c668ecf13ae920ea236b69c0c84775dc6610174038ac53175aa0ba0a2
MD5 c7ea5d9292e65ab03a4efda191ce9dba
BLAKE2b-256 1aae825ec9127b5f66a28aa7eb8ce400b8d1cc861a86660e052f78c7afca7849

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1a1330-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 c72e62a073c88ad04c36a6bc173b48969e1e7876d781b41084cf7ba38a474385
MD5 233f3733dc2b46fbdaedb36b62b445ed
BLAKE2b-256 3058ed7d454667a2c1ab3fc6630e0fd391b35037480c4867e11b028796580b30

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1a1330-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 956e5f5e6f50029aa296830f32bac99cf262af61327ff958cab93dd7d95dcf0d
MD5 fc07752ac244aa7314b75769e8d6348a
BLAKE2b-256 8976c678cb39c243bc405896f035e71ee8512d6b06155cd46a6cfb7db4f09c44

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1a1330-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b8a1bf3254ae51320c52d14af961a6a355b477d87fed9499bf89322943c454de
MD5 10a9a89de5613a42ad614aa08aeebae9
BLAKE2b-256 8541bb0e85e0998b09402c5cfdfe8e14b7f7e055b29c1b6c9de3fd45a5efde60

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1a1330-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2b242b4a0047403fcd33a19e24549178bf4afd34ad440ded0fac260473adad81
MD5 69858865a41b5416bdf72735f14aad0d
BLAKE2b-256 066fedbec41287f60b92b79de8151504b8fdee58b085cd2ce6d0411dab175614

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1a1330-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 e61d8f2ad3ce069d01a82dda437644bf55e786058599d2ffe1b8d7e37f9f8b43
MD5 2b6108557c890f0e300ed1871dafe4f3
BLAKE2b-256 0f5502e62206cfdfb5597ca66f56a54695f979c806758f3efc70d5b7bf9de849

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1a1330-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 4066d3cec3437918e1e4b054ee0823574e613bcaf86eee13f8e4485922af9151
MD5 9be1ee7b32e8b77717276e66b6dc9d0f
BLAKE2b-256 a97defec9d3485972a21e2735a604bd82c990918b0a616a38639fa4175a9c457

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1a1330-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5bf8115953309f72b903624c451332a2057aff0496345e4f5b0bf0df15a5d476
MD5 d82e499221286912e09edf94b1e90278
BLAKE2b-256 f1fbcf1af1af0804488a1e9b1227236c08fffc93d6dccd9fcf9c3c0942866354

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1a1330-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3d38a25ebb2773e81f501ea7691424d447408dc2fe8a4aafaf73dc8035beaafc
MD5 21fd57f32ee975d1809aa011087967f6
BLAKE2b-256 d86b79b7b4cfde73e17df039b434501d58f3a10695655161d55ee66d78110471

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1a1330-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 412c6ef90359d8e44c817a9c88bec53c268c7011c9c099f83ad01bdb1e898b93
MD5 2e71998112088a6c9d087f8d1b53f2d4
BLAKE2b-256 ca0b2d5194b2571da0ebd2c705d51e1609a49f747d5849b0d20d0942f740f255

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1a1330-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 a66844bd7e7a81d0b41645201cea54a82d8b670a2f0cf304f75b8f090543a9e9
MD5 c8aa55e5fd839bca3134564f3345920c
BLAKE2b-256 c312c6dee23a8f2afbd0fa32de4e75ced88a6e4ff86d1b35cc6b8dc59f30308e

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1a1330-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b0410f8115c4878d3f12be4462cdb26bdfd00f3105474ea794281c148ee8e1e0
MD5 be565ca47963925e34eb513af0ff566c
BLAKE2b-256 4a7a062f9fc6767a80280bac3a96ee295be40b53648f68bcb9fabccdd3e058b6

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1a1330-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 377e314cb13f8fe1b6abf345417b72816d484e1f48eef23353ad75943e127d96
MD5 59a76adbde7bb38c594bf903df8496f1
BLAKE2b-256 ad7aa672a9b2cb2cc347484fd0f94e12330930068edae1ed206dc63dd634eb89

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1a1330-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 97f95003e5fe2790cc942fbca58e68354b6946c637de78f7d071601ae7635e33
MD5 b2bc64f6bd3eef58d89d31928a4480aa
BLAKE2b-256 cc083a844c28066e6e23135035fe9bd6bd687e1330405add3dea04963c917613

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1a1330-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bce88bd26ff01322dd43c87a5409f7483ff2183d07139517ce64738c545c8e9b
MD5 8542d66b321d240b43be0b29277b623b
BLAKE2b-256 6dde3fb002d9ae1a6a4b82c3283981d1989c3732b77790f5cd43d1a0173eaba1

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1a1330-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1a1330-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ead05ceb95a8faed772eaa889fceb2248206f9e07fc0e2412923649dabc3ed01
MD5 c9ed2716daaa2d200cb3c5c1710ccc21
BLAKE2b-256 9e5e78c00e04137bd8c1c8949f45c76b4b9d7893879798563e4cd0b55fa720c3

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