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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.6.0b1317-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.0b1317-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.0b1317-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.0b1317-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.0b1317-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.0b1317-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 297fd8fe6742acd836e4708a156672722205f0942c3a2e291ea884694cb83322
MD5 b51fe3e3384c1d1850116ff68ce068cd
BLAKE2b-256 7ca36f0625ab39d913cae2ecd5590d3e272c9e4c2b2643dd298e0ca08aec338c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7e34eb16e60d5a6733894e0b335806737917445abf303b85bfffeca552583d36
MD5 834262f331c116af1076aabefe74476a
BLAKE2b-256 8748ec51fbda5d3e2304dd74cd48736b4ef832cfa07b98d40323eb117b8b50fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 aece8753b69c88d22bd1ebc4677c6527f0440cfba57d7df64bb9b26a69839282
MD5 0f382ffbd646c4dba4df8c29832d2ff6
BLAKE2b-256 5d1ff49f6dbf51058a56a7268c8fd26bd34e9b697b632a6d1b9127131665eaaa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6f17b2ea824e5765533d813e247b51990537874bffcc057b5d25bfe5b9b2e257
MD5 403cdb83856dc5f4065bca3d9d67eddc
BLAKE2b-256 d95712d3d125436579177c05064014294962d6385d22b8c20b2a9a41b9e42d71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 eb4f2766445068159b1a0361af3ac9fb935451ef970d51692b1ebdf34d32048f
MD5 f44f6b6df39ebd46e270b934d921049b
BLAKE2b-256 5f0f691cdb56bf9d126c47cfbd277431e8a072c2b3f00d68b9848aa175510948

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 9eb9596f01d405ed6f6c615b1e6df85916d2d910009bf75a69a5363bbf9b44d0
MD5 71c796720ade18cfb4a45790fd14d9b3
BLAKE2b-256 643ba380901138e5d6254e2d56152a3289ad13436c25c804e23d7bba1fca9444

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b47c83e5f9b63e97cdd00861ab084f623057ce1e5c74594cfd9780a6ebe0c389
MD5 a526b32e7c0989c649c2b430058c69f9
BLAKE2b-256 58e1f310a59c4d961cf6a2a9470803beb5ea472db4fa807e22f3d856121224c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 19a588a8ab002c2fff070cd4f545eb4dfe434a47db55440c5116a60bf5641550
MD5 8de0b09b17de3efa020d682b2c4a9d54
BLAKE2b-256 c92fb9d2433fb77c8b473638f54508f212de9062bc589febced0cf5eaa703805

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 17cc442ea52869f832dcce07fd3f4757ccecb208b0b1aadcf24e5242d9586206
MD5 7c5daa8e3cfdb009a9b0649b3a295b0a
BLAKE2b-256 80dc8195d0556754233384fb6c79f90d1fc26fd41b7990a42ae1609d259ac55e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 6f829648772ef4be3cfb29a5ff119e40878d8e292d20a161238c2287898ba257
MD5 0c7d85c012363fb303c33fa54b48073a
BLAKE2b-256 26a326ad73de3f97dd1c56ad1364e3ed0d7c332cdeef61fb3f9e19b863e5cdf6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3dace1c82844f8143f45c66126bc154f1aba69012add10061679f8e34c139d5d
MD5 58111ddeac5077a9da60a5e6967028e3
BLAKE2b-256 f26fddf42e67a6d72af761d2e2bc4bfea1425f7c4984da6758340e5f36dc8bb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 26a6562a8390e190ec4946fb21def0ab69c327a9cba0ce549a80e1ad7ec63e93
MD5 cf87b1ab99daa52f7fa7bdfec7ec5b3d
BLAKE2b-256 ef4fed72b34b0d7b7434c5f2e2f808e0d0ffaec2df07025db238cc678428c32a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 600e5c9f09fc021d433a0a6b5829085234a0890c5b0f37cb9dc3366e5c84322a
MD5 638034cb228b1857e2e30cb15a2614d4
BLAKE2b-256 33c4258a195bc1c33bd9346ddff102d0de26c0ef73510a0d11c10c6e46afab3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 3721c0c40cddbe4442ed0b9190f81ad20783b65acb331785b2779987f421cdd2
MD5 9ab94612bd7ce8037c4ca1872342949c
BLAKE2b-256 dbe677ec0a65995ea8aac111d04cec77205eab0fb1119adc1fcca83f65d7de6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2c7942d74fe4a3715f4a6a24254521ec6918c9e2256ecaafab5b5c1f26cede54
MD5 92ab45a246f60707bf92d2d6ceeb26f3
BLAKE2b-256 4278ec237c25d5f22f7e35eabe1129906884dc5f40c384ef8a9755758c7720ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e1d76ea84e820ba2130736017f005795231a481bce37dca1cdc5d9a65cc3cc35
MD5 207b7113607711b3e20b95881dbe28d4
BLAKE2b-256 9af85b34c60250ca022ea7527da1aed7f60d75034404f54132e9f279c132d965

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 e74d09b3b415b54ba232422d717607852517607470df343e874f5906f3adc00e
MD5 4668b0921a073eea5bd68237319534bc
BLAKE2b-256 e90376276f73f53eddab1e7e2cfab99562db6a370b3ce064dc867bb673f12b0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 77771468b3c538b2766d637dffc9f3dc63d647501c6e85e394d2e8ca2d3f15ca
MD5 567606966710be81f2644829ff1a5e06
BLAKE2b-256 1f5e00816949ea5558498c24c9b3b8db98f7a4fff81190faade97e5faf0e3034

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0b1317-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 51d888196f10a0dce5cde65d5f3750ffe179e0480f53dddc45709d2ad8d97023
MD5 103aa6c3d8c65e041752bccc4dd04581
BLAKE2b-256 0501a6dc98d77b96eecb60ca42101c9b7221d061688e86f55c82ceb31474a36f

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