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

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.3.6b1293-cp39-cp39-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.3.6b1293-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.12+ x86-64

virtru_sdk-2.3.6b1293-cp39-cp39-macosx_10_14_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

virtru_sdk-2.3.6b1293-cp38-cp38-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.3.6b1293-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

virtru_sdk-2.3.6b1293-cp38-cp38-macosx_10_14_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

virtru_sdk-2.3.6b1293-cp37-cp37m-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.3.6b1293-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

virtru_sdk-2.3.6b1293-cp37-cp37m-macosx_10_14_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

virtru_sdk-2.3.6b1293-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

File details

Details for the file virtru_sdk-2.3.6b1293-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6b1293-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8b7112d46c9b6fe69089abaa631c00658591b2d279c528517e68a6f71aeeebba
MD5 29039c64114280c762e5c7651de83f25
BLAKE2b-256 4872498dae9ab5471e3360df6d28dd5910ebc5a33a78c36e45447587bc421f09

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6b1293-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6b1293-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 3a3944f4b35a72f980c398aaec5223cbdd452016289d2b716bfcb1f24df0aff2
MD5 a96c112fcb9ea39f2f069cf9b6336a03
BLAKE2b-256 73f43e8f68d1c424ba275c0654b49d2b2a1e877fce5c1a2e2e12ee726c8c6cb0

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6b1293-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6b1293-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a2ec0cc65b96ddb7788291358d203d0a9b7f7ce63be7f47afd6874135a5d0346
MD5 55fe5c840fb1fdf66e48bf0c126081c6
BLAKE2b-256 d54f0c49fb89b24492e25b7b02fa7a1c0fcb5e9c3358f5313dfb3be273494f52

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6b1293-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6b1293-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 fe4d5928e281e4b681bbc97f11b7b386b1d8fca2cff3872855ae9dcf34148d3e
MD5 568b7a82a2c42641ffbbf1205751ac48
BLAKE2b-256 edc6f8b9280b8b7a6383aee72f063427bffb043aed5e7327971a9982b6f4d0f3

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6b1293-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6b1293-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 a15a15c91cff02e7f1a40b73052a7d0c9e3fda15505f1aec7c7e06ed59c9fb99
MD5 85fa039b8819c7be8257491000b02317
BLAKE2b-256 3d4502e21a4abe9369ed9374d608f530ddd92c079942194c73f8d1def888e1df

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6b1293-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6b1293-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 59558126e0dcb903daba1ecb494ea9abe264c744d67535c128ae72219025eb03
MD5 8987ab11aea7ec981e8bd81f84ef342e
BLAKE2b-256 5c4bfa2a5fca9f60b9732a9a87f53ce97e57de4264a4f263e2533718f63177fa

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6b1293-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6b1293-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 4a969f6baa7a10b766e9ca76789606b358a03414ea3de76722ae46236f33eae6
MD5 2dbea57861a7b6a92b399fbe874c045e
BLAKE2b-256 5347bd86092ed4d5bc6cb6a71a6092a99eb676e3ab6ffc380e61ac54b0c9adb4

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6b1293-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6b1293-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 5e79bcd1d0f2d6447547ad3602f8bc6ad74a8aa12e7d825aa4866bd848d3e90e
MD5 6141ecc10d1203389bede65e28876e5a
BLAKE2b-256 9394ae382e1ebdf13189934ab90e0399a61cb9f00d2eea199977e3d6f5bd9314

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6b1293-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6b1293-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 cb230fdd62b643c57340684ad83b511d7eeb487b4d693749ff0ce98b1dea6cf2
MD5 85de6354e50632c31c75ae93096d1ed7
BLAKE2b-256 6d1df405d09c926bd30a97ee212e4c72089581e427af7b68f8dbdca3bf23a776

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6b1293-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6b1293-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2175aa5ea9baa0f089621424cfb018c79bd2cdb98673b3c03e75abe2ca94aeed
MD5 62d63399f9d68d48db5416edc6663833
BLAKE2b-256 7b9396e2482b39ab7ae0558e649413710fcfddf475a32bf39b20c8b051a958b6

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6b1293-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6b1293-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 37ae73b3321a7fb16ea2e2c24456c83c7a12125c050120ca93e52e2695d89e54
MD5 5fd929775362322b4749f2c949d1a3d0
BLAKE2b-256 3b6ec9a3d5d3462c56e6ebe34137d482738548ec6f05da04ed80402a154e3378

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