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

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.4.0a1307-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.4.0a1307-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

virtru_sdk-2.4.0a1307-cp39-cp39-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.4.0a1307-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.4.0a1307-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.5 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

virtru_sdk-2.4.0a1307-cp39-cp39-macosx_10_14_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

virtru_sdk-2.4.0a1307-cp38-cp38-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.4.0a1307-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.4.0a1307-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.4.0a1307-cp38-cp38-macosx_10_14_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

virtru_sdk-2.4.0a1307-cp37-cp37m-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7mmacOS 10.14+ x86-64

virtru_sdk-2.4.0a1307-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.4.0a1307-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.4.0a1307-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1307-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e31c4f296db33dc0324e4aec24985ff976fa3bd5844ba26303416ef1e39d53d1
MD5 65520ddce933a58cc69a014825edd623
BLAKE2b-256 1de1575c7a5c69eb4fc19573c8e8aff2b1340df6c3a017f2dac4bf91d2103128

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1307-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1307-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 63e7d5d833ffc274a3ded3161109977803a75cd5480766a07987fa15a2f39dd5
MD5 d103cea7dd2765f8961d372bba3e4fd8
BLAKE2b-256 7be5cc8a983d549551ad4e658ca762dc9ddc8135d18901d74950ac75f105f14e

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1307-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1307-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7370ae04e1f744e7bef570a837ca495ad86876efddd034707af264acc3aaab7e
MD5 8912d95a8762ea5407e3ed43a942e587
BLAKE2b-256 699a8c3c5f7ffc93669fe1b8041c4ba0a9c4ef5fb3de62356260f9d1a2a79db7

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1307-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1307-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 6f916b3efa9c713e3ba532bba122e7c74b8525d3e8822cd965178a2fc7aa1729
MD5 420b5014692ccb47f0e586adb582df2c
BLAKE2b-256 8c2ffadd8f87aaa9044803bbc84971cb682a572ab8d54da3542a607fa1313804

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1307-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1307-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e00259da2e25386ae8996e66c51d38b25457e60cc2443781fa34d298fe67bbee
MD5 390dd1d81c59fdf27dec0b82ad9cda54
BLAKE2b-256 655d0ae746a9e4bcb8ca3232496d00d168204775a2479e23b875017dd94e1bd3

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1307-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1307-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a7edf811f1e6f829582b37822c7794c3b69769405ae5fceff4ecd5089ceaf0ec
MD5 b0580c600e6876c903dbf3e22cc56321
BLAKE2b-256 752be82b38dfe5de9ce78fe3f0a0837c850c2ffad5cfcd2d5d49dca2edf304bb

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1307-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1307-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 8f95473fa66a31992fefa22d637ecbf2809e71090dfbbf35886a6e4829e911fa
MD5 3a334c8f3172713143afcb28c24d986a
BLAKE2b-256 3a61b01698f1a96c84b4623b54621852acee91328040971b9fd0d71c9b1a8d53

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1307-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1307-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 7cd0adb2afe3b70499235f7db87202be03f2cad0259500b735ae33a835aa8dd0
MD5 824c5466b32585388528c4b56f170dda
BLAKE2b-256 7403094669585c6c8af56ab1804e92c0b8122812e84cc97a72d67fab29f33a7a

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1307-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1307-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1527d986ce0891530ccbc88fa741ca47a097ce18cb9b7995cd6b7ebacc09267a
MD5 4562325555fb17306cc926cd7fd7e085
BLAKE2b-256 7fd9f3c8d341ddac77651b236dc4efaa894725cc8f042d90b0b9d475bc6e4c54

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1307-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1307-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6ae5bc61926c1592a584397cd58fc1543c0e6044ccea650ecb535407b094a74e
MD5 9b30def3356433aeedea9396c4c7269d
BLAKE2b-256 7a974a46ace5374a60aeb3dc48612034422a669dd4ba1c7f60f3f90c963c7499

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1307-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1307-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b5df538bf782f1e963926ce3f95cecff639437e59c4d3690a3cbadd088015dce
MD5 3459834527ec5099ad987827852c3765
BLAKE2b-256 cd7a18a44600c2847c95681d9236510478cf92e388f1bd60a73ad6f104435cd6

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1307-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1307-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 aae79adcedaba2e625ae8c36c2749140ba0598ad6a321b6706391d9db0dfc380
MD5 da77f1352364cbf0944864b68f8c2b58
BLAKE2b-256 20017c851ac4f1d02760a1f1d1facb518aa124cd3311b30c43920906ace4905c

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1307-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1307-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1ce833764d0ace9cfb7f4e312c2b24c99c6e2b03a2cf59966c191335ea4304ee
MD5 f15e874a74eb62ea3781eed158f223c1
BLAKE2b-256 dfac2dccf6d6f1f3ed9b7845f1cc7b9bbb4747d6ee8beb3733db63f7d3db136d

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1307-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1307-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d7a94d055b1ee5a2eb937f703242a261da82b01932c6f1152e05b9d0cada1830
MD5 1f7b5e53b3caf951828e31663e30d6b1
BLAKE2b-256 17bee8045093c60f183490f2679592f1ecfefa9303dbce79f417d3c201fdc287

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1307-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1307-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 3f16699492ee1ebca17c4875e9d5bdcc50575216a8eab473da7039077aa0a10c
MD5 d78ff3d558ebf4117157bc45dd1fc81b
BLAKE2b-256 4f6f0e433cef491de1645c92a300fba6b4407670c103c74af366db813dd68db2

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1307-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1307-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b30d6e3af8b613f4f5d86f47ebf01e4077c929eb271c2da04b819c01449afdb4
MD5 b6d049912df98a1a277a8ede060b405f
BLAKE2b-256 e1401caede9866909113d7223f0c8d8f9a5dd47169ee2a649ebf3376ab0a260e

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0a1307-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1307-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 984760d51625561370c23af4033ee94ec1e2655e22526ef0597a78e70d589352
MD5 b7136a15912930901f584bc6c1139f78
BLAKE2b-256 6eda20943583526374c73b9f17e017542400978edfc4eae19126d911dd54c2ea

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