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

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.5.0a1764-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.5.0a1764-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

virtru_sdk-2.5.0a1764-cp39-cp39-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.5.0a1764-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.5.0a1764-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

virtru_sdk-2.5.0a1764-cp39-cp39-macosx_10_14_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

virtru_sdk-2.5.0a1764-cp38-cp38-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.5.0a1764-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.5.0a1764-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.5.0a1764-cp38-cp38-macosx_10_14_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

virtru_sdk-2.5.0a1764-cp37-cp37m-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.5.0a1764-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.5.0a1764-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.5.0a1764-cp37-cp37m-macosx_10_14_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

virtru_sdk-2.5.0a1764-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.5.0a1764-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.5.0a1764-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.5.0a1764-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 70b1054cfd1e981b7fbe84a48a5628d02914555e8f64196b6d58bb5b89b57d56
MD5 8f1048a7497b49f06fde503a1423e226
BLAKE2b-256 aa3dda91c87c82455a723655bd59828f90dcbec14c414ed5d6b9b1758ef8b7b8

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.5.0a1764-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.5.0a1764-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ae9a9d26d2546e635ebc105bb94c74b8690a03dbb7b0ac11c15d4d089b5f57d9
MD5 f14f04af1d912028df4a04fc142162d8
BLAKE2b-256 367e3398df8c266625623f6bc5d691ffd7c2b005099086cab72d5ded498da911

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.5.0a1764-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.5.0a1764-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 398300d55fdc8e5867e07a2124b375bb563473b12753d4ceeaa9061a2d862901
MD5 91b9c6e6cfaa0bede02b22b44a27a4c3
BLAKE2b-256 f5c7f972db3e3d9a533ed5649fe19a5e56c466e9382241a6d8bbe328c02b7c7a

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.5.0a1764-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.5.0a1764-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 019c095bc51d754e1ba199ff6ca6a598741e79312647ac44100d26d1fe5293d6
MD5 3121099da8fdae321dadfaed281b1526
BLAKE2b-256 ee4b2f10ae8641ec7fcd4a72322257d455f5e4583c74f12c9e297aa698b562f9

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.5.0a1764-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.5.0a1764-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dde723df8855bf10d9f4fb6fecdf60f48690513e40eab7c9e34a0392250f7166
MD5 d351901618ff5d3f78fc9d533dc4febf
BLAKE2b-256 e6a68b5d60d460d61a710a854610dd81a6c19866a31093eaa83d5003e4fcf2e8

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.5.0a1764-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.5.0a1764-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d34b06b0fa8c8cecebef26e69a5540261a2daef4a073a17eb62c9dad30c563c7
MD5 2fab86df5e4fb82797c459a4bfc78563
BLAKE2b-256 d2cb76a6c9ff7223c4e0ba223ecb76238e6d16ed278fe0aa4c40b6ef80d4acbf

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.5.0a1764-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.5.0a1764-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 eb5a060c1c1b48704a45eccf36da098f62a75dc6c24c40e49762426691657225
MD5 ee6950dcbf65cc5fe131fc883c400401
BLAKE2b-256 23ccf1441cb7a84bf6f83fb000ac7c8dabf60b266437b0ff164b6d433dcd8a64

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.5.0a1764-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.5.0a1764-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 5945f857bd7c9b552fafa038628ba3c9707f8520c960cdf35526d86d5ae20c0e
MD5 7136d219e22027dde783c47071289b14
BLAKE2b-256 654d260e353a348c9dd64ce605c2278a82e965effeee5afeafcbf0d95875ccd3

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.5.0a1764-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.5.0a1764-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 56001dbfc0b56d4d046bf24a1ab0c410c4f3b6da6a2c971aac101276e291b6b7
MD5 f4df9f480106602627f71b0ea561e85c
BLAKE2b-256 cd0ace7453aeb00bc880b3549d4177ee0423c52848e67ed0fbad4677cdc9fbad

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.5.0a1764-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.5.0a1764-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 20e798468d36e49b0cbcca8899c9bfd5d85655bf73a3ae7e14c1080c57696fb0
MD5 0f73486d4b543cc19b86e3094415e60f
BLAKE2b-256 1e531a1cbd4a5dcd0b60d586c0a36e37d663dd95fcaef14e5fdfaca2369388e2

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.5.0a1764-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.5.0a1764-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 12e0da04e7e5cee597ae922520eff82e04653daebefc82bef2ab0d8b79a59290
MD5 81ade3ddaead761163c27c730502b629
BLAKE2b-256 c6b0e4528a7dd3c5688cfc884055dee619ce112a1939e98fbc8f851a01dc207b

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.5.0a1764-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.5.0a1764-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 aaa7f44824e0929e2e6670fad26ca1f1225dbe1eca4bf4378bf7b7b759f09804
MD5 70f9aaf84ae4efcb82717e61b068ce1c
BLAKE2b-256 99dcf7f517888846596580fc176a994911845eb231580558e3cdd0703d007395

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.5.0a1764-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.5.0a1764-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 558687f9f73cbf8511f91cabc27e1000173e4e4599c3f0a43736d71fed010a95
MD5 43ddad05b4ad2627a25bef494f891bb4
BLAKE2b-256 0f9e6d9d19071f6ee1617de99c2c345c9d7030bcb73a222c7b813d3adf5bac55

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.5.0a1764-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.5.0a1764-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bcc1a03795ca208790c8f2ec62aa8e6d0c8d1a402c33602cd9e0c3f68db4877c
MD5 d304dbb7b2f4d3410b042d1d4954e278
BLAKE2b-256 ab1912dff446585cd56c7e8554d090715af660f95653b3e77f4f8f7bd9e774be

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.5.0a1764-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.5.0a1764-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b574084db0a06a5ab1db4bc21f4483226eec591b5b2ff39cbf2796f0c48cf354
MD5 109451d7deda941f80b35ecc50cbb886
BLAKE2b-256 234171a7edf5df25d136fe1b44ff55df56cb4828e459af0a5bc210496976639b

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.5.0a1764-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.5.0a1764-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c7005d3be653de4bdad4046286693dfad3490b3092577dbc544b8a9fb2f5f955
MD5 69fc81afd0ccd252008f3abf9f7331df
BLAKE2b-256 da2b7cea3fce07f6af92f6f4c48a07d39eb038eefe9fe1288484dc8a44672721

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.5.0a1764-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.5.0a1764-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 14c2723006d26394eb888df5cf61d84ee58e043bb449895beb707df535298b46
MD5 6fc195123bd1860362f5d99f1764d2dc
BLAKE2b-256 b99d66feb463740645a2f08a7e263a56d85caff45a40513b5da35947ad7677b9

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