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

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.7.1b1331-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.1b1331-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.1b1331-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.1b1331-cp39-cp39-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.7.1b1331-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.1b1331-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.1b1331-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.1b1331-cp38-cp38-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.7.1b1331-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.1b1331-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.1b1331-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.1b1331-cp37-cp37m-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.7.1b1331-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.1b1331-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.1b1331-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.1b1331-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.1b1331-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.1b1331-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 992baafc5de35a2f98e46c07ebe4a04d3a1d86e0673bc335d00da6d7ed363af3
MD5 67bf57a0fd40d1f2844bdecd331ec933
BLAKE2b-256 16f95b6c8c398482924254aacdb235cf329f5db1e93d1a635a3415aea0234992

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1b1331-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d7af57f3fad6ea5b1ba18030b19205e0fd61ec9666346fa658d763781b1eb0a4
MD5 629cb714d5168140f62904aaf0158501
BLAKE2b-256 0f33fb3bc93eaf16ae898fd75c1340cbc1fc138b420dd19a6c39d19240aa74a2

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1b1331-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bcb08c241089596371998e53b8caa827e28281862a9fa718dd9c3e8cb5856df3
MD5 8a15c0e2153ec00603790bec2913ff7a
BLAKE2b-256 ab6e7807b42b4b22291966cbc6f6cdef39d743ba693fdd2ebbc5e983d612b335

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1b1331-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2a9eba4439a8b33fa328db8ff37f6bc3d16a0989c0a9d2003f0357882a41bc63
MD5 3b4a2dc01e33170fca1b8f3d51e10791
BLAKE2b-256 e70e33436fdd399175858625ae0e0657aeb82be70c50fb775aed0b5aa908b89a

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1b1331-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f9f6f9844d2260068a360c8828de0159ac78be28df55974d54f003647f464d1c
MD5 a343f7f2c1646bcb9da0b814168220c6
BLAKE2b-256 68fd25883c025570e2726384c8550e90c1d49d123257083c68d8d66688479b2f

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1b1331-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 7182099165eb0ad2532bf465182f9a85d5bd0c0b7368eefe9c03fd9b7d8f663b
MD5 3d0476f875f4f1f77f55e3171f9fac2c
BLAKE2b-256 33c3f64c31b2dc52d72a75193737ec78384fe8a2bc4a21e9ad99849e088dad7b

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1b1331-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 52e0b216b23a33f35b0bacecba4d51927f1996b4b5b224c2509ee0d9c9a68c1d
MD5 60bbcd051fadd976ba01b9209e6faade
BLAKE2b-256 ed6256209fb82321a562b391ee45e1fa86e29faa88b0cd650ce2aa4695a63798

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1b1331-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d659a2e6f9cd2bb249a3ce51e6474ad32f11db0d2ad55fc4af7e8c20f2007907
MD5 7e4e92117cb11465738795c5077f5171
BLAKE2b-256 4bf5170a72fc49fa61ecd6fc5622e9c65ff9620f475e30b0e6d21ed151bf7865

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1b1331-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 ca31c8af684c434b6e712c612556c7b573497dbe3a1b13909c1d3ceff5b5aa8d
MD5 2e32abac34bd82c45be005557a37df0c
BLAKE2b-256 3a7891e64ca3043ffc5b28e0086244ad1a05161139b7cb8253b847902b31d86e

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1b1331-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 1e00423b8e5eb325369f8a9391465e0705df8bf04bf8652040140a6b02423886
MD5 e390eaefcf150b3e02721bea8b0032a6
BLAKE2b-256 170fae269955fd120c0421b036c2091f3b28976f8abe2191e802174fe03262eb

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1b1331-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 304407f16eaad0e93183deecef13582228fe040243217f912edc51c971b6325b
MD5 c5a1c0c3a6cab1642685661e91915cd4
BLAKE2b-256 cb2cd380cd52f7d28abb1cdd46638fdaa5ab13a5bdb089bc7539a2a9180ec8f2

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1b1331-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7d244a177ffb04d1b82b70bdfa3805fb3bce362cce80009d4c6ef45a856322e0
MD5 3a85359eae3ca0b4544416e0b08fe3da
BLAKE2b-256 d5b8dff23db1ae5938bd41e7351e86aaf1de85f0d9844f2ec46df23a463efa49

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1b1331-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d58385f449e4a0852c783ec13c5920ae2495f389558746b874a29d0a9eacdbb9
MD5 f509ec624f929690d9c29d923fa74f31
BLAKE2b-256 bfc5cf6c0927bddd9a9954d9abb42fd790c1054c73d54acf998d06e77c456e19

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1b1331-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 e66fc9bc45b781fbaae8b58837eb8bef254b49f57ddd51a460fcba1611f18bdd
MD5 51ffed1d3c1e96eda32c530addabf1be
BLAKE2b-256 292ec7b076c585ecfc7b03e3d6a87e041bee4636283367e1d73f8293ecc06e28

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1b1331-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8a09fa2910ca1755456bf03bf2221c100d890a6653c41839fb2d6e2a09dcaf87
MD5 71a9f2ef97e559155999affe1617117e
BLAKE2b-256 4fb49842db11b49aee535d16f66e9d469e71d5169ec361b44f528c167177e9f2

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1b1331-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 642897f0e40aa16ee2c78c14b9dfc3f210dba50abbc4b745353a56a535c38e59
MD5 b41096a03656c10de86485a2c6d3f472
BLAKE2b-256 21f36920cd2a9bfef3f81728c21cfba774d07cb759ba157425108b11c617fcc4

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1b1331-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 30820e18d672b7aed09e1ac67b998bb43e50ffa7a7d5618162351f6bee388625
MD5 0faf6baa145ceb960f5dbdd8f8d0cdac
BLAKE2b-256 08a3ad0f524bb08e271862c86208781a832d36d1387a4b7c855fba5a01ab99b1

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1b1331-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fadabdf7d32a69c3c629622df3e6d6f41872a53153c64f7ff1a289c59e665b84
MD5 405354fe2ba395585feb9d5df6895deb
BLAKE2b-256 0ee64ffa7af6829f89355811c2cd1b541734f027c793f89f52974c4362199457

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.1b1331-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.1b1331-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 17b1a414c3fc7af9b37ed808891dcab7806d4e2b2e16a1bd21fbec68e235b986
MD5 b605662b21d498ec5c1ffd2a9318fb09
BLAKE2b-256 f044f8ccc90fc281fbc294bd01312fe8d0cf7ff24801abcd278b63c0dbb75654

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