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

Uploaded CPython 3.11macOS 10.14+ x86-64

virtru_sdk-2.7.0a1327-cp310-cp310-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.7.0a1327-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

virtru_sdk-2.7.0a1327-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

virtru_sdk-2.7.0a1327-cp310-cp310-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

virtru_sdk-2.7.0a1327-cp39-cp39-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.7.0a1327-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.7.0a1327-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

virtru_sdk-2.7.0a1327-cp39-cp39-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

virtru_sdk-2.7.0a1327-cp38-cp38-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.7.0a1327-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

virtru_sdk-2.7.0a1327-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

virtru_sdk-2.7.0a1327-cp38-cp38-macosx_10_14_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

virtru_sdk-2.7.0a1327-cp37-cp37m-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.7.0a1327-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.7.0a1327-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.7.0a1327-cp37-cp37m-macosx_10_14_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

virtru_sdk-2.7.0a1327-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.7.0a1327-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.7.0a1327-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 e9b1b2d5e124e0b81650e1776f02db15cd779799b524ab8b0bc088901c3211c0
MD5 73de96a000b15cfeb0852955897a1283
BLAKE2b-256 cea01e0240462eff0270615e3e4b7d91357fe292909ac9803b0027ecfa7eaec8

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1327-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4b7fc0b9b158c3b64ce8258380826a8d29816e7e2016e670599fa844d4c3ebf9
MD5 b38233fbdec8b127ee76a26f04f22c09
BLAKE2b-256 5bae15e865318704a488ddec499cd4569a813cbfa3d2c79503da0f40fce61457

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1327-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 37c201c6c445cfebc72657d146b0b158e8c7fb521fca874c554c22252edb689a
MD5 87bc5c8a8b05381cd81312d3cc82c2e2
BLAKE2b-256 170586a6f18c0558c42cd1ae14940dcf76048c014be21acc00d5290326206d30

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1327-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a23565e36811877e1c8f539f104c65759d4adf6da24631f4f4aa95f6f5047dcc
MD5 9c58b1effaad6ce85ccda2dab4098d96
BLAKE2b-256 44f16d3d528f74854a62361ac6e2f35399f841d9285c85e28f476ee3c664ddca

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1327-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 bdbd7e0ef73300f68a21bff7db4a8c91aa6bbf46f3188f56f01fe29c1ffa3223
MD5 a9b3e4551d7145cd56273c0dad209033
BLAKE2b-256 eba261a7ccc70757d826be7130dbc79272e7d40786ec8ac709fa90d7960ab832

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1327-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f7c72185572596d78c4db1ba6c94c7fcea9f797c0ae8416eb8a182cf12c1832f
MD5 375bb01861b5ab461f7e1ca9d50b706f
BLAKE2b-256 e5f16bdeef7abc1fd809906de13ae2e01983bd4814a9d821458bba48f1e366e7

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1327-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 92bbbb1eefbfd7033aef224908525d8b8b693f01833d2560d782656a6aaee247
MD5 60302f624ba4081afe3d3fb889f31329
BLAKE2b-256 4abb31aa7d60ce58491a7192b1f478d0a7c74a64afb06d0e52379c5b80307434

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1327-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5f3dcbc50f62984cf5893abec6bfcef84516c17a348e4c303899ef11214c7f6b
MD5 12f52f7ada38082c3a3f32d359f238ac
BLAKE2b-256 02c45402ddacc513ff2ed430af5bfa760bbb2514f706d3737f8361254c5855b1

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1327-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 bd982003add7aba4d7aa96fdbc465db3107ceeb378cfe0e7cd6318433af81d21
MD5 c0f2396ffdb6c95adf8e138d7d00804f
BLAKE2b-256 1c83a170ad6283d42876a083421fc9ef35ad919e3de3ae10d81f07a23abcc951

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1327-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 5e2cefd30bdc4eeab6a7f2dfca3d471596cd4df16cca535c41aec356c4a90b1d
MD5 6645f40874fe50e20109b9023e626d67
BLAKE2b-256 f2776e9b0b1261cbf3d3c7ea05655959d68e7d58beb230fe1982ea2b46c01453

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1327-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cfc4ad85b9640e72441c87a72b97c3ac4d8d2e88458335376f84b33981421abb
MD5 e6208f8432dd3b64e3d78a198c5ab87a
BLAKE2b-256 fc0822ef88ae62f0f1553b89909985122d82911d47302834cf7b5d9a15a8aae5

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1327-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7b262d11d56b3f988f5afa20b7f5f35b0ea4c2e79bb255eb317ce5957ce15160
MD5 05dabc7298a2a562db7e06ac72d9ebd6
BLAKE2b-256 b3a0741f6fe64ec43b52c7580ca40a463a9aad3e0405110a4011d82e747b9737

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1327-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f9c2370f18ab573b35e123efa94528872ca17a98eae8ae24bd48a47ad77eb4eb
MD5 ac2dd5fd9e9629cd2321d8bd73c1453f
BLAKE2b-256 5e7137f6f92980f0883d6b0883554c95a523cb4b23c659827612e9517c50f5e6

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1327-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c3ed07f9e058fb220d215996bc9e69a576f467e72b90b926a26a559951f9df8d
MD5 e6e75db23240372af16d3db17d8d9b5c
BLAKE2b-256 188977a9a21829d53e9af7a501cae630f4de28f5d84302defea99800792bd257

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1327-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 22d831eb4423e80623ae893b3f4ed48a3fbd09a6380b44724e6324db74988ef9
MD5 f4ef0dd4088947f9d36ec650bbe4187c
BLAKE2b-256 8a6b2f06d1b326bf6a772f5c84982e1091b20f4c5565e72ab963b23d92c8fae8

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1327-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e1208037d222cbe4ab7f3f4f733f3a05335afa306cec089a2d90ba1cdf67c507
MD5 221a07c7f2d1835d93abbf2943b13957
BLAKE2b-256 05720bee21b6df065539de1fd98ab84b6ea8ebd54aa7696167627cfe010ca631

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1327-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f0b76b779e116d987837bed1dd7437a207fb98b2ee86ebc1fa19b2360a817dd0
MD5 81d172fc572796d96c055e5f8256424d
BLAKE2b-256 9cd01aca0ce198a0df12f4599bc4aa3869a829b13112d9985bcdb8bea08e2d74

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1327-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2da207d1cf1557f6bec2dd8e458b49aeb081d59ef366f0f4686d27a515f5a076
MD5 a1f82419e01c0b30d75fc1d310cc9738
BLAKE2b-256 10baefda3076ced7061c0bef02c06edac9108d5f484b6cc0cca0542d3379f325

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1327-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1327-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6b825b777788e434fbde4ce7f3928fccf4dd6e533a3b4bbcfaeaddb08182b498
MD5 fb04274365c0f9cc5b76a7dfed190be6
BLAKE2b-256 11f7f872fd0d867b842ad31fbb20e3759784545d6659bf4a0fa0144a897d45d0

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