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

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.4.0b1305-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.0b1305-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.0b1305-cp39-cp39-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.4.0b1305-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.0b1305-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.0b1305-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.0b1305-cp38-cp38-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.4.0b1305-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.0b1305-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.0b1305-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.0b1305-cp37-cp37m-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.4.0b1305-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.0b1305-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.0b1305-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.0b1305-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.0b1305-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.0b1305-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1305-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 84d2e80e0110a26d88ad60eaa130984a9161182d567fa642f7373e6144670a77
MD5 608517e7fa31f993fdf871b265d98363
BLAKE2b-256 8f123a35941d1199e44ac027d703253e3dbd58e951bbb0cd208581584c703452

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1305-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ec42a01af57f52e45f67742bc533b0afad02ab438e56da15bbe46c64c98f39c1
MD5 9d37951918b997fb32dbbdb5cfc4a63b
BLAKE2b-256 d00c3343837e1f2066a142c65719d27526cd7142534eef1463962ef6ae7f87ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1305-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 892da91782a558a61ee6ffc2495379446152f018ce5d0e3760f997f47603b275
MD5 f2704c1eec9b16e13b1abb785a2b26c8
BLAKE2b-256 2cbe29439d672b7336fb3f37937703fbcddd5ff01bfa15058e8f3cc57522b598

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1305-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 949bc4f7430bb1b50c3d59c65c40af4781d5b46f85bd8df399489b6095043faf
MD5 956f73c5ac3209535a9a5b106d6c75ce
BLAKE2b-256 3bce881da4445a7300b9a484b5fea655ce65b37eae84a51ac972c4beb94fe0ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1305-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 815e0b31f10406d6e87a8f3637dc114ea26c84fe5f6ba110769c90287cd76ad8
MD5 b53a55e4179eb16b070b9d3e6788fbec
BLAKE2b-256 f618febce4f526724c7764f592b9e3efa1491e15d8acb81b18157d5f394a656e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1305-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 616693591009452fa46492f2651ac27d9eed1d42b0431ebb721d86ae6690e7e2
MD5 2d27d349a806e8a32eba9cff12b8a769
BLAKE2b-256 7a40fbf76a85e4278e49ade13bb6aee1a0c4e021d948dbeece96a26bb84102c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1305-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 165663f75151cb8abe89851101fe218d5a834e2f4fa648a338bbc41f08ec3faa
MD5 ce7a8ccad38f541bbdf0dba33cc77a69
BLAKE2b-256 8c9f67a1cf5cb1161354f8024be279d7ddca7836d610207fb3a9b1764d010f21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1305-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 c4fd7e86ddb86a824029d3c574f18bfa34ca578f037acb320b7105cae9ab783f
MD5 feebf11cad3f5fd3e4de7fa159a86ea3
BLAKE2b-256 d127564df084b2726fcd76d01f04f535e128c2e3c67e81aba76bd67bc113f740

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1305-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f6b5dfb601a89afbbc31629c13e3b3434ecae535efece4630904f593618c2799
MD5 79f906102fa30aec667293aacdcdced1
BLAKE2b-256 0e4a70124290b09ec2c9c243d0b668f4a0ea6ce967a215d18715f4de281cb981

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1305-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d7e067d8d5fbc34333eb6c4653058d0a66e5c434f2cc18282a4e2bc42d3e99a6
MD5 34218ac0d0442e826c46f7501a5d114f
BLAKE2b-256 66fbaa942c43ac16ea0d820264d22a28860f4321d790ec4e3a7f478dfb370160

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1305-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 edf7f2302dd223c6aad203af7a3497f766bda036dc6629d76706d0fef9a5b4f3
MD5 4f3a8b3d879725bf4b00fb013fae1e35
BLAKE2b-256 f27eb03334c5f9358c3b3db2a2addd39c55356caf303e6afd12c7474e2059e53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1305-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 bb6b2ed804b0bd1992051e726e73c31079145f75926dccb295adb2c0c6ac4508
MD5 571d7515b424af58f9b93443a310eea7
BLAKE2b-256 ac4a9c1313a7afb99003ae7b6946a9d3ac5a319a5e0f109152d81a77774565f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1305-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a199514bbe7e2fb580d230428f64145cbc2dd7b8de547bd6a5d6348c2ac02ac6
MD5 bd7de30ce61a79eb498c2e14d671f683
BLAKE2b-256 84a79279789643caecc6f7f40231263dec8b358712950e798a329308f9917073

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1305-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1e1857fff9493d309432cbf268c3adcceb9db7fdd20104f9cc2e5beca6529886
MD5 5d2dd0ea02ab8098f45e0362e10c7a40
BLAKE2b-256 2de1edda3b0471375f83a4cdaf306439d4485d2bbc5989c665b2ac4c4235eee0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1305-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 01d273e1c3892bc0d3b59832888d5f54c5c2f320dd56f1a3ab8d898299cc7926
MD5 4f50e37f32cf2853c874546b81ba6afb
BLAKE2b-256 09a43439af315951bea52a051b871a2a78287147515457419c47dae7972863ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1305-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 278052244b95edcbcca0e6fed3b36759de4f1e94da097f15ffe3ce05f54a43cd
MD5 0348cbda959d48a5d25638e5a7471a97
BLAKE2b-256 607486bd0a3a1b8fd31403c2bb7de79cd898a6a69c136a0ff4ef3fad22502f75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1305-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e2269c64c6ed2ba887ef71c644af6c128b27ed2ce9cf63ee31b40482478a425d
MD5 5c832897695091389d67b607cdd6bdac
BLAKE2b-256 7afb3d53082500b898635943671dc8bfe7c5cf82287f1ae1a2ce42e7f5186924

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