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

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.7.0b2142-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.0b2142-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.0b2142-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.0b2142-cp39-cp39-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.7.0b2142-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.0b2142-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.0b2142-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.0b2142-cp38-cp38-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.7.0b2142-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.0b2142-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.0b2142-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.0b2142-cp37-cp37m-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.7.0b2142-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.0b2142-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.0b2142-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.0b2142-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.0b2142-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.0b2142-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 175c2cff19293b365b77d44320ab4d1e22ee8876f60ed5bb94b0bb8e79c3daa7
MD5 d0f91de4f792fee7374741010a36047f
BLAKE2b-256 dba1b60128569ec0af13daa06f78958b35e533aca18fa7449744dfd3357b6b0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 9911c3ed1a037431f761114aa703249260f8093b391d3efa7012bab00bd9c16a
MD5 8b07aef43449427317a781e5a57ebd42
BLAKE2b-256 c66f36a7dd97fc6d97f4aee1c2b8651f5729aea0328bb5a9bbf4d4893d24e8cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3c98b6b28cafd83e47af2ea070b7dc7d7dbfb0e435a02cdad83bc899aeed8957
MD5 16c55f5810e9b9defff0493007c1ad8c
BLAKE2b-256 d3e55a89374f5b047183fbf43ad07a232a0f5f197f5d9db132b3f1d449389a3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5d080c72d8a8b22cdea2c827f92bd3c20c132f7088249bd17171e6df55f6fb77
MD5 5e1734b8fb1309b0f188754baa6adf97
BLAKE2b-256 84adfb06ab4afecb679075ae8138c96d40a86d4c6796e857a0094516c1f4d666

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 433833ae070c7dc76c2fc4355bf57f98dfccd3aee1a076e09e1c713490b0d460
MD5 dcc7cf05be036070396afdeb0900fa15
BLAKE2b-256 cd6fc1a3472cc1eab6d52f29f8d95d5cfc6b6fa411cfdb4b7d578618e4e85929

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f6ce2b0308d85e3072f0e4ef0847863ef2f57cc3ecf37ee6595d6e1577a2f1b9
MD5 d25c0b3e78e15fa476ee3bc4d942edee
BLAKE2b-256 a542d684df318d57043129a38316ca6e59c82ee0633ebabc9505591ea6eb2a4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5910c3cc4bb67927dff612db0f1e9ed2694fb89f46839647ab4874a10257c64c
MD5 1f8f27ee6b3ed32630ebfd54e5c14a56
BLAKE2b-256 9caddefb84e1a2df07649f5d7f9e17d92b891c3d0e842e6efb4f1ccadbd2731d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9cc0c49ee6e54bcf537d7f894b16183b98652751dd56b87aee1847b838f6f2d4
MD5 7520595e04902333d3d48cc902757ab4
BLAKE2b-256 130517b202c3e927122a92d66f33dc4c2f269515e19e89eb15c1421c7be6d888

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 c239355e9824f46237680a32ef2ac01bf11e5bffa53aea80f01413d44c76ba8b
MD5 fa0ba310f557847962fad5b84ba77ba4
BLAKE2b-256 3e1fdc70f4f78a92aa2a488e775a5050b36fd7cb9af338b6474f8e6d90f4da1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 3d9f5241ff0dda763f2021c2aca459daa06c02f1f8afd42231dd281c12b26fb0
MD5 9b5381002fe1ed0ad7d3cb2dcf3c5ebf
BLAKE2b-256 45591855457e12447bd616dc68295af2d8af2417d39d04946e84640fddc1bc14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 df0d15493e6f2b5bba0fd3b1be40840c3f029e9926a6b167d5227c4e95c606e0
MD5 09b789ad1909d51c0d3d4b9a244d5a54
BLAKE2b-256 38a2692622e316bb811e503e77cb662bbb6ea39a583394e33a8b6eaaed5332cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 25932a9aac106da7c38876e9c9f9312608cfacad3bb1ebddeaa61ce3a79c7697
MD5 05f78f407b6571a58c406338d1f9d848
BLAKE2b-256 51b8fe8386a87a35ca2d782980dd50b0ac877e8011e10953380239cfc4e1af8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 143bd54c32c5ef14f6447aa9905c984b0e4bf6ac183cda872f641a4570ec3ba4
MD5 3cfc204938ef43a4bf7207aeb6d312e9
BLAKE2b-256 9743a7e5d97e4af4bc69222ab1401d5bb4215ff4e6edbf2c7b6ab73dd9ee823c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 fe4040c48749d2d089fae354f4e2541f1ff2e5a2fce4e10fa7ce172e7e4fd642
MD5 fa6eb7eb080a28202e47e529054bac3d
BLAKE2b-256 a6dec184a31376f9812dfe17f655cb7bd2ee70b38d2c798aaf15881ddfd769d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9e1de2f0d4257fc39f2506afc9dcb862ff1ca7f6db1dbac5ed5eb1c9949eaa26
MD5 b0d256cfd05ff9a348ebee432ca18c54
BLAKE2b-256 951f33d89a76e922907288775a2427d1ca6d931f538df457346867e7d76fea75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fc3e27874a2935b90be2086e5e9e4820a149f01f81b429d09ecb1d508d7a8b8b
MD5 40b8a579517e8b77624e6c23a7fe3e00
BLAKE2b-256 c3b77b37b8c384715feec618c5a9205e6183ab07f2a89c00fffbcd42d074f523

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 7e42cbd02af5a39fe5a484d74a98e785d22cdff5be61d87c07a74d4034c3480f
MD5 aca64cab9aca5d9c9618e36419fff51a
BLAKE2b-256 9fe434db61b612eb441271ffd7903b0fa1fd98e0f5be412e9a8a66f3ee47e193

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 64966c79468e621568ceb8780522588fbc673869185dd17b5d0524560a0d5059
MD5 ee36295ff53c43633be5ad1cd95a2520
BLAKE2b-256 e845144f4cd908c5d3bfca106b11118208fedf0fe273705aa2f3a2742f3fdb09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2142-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1179179adf54b7b474120f56b294a47a0cc7774de16412bb9288597373c5ca82
MD5 b6d8646dc6430eb70b2c32c8436c6128
BLAKE2b-256 afcb2d5a13260951a54b1d8c30a7a7b3855bfaebf2984c4971aa1fc0c620f4e4

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