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

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.3.5a1290-cp39-cp39-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.3.5a1290-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.12+ x86-64

virtru_sdk-2.3.5a1290-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.5a1290-cp38-cp38-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.3.5a1290-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

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

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.3.5a1290-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

virtru_sdk-2.3.5a1290-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.5a1290-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

File details

Details for the file virtru_sdk-2.3.5a1290-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.5a1290-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.3

File hashes

Hashes for virtru_sdk-2.3.5a1290-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 92b36e4dac697e0ee25775fa06977a119170a805c61897feab0a8d31ef4683e2
MD5 217432b78c785326f069f661bab5b81d
BLAKE2b-256 0d1c02bc0a5aee4ab901e05c330034e21dffaab923ec37721774e0cb0263cccc

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.5a1290-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.5a1290-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.3

File hashes

Hashes for virtru_sdk-2.3.5a1290-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 933e94255910237aeba9fea89f9944c13ebfb6a912b567c8a16d837bd6c2b90b
MD5 8ab8dd4191e774df5838bddc26b8b75c
BLAKE2b-256 7f258bee7f3176769e662cd442c7451929f16f3d5ff0741972b03ef6e9bb2983

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.5a1290-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.5a1290-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.3

File hashes

Hashes for virtru_sdk-2.3.5a1290-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c5c5ec73fa37da01784dcc438c15664047cb36316392af5bd68ed91917e71b44
MD5 8a765d5e8574f4076f2e80d06db3145d
BLAKE2b-256 5dbaeb619441f6812a7c8cbc718bfbf10fa7df8b3abb5be9b95ed7c65f1946fe

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.5a1290-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.5a1290-cp39-cp39-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.1 MB
  • Tags: CPython 3.9, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.3

File hashes

Hashes for virtru_sdk-2.3.5a1290-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 4efcb69de118307bb73cd73ba37989e393322b072557cca3fe6ba35670b93fb5
MD5 bde4490739b7673822fee66684031864
BLAKE2b-256 d837526227b4ec4854ee9adf8fe870dc33d80754e105b00b90b4570181a2cda4

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.5a1290-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.5a1290-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.3

File hashes

Hashes for virtru_sdk-2.3.5a1290-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 cbf600118d5337f5e693e58caaf60699827a67f71c644ce448da425b464f66d8
MD5 87001a423c75607f371282f11654837c
BLAKE2b-256 aab20af381a9e12dc031ef1b6e286d2830db105bd2f86cd3f303e543f845a072

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.5a1290-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.5a1290-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.3

File hashes

Hashes for virtru_sdk-2.3.5a1290-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 2d041ef8ab847d4fea5926513aeb294906bac5609ac4d5f5bcaecea6a02861bd
MD5 3e96c5f1ac8fa0f5cdc1b6f3669d08ad
BLAKE2b-256 c757a198a1cef6b56a27126b01222617cc2389c317fe61393d5240aa7dbd59cb

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.5a1290-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.5a1290-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.1 MB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.3

File hashes

Hashes for virtru_sdk-2.3.5a1290-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 570c166fd751e04a8b65367792a8b0fe90e6d302f5dd8df3c5362b0eaf4433c9
MD5 1c4ccab70adc543f6f0cb1edaebbc371
BLAKE2b-256 163292ced47862e807a0e64f5c2e76013116fe751137633f0af95a3ca283806f

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.5a1290-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.5a1290-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.3

File hashes

Hashes for virtru_sdk-2.3.5a1290-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 3d4c324700030c6fe4a29af14706b0ff3adf1b778f1f8e871a071692384d06c2
MD5 403844b105bede55b95e3af71a96adc4
BLAKE2b-256 779bc43e64f53e4d790d20be77d3378031ef1fb871ca6d57377ff5dc24c1b3fa

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.5a1290-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.5a1290-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.3

File hashes

Hashes for virtru_sdk-2.3.5a1290-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 25560dda26696f5b8dba5d03f2be22d61fd903df22ed1e7d692aa8a1a5d37fbe
MD5 8665dcf460133965c6126120019d61af
BLAKE2b-256 4f54e5840d0617811fa328693714719ac3725eaf447aae88d8436245bd571602

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.5a1290-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.5a1290-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.1 MB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.3

File hashes

Hashes for virtru_sdk-2.3.5a1290-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 8617480cc2ffb3ca2c7df4516c29c0e342afc30098b0a35f618fb941c4953855
MD5 21232fbf1ae880199773f9b00f2984ec
BLAKE2b-256 466835e1e6951f95764425d3aca8e588995f43ac622f499dce82ddb01c10c13a

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.5a1290-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.5a1290-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.3

File hashes

Hashes for virtru_sdk-2.3.5a1290-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 7e35132684cefff362f12aaeaa483dd39a9a4b9a70e45a13a8ea503d514d9b08
MD5 ce5bf4e92e6bcc0a82c40e08cd2198df
BLAKE2b-256 6e607ad61fb5b7c1023ea590db8c95d731220fc3176c5230c0aa1e837a193f39

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