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

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.3.2a1277-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.2a1277-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.2a1277-cp37-cp37m-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.3.2a1277-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.2a1277-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.2a1277-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.2a1277-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: virtru_sdk-2.3.2a1277-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.2a1277-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 42c79588689db2f3563ad370892e8044900fa3fbb79d289780249072043ab39b
MD5 fb759ec1d42b788cc53d5eca0bf53de9
BLAKE2b-256 66b0a526bbc77c39ddc11af2945bd71ddefa7606d4e07ae712c1544510c8dd9f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: virtru_sdk-2.3.2a1277-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.2a1277-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 c4a4deba5b5ac19c929ee3497da337e32bdb352b55ef906e444861ba2949de9d
MD5 76e3ca61e06dfdc6b0750af2e387013f
BLAKE2b-256 d38852eab884cf2f82b047059f7817b13c90aa991cdf86134c6f6b46b4e58b46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.3.2a1277-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 467591dccc982873b823662e043d37964b029f931681ad10542728da4850c974
MD5 64d8cd2ffd44fae25631e6e781c91c50
BLAKE2b-256 408c9eec700b7f2960470604f61e2f1a7376835d6f299905a612036af7f0754f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: virtru_sdk-2.3.2a1277-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.2a1277-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 8728cdeae5a6f4adc2b9253f3d72a92ae019331044641ca7ff8441e4e31ec1a7
MD5 0b57deb787f15c6e55779124626f8e9c
BLAKE2b-256 5e02952d989b633bb8fe27bb9f759b107030fbde47a74e4454a04897b974edb6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: virtru_sdk-2.3.2a1277-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.2a1277-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 7be5294b93a3754730ebf2385b1f45e41c40cd7e3d907dedb00b5cc6979604d8
MD5 ea78aef9976e2c9c483d92b95d1aad13
BLAKE2b-256 195636e1d1ffbeff66c969ae8fa93685fcb0542d93037c52f18d7d7b4535a049

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.3.2a1277-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 7d7b84637b40482ffc6dc5ecf265720b48df1adfc6696837d52f1c408b306636
MD5 2e8fe879fd8789b2866b3f587968c604
BLAKE2b-256 10db22753ef0644a2a7919bb67f19171821ca8194b06f627e6fd3b6e2402b049

See more details on using hashes here.

File details

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

File metadata

  • Download URL: virtru_sdk-2.3.2a1277-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.2a1277-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 128fe058efdedcd1f530f268a3bdaf82946b71aac8a0470424291a955c1b8d63
MD5 bc8b1b60953061de6c80eefbaaeb9118
BLAKE2b-256 33272f585c8a3f127f4140e325d26e3c22c430f08d00c3e5809c20a51c81ebc4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.3.2a1277-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e039d8a3b2361e2f481ebbf5e98cedd2f11fc1b66fae9937b093ab894340773c
MD5 5b94495804540d314d6fdccbf32501e6
BLAKE2b-256 56203cc089238a13b8528520b7223f43c7384eb9da663d474fc14283f6b824a2

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