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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.7mWindows x86-64

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1301-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 fc52f71d66da3514bd35f8adc6a56e61ef7ad5b2ab71c24dabdd3f6b16973c0c
MD5 a12b8f7da6c733d005c1d1cf29fa1687
BLAKE2b-256 dc8a535d900876566ab04c1165e61c8e6c852af6c7016efdd45b84d13072f4ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1301-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5cf370e9bcc8dfc52236418ccce3025c9b0659d488be6075a3230098d5d60af2
MD5 a69e403fcb5cf7e7cebcaac1bb3435b9
BLAKE2b-256 4acaf95d7626d5c5d26b894c7235818356bf5e5d29118255dde3f0b9dde9b8b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1301-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 05ddb4f410048d584d252294579fb19eee31dfc7812dfeacd29cf434fe80da47
MD5 7aeda001a75a15aa5f66bd8a40de4fb2
BLAKE2b-256 e854b18e4efa614d43077c71f5dd898e8fe866b6b3cf52188ece7adc95a98b9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1301-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 231b440dfe9f0d36e2db93f3f40a2e38936648e9d505e783ab59f294fae8d225
MD5 7e4b3960feedcdeaa0523d7f56bf17ea
BLAKE2b-256 1f9ece3cd03aaa5bc721c561b46090b2c28fac22473db9a3e970f418d805c14e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1301-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 91bb23926b2862bb20ff4eb44d1f251bca30f8eafeaa37fbe9f586e9fda53235
MD5 c715bee3cf2f2baa9343ddc976f3ae74
BLAKE2b-256 8dc7b9c91c5ec34b80a8f7eaaa79042d67d26f73db9acc3e4263b218fa94ba23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1301-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 75620b7389540fbc1d6a5ebc6371b6bfdbb546fe8bf90bf7cb36efaa4ca7052b
MD5 1413075cc0f7191928bd830c43be2720
BLAKE2b-256 c220ef89e74a0a431a9106be75ac3489219549c48604bbb85df9b88ee0e87e62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1301-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b9cc61000a45c59e07c351bdc2e73a9aa37cd75ee35bab3df1bd633f4b0c3211
MD5 ac29e8ba2b6319448e578aa9a44cf450
BLAKE2b-256 b0bb2e8ef318ea464aef7c7c4c7928c681e1228475f17e52e00bba16872cbcff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1301-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 354240bf74055edfe9b26ff9c011ec0024a99a0bad62abafed8fca27d6f015c3
MD5 b80072da5d786d47f8d4d232100bd27c
BLAKE2b-256 8e2849b6019f86e81bc0fb5d8effce1eb60c0473f59c6401b3390191197d0e57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1301-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5a552c52244a6a0328a92cb897850b4a50f96d3d46f9c877b4e8f26a28da6076
MD5 d4e8f9b4775778f96ebb78233dccd456
BLAKE2b-256 6405489a97c7d098483b56bca31c6895b1d629aafee823556029eb5c25da3656

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1301-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 aa202e879def51990eda9327f359899579c992cf8e5836b7267d6bc666c5635b
MD5 87321936332e26f80f49b7e9a6a850bb
BLAKE2b-256 d4598daa868f78132cd7032169a8ed405bc1dcf24cf24e25d915b388f92fdd18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1301-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 067975f64cce22b0c50d9349fc38aab1453e1c2d63df89f29ecb295e0782a9b3
MD5 82e874e7d0d59a161e695d157fb762aa
BLAKE2b-256 54aaf5789d5de9d95fe0e28637fbea3876079d9e43070f43aecb4deaa84e85a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1301-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 03668f9bc7e7d2b7c42299392c5ac9ed624c19876faaca25cbcacf35bd3bc56d
MD5 1c07a44c9eec0261d4d105daa9043457
BLAKE2b-256 61e6b79398e19c3a91cff946a245894964bffed2a7197a39544e65dba5722241

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1301-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4c75dc09f7953452c81cca140850f40a7d3832c0b3aa5445cbcf4e532ebbcb75
MD5 7776344c190737609b2eae88b8aef789
BLAKE2b-256 fda86ea8902f56e039a8a07550ea4a22f9edfd181994b60f6338a3e1aed155e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1301-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 301d4cb194966d67e1b013095641b3d2983133828c2ee8b1844bd4493441bfe4
MD5 1f7f42df50b784438180853d2b911f13
BLAKE2b-256 7c7251620886d08b53c60429912171268ad0c68b30674c383685766f6b3dbdbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1301-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 cddff77e22e3a7ccb70913a43b9727a38595987cd6caecb8abab4fd37356c553
MD5 3d619cde72c3088bbce9e5ce8e6584d1
BLAKE2b-256 a4ec8da3c3552c2db58294c652afdc7190a3b39b1b700be0c0f1f613826bb23c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1301-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 057ee2d17b29133966ba9bd72d9160548315aa720e4c70ab19a8fa0fae7c255b
MD5 8d5e59983a77cf0e4069b99e088a5c3a
BLAKE2b-256 abd160c20dc994ce3118ea165c873f561b18349cf575a13f2757f7bd62f1e5da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1301-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 28668a7dd21d4967121a47cf5bc85bacb7bcba7e64f1569ac5bc82e8017e1633
MD5 1a88cac06b2c65dad6d400ba81be0575
BLAKE2b-256 603b4b95c022efacb1c0f9865d7230cd9037ca66cb3fee8b36c73932e0510098

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