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

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.3.7b1540-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

virtru_sdk-2.3.7b1540-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

virtru_sdk-2.3.7b1540-cp39-cp39-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.3.7b1540-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

virtru_sdk-2.3.7b1540-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

virtru_sdk-2.3.7b1540-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.7b1540-cp38-cp38-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.3.7b1540-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

virtru_sdk-2.3.7b1540-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.3.7b1540-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.3.7b1540-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.8 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ ARM64

virtru_sdk-2.3.7b1540-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.7b1540-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.3.7b1540-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.8 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ ARM64

File details

Details for the file virtru_sdk-2.3.7b1540-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7b1540-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 484e95d1f51b8d07906756e049e515941e9ce194f22488a084f115b5f38735fb
MD5 78cfa87da4ad94da0ff4e8657cb93680
BLAKE2b-256 dcb5f0d0bfde58d1c619ae8a462dc75fe8eacf6edb6fdd63570e4878429cee71

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7b1540-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7b1540-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9fad4750ddcb21a58549ae1e00f8204bf0d3a06929b59ae29daa705792d11d7c
MD5 84149f96532a5b46960c84fda5d0e81a
BLAKE2b-256 f9cdf78a0381c45cc2f33a00daf535ce7feb546ef7b429d9315078b4e92c2bf1

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7b1540-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7b1540-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9a22d8d20f9d394965b87de6327c8482fff52b14348d151ec525a2ae30eafa28
MD5 97efccc9b175f4836592f4fd3db9a6f1
BLAKE2b-256 61492870a08046ecfe38c7257527fa58ce4a771a17ddecc78e87fa9f7a105e9a

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7b1540-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7b1540-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 9fdc1047c46800d8dbd006994c4135e3910b82875810702f9ef0272a6c1b2f09
MD5 9089eb925480adec24c24661996a4f19
BLAKE2b-256 a77a48ec482abd91fa33d8da83d2e8508fca7e657f00bfb73d329f3910b34306

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7b1540-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7b1540-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f4dc0ea96a3312ca682f779dd63fade4ebafc36efd3d58522031c9b5fa4976e3
MD5 60ed916414c963c92ae59c41cd035550
BLAKE2b-256 241f73193a0d79034f5fa2a5de9368d6c18f3e125a63e29dcf8d0d19290411a6

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7b1540-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7b1540-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ef9b7f60be60a991137684c22a4b811f66e34f97cd6c01c0178f5417489cc24c
MD5 479cda7317361e6b5a5a8c1ac1ccaceb
BLAKE2b-256 886a0431dcd6adfeb1a800b506af3b092bf4c297aa2b7bd449cbdd99025d6aae

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7b1540-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7b1540-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 3553bf516668a037a2e9093b7f7cc2e4301e15d93118d8f76d4645af72d25a97
MD5 f524f8e381ed1dbd004630300e119c18
BLAKE2b-256 b3e3b97d2ed9bef292fdd3c9ed2dcf9e98a416f5a6a8f1b80fc58db0adca154c

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7b1540-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7b1540-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d2ded8f53506f4b0a190788179e149a3c87152074a285906b569d3452bce07ac
MD5 f7cc14e5d6bd925d8bb7800f27e42896
BLAKE2b-256 f86a3437c3f52994278ebf223edaa440332b46e590782e96379ad3c215e86163

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7b1540-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7b1540-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 15e479a0ef7a29f46f884ac1f471814a52c2a63aa1852191ccec9a2a1d239fb0
MD5 4b7ff695431c87c7d14431f81084334b
BLAKE2b-256 41c3e148ba6a8011515dda5e3319de72996f7428e2660fb7b2efc62511c3d65f

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7b1540-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7b1540-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0d83f0a2eefd29da55e85b13f349ce51bb716de5a9a9b829a366dadbe96b22ae
MD5 e90dcb7deb1f8de64220fc2f1a873208
BLAKE2b-256 7d25260d1569f513a9021a90ab2993ec7dcbba6489386bf9e86e2a20e6addae3

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7b1540-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7b1540-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b6b2a996583b0421edf75855025c9420ee746f7c16a1850266066c004096c6f5
MD5 a713960d078ea3a4eb4c22310a44a1a0
BLAKE2b-256 591aae11aa371d9a62e807a4ba53b1f918c242b0c40b08a6e4c9e50afacd8ba3

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7b1540-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7b1540-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 41fcfd1f0ca6a7fae30688f88b63a9340ee1b8fbee7b0e26b1f8ce3073842101
MD5 4657b298832d6c02e37466610cf4ccf2
BLAKE2b-256 5b8a4845a8896f66a8232093fc4f42314ab734bbf2d917fc89f48052016adbda

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7b1540-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7b1540-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c77d63440b52c761fcec44b305b33244cde11aee261643c59bb3d71ed86d6e69
MD5 dc046d6532471a7cfd2261cd69d805d2
BLAKE2b-256 de14dd71cf4285f3d3e1b19ad70d90a30f4d069033d9ad9d4c93b9b37ffd135a

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7b1540-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7b1540-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 40edc9589652acec039a87ba278a8896101947bcf150a17beb3ab94e266b2c29
MD5 9e50a7dac877244472809aebcd6aecbd
BLAKE2b-256 e231007b880bfb4bb55870440fc9be602ea02fa294d2692dfc70ce5e3eac7488

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7b1540-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7b1540-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 dafc4f4e2ee1235e96cfddb011a2cbc6c8f4171be172d73c68830871fd1d0e88
MD5 2e5c36622efe6c2e805a6d5ec4f34b25
BLAKE2b-256 bce64cedc09ca2da13d2429a34b91c94d34bdaa546e01eb94a325d53328db2f2

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7b1540-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7b1540-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d1fad2e2aae6163360f383dabf9bf40e74192ed50605dec7e5f7509ad019ce56
MD5 a36662665476e0fdbfaa526bdca2cbfd
BLAKE2b-256 8bd8d0a2dafcd0f42ab7fa1518fd5af8160209a017ec3f56a7a3aad8b31e2066

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7b1540-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7b1540-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2acc157d84765027ee3da834833002e0301ef978072f54202468385adf79bd8d
MD5 b46a17631af1beba9e43cf867465afb4
BLAKE2b-256 5ffb1c61c8f6ca8eacae16b38de22210c6ff47a81563c41d7ee12c512c02f0bf

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