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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.7mWindows x86-64

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f5215daff3832d87ce585cba20c42774c56bac282388c221ca679522b9decd04
MD5 1cc17923f15aa4ac40f911e2ccb20f21
BLAKE2b-256 d3333c4cf49e4fff8b24431ea01eb230970bd8c0e010fd5ad029c007c924d6c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ac9761fcadecce21335ead240998e4cdfcec0d43374873fdcfd8c2a59c78e8f1
MD5 638eda4bd74888a1aca641cbe94dc118
BLAKE2b-256 6c348df41dec94ee74e1a48dcf3b13abd6e8984962e7a37e3c214ce729a75609

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 aaf8928706a7e72360b5353aab9136d83841588ba2f3a97522765e6da98e8a6d
MD5 a1bcab32549536ca61b39ce86ef5d283
BLAKE2b-256 72fc737c43dbd4be3b61eb643436e3e3831ade416a4634d1c63661db380b7330

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3e2d84291093195654f475416530c9288689b13946d7b39cdfe9a2295a9ac94f
MD5 63eb1b45f6ee95d315207e2950c4ea74
BLAKE2b-256 378fa10b5313a469a451159df86e85ebe50451b6c7b1bff5db389f7cfbe4d984

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 7d084046ee211ec0db01bcbf28f8c4b0a3138407be2e8e61d802e0779cfc0e7a
MD5 e1c7a1adb2720ea9f746076420d2a2a3
BLAKE2b-256 d38d580c72759eb96e4db17b66c9b647aad3784e74556c3d2e4197b80b8bee9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 23a9ee95bffd6f021846cd96a4e46d40c9177ee1db632645807aa1233cee4546
MD5 777dd7bf9161f06ff90dffa4b36a0030
BLAKE2b-256 6964e8346dbd2fc8cafec7549a803314c6a84da63f80aa9676a548cf2b945b7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d56bc7afd6a1443362d76b89806ae23608c804f113c6f3c03e72cc97e421eb48
MD5 e3fdf6f8bd52f7119b9941c1fd2d9bed
BLAKE2b-256 0b9ffc6713a6d98dcecf2ce813885943a36c9341907bdcc9fb5398628d6f401e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 11823f4b51411db9aa7d5a253378c8e174b58a1177d3e58f25c019eecc33aa4b
MD5 a75b704c475f6fc52fa6ca9ddc7cdfaf
BLAKE2b-256 ebd8280c6a65992716d12e8371c776b0db762c00e70190abdd24f14c47626e9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 afd71720904c5a750a7f5ee8d3a2d16732d8e9cb7bba523265a93b36862872f9
MD5 3e76c3db5f3ff52a0bc678b4f3569bce
BLAKE2b-256 3491c02f37ffe687b3d6f5df89e649d3d4cdd896a20379a9cdba0b9c77cd98bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 ad96cc96700db25cab44d2a6073e178cc033863f392f0ed40e6d3201d69fccb3
MD5 4b743f96a97905d8715136d4043bdf8e
BLAKE2b-256 fd645916b2ffcd7fcf76f60482ac069e0440de5ef0cc0a4096441fe3aaafda31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c4a79e158d86db87966af631541c892c94f66d79daff343b022f992f4a36a115
MD5 d42374587b02b3b895a04cb9a1720f0f
BLAKE2b-256 aabdef395016f3088315b93afdf45adda70d816524ee5fb14cee1b760366753f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c80e353eff78f159cc55f35f79466a9d95636ec09f35c87260a45dc868fc580d
MD5 46726b4436fcc8e39ae6f4ed20baff65
BLAKE2b-256 99ecd43054626297b54553efc91b9e3fb460c9a7ee6f7e3dc7cb15f3e11c23eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 1bcfa24ee36109f127108a2a3c3b04ee9994b784a101b68cd54373c54521aa78
MD5 f36a2e71257e402c1ad2aefaffd6a84e
BLAKE2b-256 eda646c9d980e742bcec4fcdca80f183a9031627b3b972eb1d0aa502d1922e82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 bef9950bad345bddb3759c3455bc7bf72a2e99bfb50cef911d6547d7055a5767
MD5 ee0b938aa5d5c649ff654b8f889550e1
BLAKE2b-256 b6da62d6c385aafbd2dc0b0969067273534cec0c2492c5c17519f52b1b2e8188

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 30d1b5d8c3753f6cf1587090fac6d543e826765f27b00de676b24f10f60e40f1
MD5 0a73a06376dd33437720c7d7a3788abb
BLAKE2b-256 10c738e2302af84247f78c46afc7234c10ea85cec5b948a0fd8bdf3b14110f8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7a71876e79e33cd896c1bc2e572c2d3ce96fd4965426c852a733717d29a7290f
MD5 67de14f7312ddb65672928da8fb70563
BLAKE2b-256 c7700f2f32f0415443ba9b06b3e0bbf4d124b4c059b9e13983a34e6ec0f5c377

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 34b7330c8b24d62391d986dcd419f95ef2fe8ec764fe813b089556f84ceb4376
MD5 d7045023a90b7fcac3c94e730ab44f26
BLAKE2b-256 5eea1670dd451e5fb60322aed2758a69ab1d79d8b72d3fe2d25bc16626e0a2f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 50b4b67eafe6f33a652eadb6e1424eb5dfc11af5a36820be80b3dbb8f956ca70
MD5 327d925985ad7f3da5d85ef10037c148
BLAKE2b-256 f386a443f0a24d54a1db747ef431473be53b56781f25fd0360200da90b232900

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1324-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 eb09e615e4e1158bbf86b62ec60923bddfa6a45a17e97bba3068559a6fdbe363
MD5 48faacdbab66e795d5969f96f868d616
BLAKE2b-256 156614481cdd16beccb530e409e629437f81f243676f7d48fe057c10567c5360

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