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.2b1276-cp39-cp39-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

virtru_sdk-2.3.2b1276-cp38-cp38-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.3.2b1276-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

virtru_sdk-2.3.2b1276-cp38-cp38-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

virtru_sdk-2.3.2b1276-cp37-cp37m-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.3.2b1276-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

virtru_sdk-2.3.2b1276-cp37-cp37m-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

virtru_sdk-2.3.2b1276-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

File details

Details for the file virtru_sdk-2.3.2b1276-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.2b1276-cp39-cp39-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.3 MB
  • Tags: CPython 3.9, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for virtru_sdk-2.3.2b1276-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 cb1593830f65dd94cfc7f7d2e52da9ea1bf0742b18a84e537818574485ebeee5
MD5 c4dee455fb49c5d218c9e8af03945c4d
BLAKE2b-256 fd00897d9b26f480296fe82e99ea120f125b3bea354bd5334f5afc646c874b19

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.2b1276-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.2b1276-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for virtru_sdk-2.3.2b1276-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 4698d80778e324ef0a82cb3160fda626c0eec7925c8c9debd242f86f9966a227
MD5 8f721cf5d818fe2acd9a350618a8a6cc
BLAKE2b-256 9aa3afb19334249efdc81fc7da16d9d449c996c7c68a1580bf255f15cd17e5e5

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.2b1276-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.2b1276-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d27afdc2d5af48049b30f56c99859dc91b723a6300aa9313097bc76de3c6cb64
MD5 781cf0bb3dc7f5b0759897b099e5e16c
BLAKE2b-256 1993e10a414d7f6e0d7bc66c9693bc9dc47232b8f251bfd54dbec66d6806c9b7

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.2b1276-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.2b1276-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.3 MB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for virtru_sdk-2.3.2b1276-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2bf11a80f3b10f336abb4c994035b1524a08c000914442d2f16ddaee4dfd8755
MD5 f68b348488dc855c660c52fd97e61544
BLAKE2b-256 ab262a3a8447440ea944e141764272d27ebcb6c3c4396ed2a536c35b0a40f488

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.2b1276-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.2b1276-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for virtru_sdk-2.3.2b1276-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 62e7e8cd9175247aa3f870c301e72bfdc9f4454ac67093c6e65875d8ce5ac6a4
MD5 4700b2fab5db549c417ed26e15115d3f
BLAKE2b-256 0bbb105f8dd29005617cf9b482399fc0855e863e1475cab630928b8ea51c7c60

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.2b1276-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.2b1276-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 4ea175a9b4d0f13f526f7309c4dee730dd8ac9414432f459db0167dc39e98b87
MD5 6c62a5b5dfb84336f1f92b06c5d4d2d1
BLAKE2b-256 6061e45f2a83dbb7b7131af3539bbf142f591fe1798a6ebb42827313c0b078fa

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.2b1276-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.2b1276-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.3 MB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for virtru_sdk-2.3.2b1276-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 744fa1c172ff81f0e3cdb6c7dbdc64deec66eacb11e4c9eef31ae2ae395914d6
MD5 e3d89d5fb782c3011749c093dc1644b9
BLAKE2b-256 500ed1bb6abb9ca38040d57262462d80458436ace02b3199b1e18b26a3159882

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.2b1276-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.2b1276-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 50e85d8dd9568d3f1c16bfb932ca8f890aba0affcdd2d0bc3166f9211e965198
MD5 9466a8d005968482895706a862152a10
BLAKE2b-256 fe31a3e33075fd562a69e64ab8289c4fe62fddb794a7a78dd737e02c968659e5

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