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.1.3a1262-cp38-cp38-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.1.3a1262-cp38-cp38-manylinux2010_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

virtru_sdk-2.1.3a1262-cp38-cp38-macosx_10_14_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

virtru_sdk-2.1.3a1262-cp37-cp37m-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.1.3a1262-cp37-cp37m-manylinux2010_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

virtru_sdk-2.1.3a1262-cp37-cp37m-macosx_10_14_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

virtru_sdk-2.1.3a1262-cp37-cp37m-linux_armv7l.whl (10.2 MB view details)

Uploaded CPython 3.7m

virtru_sdk-2.1.3a1262-cp36-cp36m-manylinux2010_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

File details

Details for the file virtru_sdk-2.1.3a1262-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-2.1.3a1262-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for virtru_sdk-2.1.3a1262-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 8060e35660dfc3392588024a073aba419d05cee91634a2ebadfe8bc0ca2fd979
MD5 f870fb5464cd8a73e9b2c8e8113e9071
BLAKE2b-256 e14c69742b7457b3f33aa338cd6f0b7afe13a80d775c7ba341dd7f9f0f4e1b64

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.1.3a1262-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.1.3a1262-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 10.0 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for virtru_sdk-2.1.3a1262-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e5e94877af9751d6d7e18e69efdfd711166378859770b2528bda84b0b2a64e01
MD5 d63d30183fd52313b590163adec56422
BLAKE2b-256 3149cb14141736cf81f58785917b300a3e90c73b9508141afdf8be8cec88bd12

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.1.3a1262-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.1.3a1262-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for virtru_sdk-2.1.3a1262-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 a9dd368630be4eeec699a06caf50b48a16c8a53f8f4a1152e37eaf1950b1d09d
MD5 204744cf1c486bdba984d31114485f5b
BLAKE2b-256 f2b4eea8a565916653e1085a798a4d9f483a2f0474d68967c7bd13b51ff3cd95

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.1.3a1262-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-2.1.3a1262-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for virtru_sdk-2.1.3a1262-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 1c082d05b975355d472e4e9d799ff4b63b8db5420e3386f9ffdb6b6a66ca66d5
MD5 fa99c1b3867fb181d9580ff11a72ad1b
BLAKE2b-256 b2fcf4ab92cdce13bb4fc880e1bd85731c437dd7eaa6ed715af014ef19a1b421

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.1.3a1262-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.1.3a1262-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 10.0 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for virtru_sdk-2.1.3a1262-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 632974fa94cd94f661eafa4f6fd67dde1039ed77ba206142d9350da8adae85d8
MD5 0f438c16467c0f0482b7a4fa7798ad8f
BLAKE2b-256 88d6c417e2ec8d66c77167ac789854dbcd05066d50b5faa7e9985291c979a78e

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.1.3a1262-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.1.3a1262-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for virtru_sdk-2.1.3a1262-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 45bcd0e40e8babea2e66a9491dafdbc6b675651d32d27c2dc342e3c087061b4f
MD5 b684a0af021ede85d1aeb7890753881c
BLAKE2b-256 0917855c7e0c62a0a8026e58aef57da731cecd3e6eb7e0a09a96db0354d11de1

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.1.3a1262-cp37-cp37m-linux_armv7l.whl.

File metadata

  • Download URL: virtru_sdk-2.1.3a1262-cp37-cp37m-linux_armv7l.whl
  • Upload date:
  • Size: 10.2 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for virtru_sdk-2.1.3a1262-cp37-cp37m-linux_armv7l.whl
Algorithm Hash digest
SHA256 c19ac86371493cb990ec7361a3256a8b899264158a4ad47a40c645ecab1f6d92
MD5 e39e3a0a5c7b4d0b9778fa39453637a2
BLAKE2b-256 2046b1d2b6d2876dfe086006d3ed226a2c39d7bd52bf65ca8ca3c757d1179811

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.1.3a1262-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.1.3a1262-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 10.0 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for virtru_sdk-2.1.3a1262-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 6640015c687b801bf53d4cc1b2c22414b5701821e80e1adc0a749fcb6ab5fcf0
MD5 57bddd9bb65820ea2e5f331c18b5e874
BLAKE2b-256 ae3856034d56f4a3738b4b1eed825f94765c81790a6216a7767f49f9a8aa8462

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