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

Uploaded CPython 3.11macOS 10.14+ x86-64

virtru_sdk-2.6.0a1316-cp310-cp310-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.6.0a1316-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

virtru_sdk-2.6.0a1316-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

virtru_sdk-2.6.0a1316-cp310-cp310-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

virtru_sdk-2.6.0a1316-cp39-cp39-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.6.0a1316-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.6.0a1316-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

virtru_sdk-2.6.0a1316-cp39-cp39-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

virtru_sdk-2.6.0a1316-cp38-cp38-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.6.0a1316-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

virtru_sdk-2.6.0a1316-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

virtru_sdk-2.6.0a1316-cp38-cp38-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

virtru_sdk-2.6.0a1316-cp37-cp37m-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.6.0a1316-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.6.0a1316-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.6.0a1316-cp37-cp37m-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

virtru_sdk-2.6.0a1316-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.6.0a1316-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.6.0a1316-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d9223b6f9909b9f43d3a115d272ffa4a4505657e2d631665fc4edd83502538d9
MD5 02e064feb61e59d3af330aace42ac29a
BLAKE2b-256 8dd295be1d7f60029397f5801b00ed61b8431582b94e49b845c23cdb4fb0ef7c

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1316-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e9eda2b5877976784039f3a26377ea14fbe319c1c840d0c64982926103d65511
MD5 75b02a6e92b6551094dfca1653b151bd
BLAKE2b-256 aa59b6c5a442e0a91ebfe7f942939766b6f91e60b57b9328995fbe3fad813236

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1316-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fa86a29a6ab20bbfba9547cdf1e71c172a6d53cc033ad206e2e6cbbbec4f3ce8
MD5 5b02a1eb494467bce54347b1c640964e
BLAKE2b-256 e0291cc0c2ad467dc96e07531a9471387056456526f9c2b35c428c6c7cd62504

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1316-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 05bc55ea8f908124931c18ad00c24348f8534435ca1fc5a5cfa3a624c071d39b
MD5 dc5667b70019d076ee219353ab56dc2a
BLAKE2b-256 9788accc66fa03621523485e94283a687188a20efeb7f86efa12ab62b1c7faff

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1316-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 ecbf566ff4ad0a53edd8497add6171dc1fa2ef477cfe4c328fa04328b80620e3
MD5 e609954c0f8d616e09833abc14ed92c2
BLAKE2b-256 d69cfc27549aee49bf0b6f6affa225311a0a3dad764859ad28bc3ed103eafdc4

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1316-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f983e70b193246f9da60e9a43cb1e1887a7ea0b5c7bb3ff76fa6dd8e25ef76f3
MD5 22360d68fbb7c1cfd138489336dc7b74
BLAKE2b-256 38326d4e5bebd48a769802bbc182188d9ccf38b2bc7d9dddf3a2436228b73301

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1316-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b204fbe8a36293b973fff46cd9af3fdaefd651e0b8fd2aad97c04b8b91d88b39
MD5 de1ee5dae5186994a89f6d015f76225b
BLAKE2b-256 93c723831cda24fa8f1a023e5078144314aafecc19ae24066c8b5cba45747b92

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1316-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c7736e79bbd30145ebe783a2e408b614b66f32978c50be4ec838c2fdc09ab331
MD5 86db264fb8788ebecfa2e48388af1261
BLAKE2b-256 9490dd6f9b7f983af2799826fd5a6b4394b2faa4db16fe2243c2dbf49d49d71c

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1316-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2e4bc4ca57318f87b4df88c11d8a39ac6f4e94519ed6b261b816d0d6cf771af4
MD5 f2bf78769ee0d3e0a51949954d1e8e93
BLAKE2b-256 c9ee947d96859569ffdd2124e8686dbf0022b6fc4a497a1a6f63e0aba232a4ff

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1316-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 bd44723727a4e6757f0ea629b30aa6ac22b54c98c38b0383d08e52680ec21b8f
MD5 ab68cc5f68d020d6637ca4ecb0a304a4
BLAKE2b-256 9410ba5ef4ee22e36b41f0b5fe2dca8eaf2337ae4bd4dc2ed60f5246b403cbb9

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1316-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 28c262a199700bc83f876ef79c903519afaa371e2203ce115cde038eacd736ca
MD5 3e803ba4079532fdcac50aebd30d224b
BLAKE2b-256 2faebf228338e50e798a6ea74ec20f8732a1f318a8dba41342bf57c20cded953

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1316-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c7ff913298733d38d65e02fd40e4b486c8653793bb7e54a53e6bf38c6cc23b6d
MD5 33980263c66e12409c0e8951ed8f4e87
BLAKE2b-256 90be0e580d35f31981cd684c90eeec51134e671b4beb285fdd3e476f5d3104b4

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1316-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2575670f1dad2f1ba331dbf8bcdd263fdc71ed8b4f8ed6505e11649ba3a175e9
MD5 fdf6ca682c0ddad7e3688d37bcf4423c
BLAKE2b-256 977c2131329675bc4cb0a4537736c0ff36e64490fad19612a1309aab4e844b0f

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1316-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 d93a945ae326ad5c412baed7b5d7081eb4e296851953575841ad947a24670846
MD5 1ee264078142764dfd486898abed6ea2
BLAKE2b-256 bfce7b561d1c40b2890821cf83e087b7d2e80b40de0314f88011a34d8e2103b7

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1316-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8cbb11ed43f7ef825b5260b5c1d34976c53e4c72504bf2124c226ee5aff561a3
MD5 3c41f3968aeebe1eeb3db12c66799a48
BLAKE2b-256 c575dadb516ead8858785d944c90d01694dc78b30a6862ede6534111fc0ca9d7

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1316-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fab9431658a388493e8091efe96f78b84a30abb77a49ccf33d6f3dc02a66a02b
MD5 b58fd3a9ff5681a80e92c5341ea32842
BLAKE2b-256 87ffa579605c33cd74e89aa84e589dbc70674ea37d95387cf8009a0a2d2d981e

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1316-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 6c62c6658b9c08f6550f4fe8cbe2abee521026e961c70cfa5220d371e95ca5c8
MD5 c7be034d99a3637b611e6336110c35d6
BLAKE2b-256 004d851917f78bef3496dee578c6174c73e26ace7703282c524a0545388f037a

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1316-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 72715aebced464e4a1f0c0c408f55ef606c70b4e0481503c2a7743a635b61b8a
MD5 b30ec6e309e7b3e5dc35093b297dd778
BLAKE2b-256 4a4cfa2ddf9691f0ad6f2eff298f8e105546bfbfae7ff3c8b41ec468ffd774bf

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1316-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1316-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 902fbce75bbd24318914d9adc54831b1f603bf69730d0bf1bbe0aae1de32810a
MD5 91a2e2a7e416bbc1e941f12af3c3e780
BLAKE2b-256 5049010fd7f336b344f514c1c0c262765ab7f430012fbf8d2821feb452523ba8

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