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.3b1282-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.12+ x86-64

virtru_sdk-2.3.3b1282-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.3b1282-cp38-cp38-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.3.3b1282-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.3b1282-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.3b1282-cp37-cp37m-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.3.3b1282-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.3b1282-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.3b1282-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.3b1282-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.3b1282-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 cf2cb8c80530900eb1c89ff2c2f5a025a2bdbb84c1431e0f3a76adb0d1bf641a
MD5 ee89f7bad24019d53d9905c7a0ad2a42
BLAKE2b-256 f55ae88696ca7f17f1553912388ba73c846d907c71c1f88db20479f422fc4691

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.3b1282-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.3b1282-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.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for virtru_sdk-2.3.3b1282-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 7bf4cae85b0f4ddb319ad00ea617b7871b7ef8ebfd4a46855b577df78dbf81f5
MD5 5dfc065220ef7b71f69088b759512c37
BLAKE2b-256 d3790feed37f3fc7ae5d085320fd32d962992c6ddb7720e86ecf2b41b0e777dc

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.3b1282-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.3b1282-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.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for virtru_sdk-2.3.3b1282-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 54f2e83fdb0e1933041eb0ee9639cb4a7f28edef6953285930787a2b8b7c36c1
MD5 40c8c1510cad51572bb31238319528cc
BLAKE2b-256 aac2233ac800d62f5336043980e5ab561db9d99ff385e66780d750dbae7a525e

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.3b1282-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.3b1282-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 3dcaa0f3ec86fcf53ef0068058362b4f0b5a5ffa0ad7cd31c434949ad0140ac2
MD5 a48b80699a9baef38fb987d794e4c317
BLAKE2b-256 eabe9d2a38a93751ad7b3fb478533f61cbf9ccd35b70c4c24f95e9f3fa920e88

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.3b1282-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.3b1282-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.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for virtru_sdk-2.3.3b1282-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 c77238760974d653e8225d2d3f35ba61582b86fa84e5eae3bbeba7e80338d9fe
MD5 cfcad99f69e3b0f089d02b875b4d74fd
BLAKE2b-256 54cf7ceecc73f7314d8318fd0b7cfa1d8fa5b7ec135dadbb84b9d6eda56511a8

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.3b1282-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.3b1282-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.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for virtru_sdk-2.3.3b1282-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c73d5e7a471c5732ed64ab60d66d6fc352ce85504c8a1f873299430bbd872c81
MD5 0ce3a64cf3becc81eb0fc86478766b5a
BLAKE2b-256 b4554567b9eed3a9e9dcd879eb2cf33dcc91001e0d105673cc4b678b8420496b

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.3b1282-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.3b1282-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 860a7d77fb57e5e1eb927b8aa6d04b9a33b06c086706e76a9fe2758625e231ea
MD5 9f92d91d1fe957b6bc3180f332c24662
BLAKE2b-256 88dcd5b6b4ed5ef305f078b9ec07916a25dd5b3cee0aed63489274ab89091306

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.3b1282-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.3b1282-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.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for virtru_sdk-2.3.3b1282-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 0aa4049e5e356e016b6261e7e0d22486bd1cc88538bbb0b80fe774810e19a8fa
MD5 b1fbea7766623a05ac9144659c0e63c4
BLAKE2b-256 0e35d5202b936f1480191037bcd27a90171b5e4183b37a62553008707b0fb3f0

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.3b1282-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.3b1282-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f724941ff0903cd9cab073374f18f7ed4849d32e941836fd23d8c3608668a965
MD5 bd5636f798526c6f4f56e83c8ab62ce0
BLAKE2b-256 49d415067cd75c5f92da1a49a712378843fb0e463251a12620c9a1a36c6bd8e1

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