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

Uploaded CPython 3.11macOS 10.14+ x86-64

virtru_sdk-2.6.0b1314-cp310-cp310-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.6.0b1314-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

virtru_sdk-2.6.0b1314-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

virtru_sdk-2.6.0b1314-cp310-cp310-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

virtru_sdk-2.6.0b1314-cp39-cp39-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.6.0b1314-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.6.0b1314-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

virtru_sdk-2.6.0b1314-cp39-cp39-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

virtru_sdk-2.6.0b1314-cp38-cp38-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.6.0b1314-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

virtru_sdk-2.6.0b1314-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

virtru_sdk-2.6.0b1314-cp38-cp38-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

virtru_sdk-2.6.0b1314-cp37-cp37m-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.6.0b1314-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.6.0b1314-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.6.0b1314-cp37-cp37m-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

virtru_sdk-2.6.0b1314-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.6.0b1314-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.6.0b1314-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 daf1e55a946287e8c2e51a86f0bb89b74690420b323dbe1ef1fcd638aeabf3a9
MD5 921d6cb73bdb3439ecd1213429e65dd4
BLAKE2b-256 c4e632397047f9216dd3043d4f4970d76ed665f621aa72b8ef00cf68bfc83c8f

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0b1314-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6075dc58210c149b8d21a1dd038596b4bff74d835aa8e147f34d63a4841f95fd
MD5 bc84ee659d1c8f0dafb138fdfc035b31
BLAKE2b-256 c3ec250441200078e361f092c6085578d24837900bed598e9ab3beb60a702f46

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0b1314-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3e0e3136aa80f600a91f66a406f65fe76e349c39edc0df00c23a4be23085cfce
MD5 ae16e6ddea21622bb4de3829f9bc8a3b
BLAKE2b-256 85c42334f3148697abb4e329c23cadaf195ec589123a4bce8c6172a0ad5e4a3c

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0b1314-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9631a28fcabf9f0102a2cab7ed6584ec5e649686108480920b9366b8bc72c26d
MD5 920d1b4f24ab771ad4d77f0cf42eb754
BLAKE2b-256 862033842189b91f94916c8e85a35be0a7bcfa7e0570b52ae5fb7c5f4b946f8a

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0b1314-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2fcba714d5f1011e5a66ab5fed4605a179f994726b41659a83af4bef38aaf2f8
MD5 a34001e3de6ea12fb7b0f675a057d58c
BLAKE2b-256 2c2e3d25fce500b0431b36441847c28d8cce5bfd681f17baa642dd6186cb356b

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0b1314-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 63e05f4a33d2a021a4dcb9f3eeda1bc98ed5f7842362c44cd3048a83f24febe9
MD5 4a73c58222c8ad3b3ac951243ef4e9ce
BLAKE2b-256 be0e23a4118fb9eb7220b7f7d9d33f11f2da6b2b33bb1da8eed14f516db73ee1

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0b1314-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a2456a612724d88ac380d5d2a5c65028ad4d619af445f864260f4b2aaa074815
MD5 0d0bde23380543786e93c966ab815a07
BLAKE2b-256 89efab6a535746bdaba71efbaa96746988e2e1dba63fb9381d86ccd95ed084a2

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0b1314-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7ab7a6c7701431296bebf7cf52244ed9079d3c969c85472f83a632dac28b22cf
MD5 96c8aed147230a7328cb7eb3aafe1f2b
BLAKE2b-256 ea937df0ffc076fb33a71688d4adf7d0a07f64d2d8d797fcd0265c90d181ea56

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0b1314-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 a3fbbc156c7a70c5289950c24a36c8066aa66901d48c9f5ea5e7855a2684c211
MD5 3679079bf941dc45bbb0314b1cccf46e
BLAKE2b-256 dfef9a1a92f776303ac0d0cec7f26c0590edc708d133d731c3e25e91ee95f043

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0b1314-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 b47551abc8e7d5bd327cd6218c9a726e2d1f3b6c8ce58cfd50b190161f084745
MD5 c5eec4bb975f61bb9ddc4764f28e6020
BLAKE2b-256 466cf9724eda1d089da5b95f0ae142018c8688c2f98f0f9af8f59bf9ef75b189

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0b1314-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ccecd9812c3e10ac8ec10925d8618b1aa02c7812ce2a895c9426b1ce14f4b98a
MD5 e5e32b1c0cd0cddd81cb13fa5f470d36
BLAKE2b-256 dbdb47c8f4d90acc28007303a938e9c69e468d6c7bed49b7b591d0bb61d28778

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0b1314-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7a7fe78eff9d58115955267d2f70ba962cb87ebd2291f4e8f816d1cf4a57b264
MD5 0a7bc4e150a1acde3d8ba5a1f7bf9172
BLAKE2b-256 b172c011cdb8fc8bbdfdf3951ffeaaac719a4d8b3a42cbdfb544e408535449cb

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0b1314-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 39e87b4dc5d07d53773c58a1d910b7a1859a078e6412313e96510b142ced1d8a
MD5 50dd52d2eed58b837a23fe2649d4cc8f
BLAKE2b-256 9b41c684ae3fcfbb76bd1ef3db8ffc539fa55b3da8d4cd8314036d419a530028

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0b1314-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 e77ef04c0850d47b81caabbce63453ef2d7f6e99890c98258b5ed3f803c2ff24
MD5 7154ad16612c7012a388898064ba3a40
BLAKE2b-256 a946a69a2056d968a4f7e97a6537b0e71f8d7380ebf535334cd962b8cc5a8539

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0b1314-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 593925efe9ff8db379e9bdf03aa3d55719a066c6a27775984262d1001c218dac
MD5 a4a05ef08c757fbd7ccfa4e93ba100df
BLAKE2b-256 ad189144a2e8b5a978c4d08e90102ac0504b223a889a33b03da5beb2ae5bc1bb

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0b1314-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5b278abe6d60a5811a232f6a09b85a9fbd78b360220f5d063e8ce3de9abc14e6
MD5 762aef33bd1d3ef50823fe301b50c4e2
BLAKE2b-256 3afba389f48b21d0186bee7a46e60b9ed416f8f0805d29c92aaa151abddf452a

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0b1314-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 aa5579c7f1aa38cc888b6405668cc084ce56644f7cd880853e2235b7a807d5c1
MD5 6c87b9f4afb226e87690f60bc1a01696
BLAKE2b-256 712f455b9371a84c0f05fed0778c3bfb3845ad87a3ae00a117b2a2840286f2f2

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0b1314-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ef98f98304fe3275298b807ca27e4b993f4c4b7b991128aca83e91ab4ce93e6e
MD5 5f4c902c1790c7ff86b671924317687f
BLAKE2b-256 0cc350eadf58790169431a317776d8e818e15e117a3362532f9d20b894de7637

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0b1314-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1314-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 dd90c1ca3b8ff036789c5ce64217bd6f24d9be1ec8e5bed9fc71cec12c915b5d
MD5 f7eaeaa780286b811261cedb52fe3725
BLAKE2b-256 d264f5899220446d889e801c7d8c4e08214226102c7e394e09506abb13b33ec5

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