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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.7mWindows x86-64

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1712-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c1e41d0e8aea2b08a701c17708231f252170a919505e44445e8a30a01991d9b4
MD5 2d5c7cd04e4b206c108f90768fca15e4
BLAKE2b-256 92b04c6a9b1d9e8c6d4901f658027d6e8c76783d329b346fc89d7bceaddaf997

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1712-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e3fa48f6f4b616b36ac2f86fb7304c587d80755305eb7d67b69651fdaa612a34
MD5 5b5dfbccbc027573c8b74f57d9369418
BLAKE2b-256 7814f41d9648b789feea1ab96638e2810f0e8e9da7fc2dd2e2361bd4f7acf9f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1712-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8bb4a0387001b9765069132b68f6e5d5970172a6695804e3ab46efc9f37fbd84
MD5 fbd2169caa3e2b3a45fd7c8eaf7a0b10
BLAKE2b-256 36955431b680bf6f0b6c909cb19ca8d73d24daaa62960b99e1a258510bf3a0df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1712-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 737c2a63202307a30e880399ea8be83a8423dcd6b8d00af790193a5818b6074a
MD5 977469e43a9c6c25b14358f514f4f502
BLAKE2b-256 bf898cab199690c00c32aa7e4be58613c1991bea98fe210d51ac72f7793835e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1712-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 329013e554f3246f8a4acea0139066571c2389ccda39a492b2be51698170aec0
MD5 4618cd66523d880584a95ac1a8ec8454
BLAKE2b-256 aade249ffe482c557a7a7968ba5fb26b7061bafeaafa8aafbc614462ebf9a020

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1712-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3bf97c2d4c7e9a54a41f0e3da3bb0465ba55b4b26ab085a6ee99056d98983f01
MD5 4ac336036a47ace4c4aca260d7c01ea1
BLAKE2b-256 219f41d6d4f819786286a0429933c7432d1fc348fc6201dc697c7aabed8f1a1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1712-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 7eb3d97a04c428a8bf6d2283b44c609a0b615b6c0602b16360730e5944a576e4
MD5 0ce2e5665695b2c6d49f9e22c49fa2cd
BLAKE2b-256 49a42a616173e9316d429de9466a4e23daaa08e337e095d579d86da238f1faa7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1712-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 aa7c4acb2d710ab8a4ad27ba4b5a214a208d77dd1be570ef050b65294d74d843
MD5 8e25e5e172a685a512f92e81a3c7db70
BLAKE2b-256 7a8ebe49e72d3e7f1aec1d6f3ca59c7f74f2debe1aaa6c842a81fb90151b2492

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1712-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0dd7ee461e1601a93d9ea7577cfe8eb222d638f132378e3a8a70f440836bbb0e
MD5 b5cfb7c5f98126f05473b11373f7361a
BLAKE2b-256 4c01c84ddef20a1217b6b9373ac7bfaac3fefcdf7cad44c141cb76928f74cd3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1712-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e9ed622355b59819957f984eea8fe5de5a0e1e2b45876da5c4742f10d84b1937
MD5 9a7fcef54a8c034b2bed4689497abfe6
BLAKE2b-256 b3fb04c3b3d513d4bf173258ff482d6304fa55ee02ffcc3ebde1cf297183915b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1712-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 da95cc9d58aff4a38770201217c25f2822c29bce8df1eba9c7f9c44a92592b1b
MD5 36f4437737239e6760f3b19b39e6d5fd
BLAKE2b-256 f5e917f54ff69bde902830c76ad8e8284badd18862bdf43c1046d4e7b44857c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1712-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 cfe6312067378aed4ac28d96f65a130112c30ae5724899c69d39401bffa80eef
MD5 5c39994ead992b5bb97146d3af59debb
BLAKE2b-256 2d7d98287e03d47823d3132114c2d8e3ba280c8149dba5860e8049a372293d21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1712-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 390572e28e8fe41f422913fa0cfe16af0e7c6ef8d5e2ad9ecc8bf797aa410546
MD5 b0a7e01f14faf6b38cde26742aecc41b
BLAKE2b-256 5572a18ead466973b78baa748c86f3012adbc8c1351ad3a9d507763b89aeff76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1712-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f4611a414740a39ae65465a2345229155a066d4a110914613b6ad18243193710
MD5 6603520227c54e468868181817763c7b
BLAKE2b-256 e4ef2767a303a6f6a96e97bb0316bc602c147b61e48aef6802a110cf6f487855

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1712-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 0bd52f5bce8c072a4f1482aecd61f91c361aa9875874cce5ccc9d7f742abc3b4
MD5 34e40286648433c20b955384c252c2a1
BLAKE2b-256 eb27a83177f0225a19d1e486defd3294770d79b54ca89aeb60c0796e9c3e0fd0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1712-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b9dd25bc2cb7743c9d8201594beb66215db778ef75e41378fedaa09a4bdab577
MD5 d80b2b76633419aa989c3898bff2c6e0
BLAKE2b-256 074e33571a4e3654202678a6fb3929a7dd521e1343290a424eb6839e40d52672

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1712-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 49b89e592bdc6ed822284c88d2b47d14210e5ab51ef82fd76eef60688d504232
MD5 d22ea3087e56222fddc4ef37e599369f
BLAKE2b-256 5cd7ecd15143913b2105360cfd2e83ef9f9291833c1d013d3571c940e00a37a3

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