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

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.3.6a1291-cp39-cp39-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.3.6a1291-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.12+ x86-64

virtru_sdk-2.3.6a1291-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.6a1291-cp38-cp38-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.3.6a1291-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

virtru_sdk-2.3.6a1291-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.6a1291-cp37-cp37m-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.3.6a1291-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

virtru_sdk-2.3.6a1291-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.6a1291-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

File details

Details for the file virtru_sdk-2.3.6a1291-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6a1291-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a592d12e014daff72afe33080dced652aa6b5d053c26c38f591152a0be34af1d
MD5 792c87a513dd0a7dadf7aac281578535
BLAKE2b-256 14fc2504dbffb5705b8e230c3920e7012cfc9c3c53eac3b26eb4c3b3587bda78

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6a1291-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6a1291-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 bb58c951dc1eca82346c3019b77fbd7ed27b11c017d0af5f07572d5c703915c6
MD5 8c62e0a532108f230ddd4eea1abbfbcc
BLAKE2b-256 5b9c89410681514ff3d209e5bbbb2499b8edbe8f57af9ce4abaefd04f6ef7ebe

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6a1291-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6a1291-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f71831cf87922df7f646f284fdcd6939408512a6d9e5664e2fd0d1760799893f
MD5 2d06a84e0a29f9d4a53f307dc6783963
BLAKE2b-256 7e405f33d03a9b6bff981fa9bd40aa987888f0b82dec7e9db712cd99962cf958

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6a1291-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6a1291-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 0443b1ac13fe8c9ffa6fbc7d71edbef06d95fce12fe6113a833c65f50301e4fd
MD5 81aa82e94313c3485e2140562dc224b7
BLAKE2b-256 f87b41083c0a0e47f44c771ddf9a0b35737fb1f73ba4b859c07f601aa50ebfb9

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6a1291-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6a1291-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 aa25dc90a3c239c8f2fee3a5e23dd8eac5ab97dc8e4c1ff7347538dad64bfd21
MD5 a7ab142bb1a54e3314ff0a3ddb71de12
BLAKE2b-256 f534a471d7ce021e2cc6d899d18ad850da149a0923b563eaec0003e74f60dc17

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6a1291-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6a1291-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 1ccac95f027cc47f76d95d4312adae2c8677ba094d22352759f8acf38579a5de
MD5 a1837bbb46908e27b0eaf2b319cfa760
BLAKE2b-256 a2cf83eb57052b959af42878dd5a37fa07c3613f7bcd696833769b30832264a3

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6a1291-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6a1291-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 1b253b06c21098e57555049dedffe2bd1349f80b241a3e87a1fd47c0f3901280
MD5 b5a34d2a9e4e138ccfcc20487d3754c0
BLAKE2b-256 b14134f2b2d615f64d41bf44ebc43769e2e48537e51faa5de8287284b0fd3622

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6a1291-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6a1291-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c4b0a993e871c331b75337f1ef040d98ab506d6a131e5d820b5c9156e4d4036c
MD5 57a28b67a793b3844a95cbae08eee87c
BLAKE2b-256 1c7c743843deee9263c1f2bdd9be69255a16fa13feddfb267ddac40b8a74f2c0

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6a1291-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6a1291-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 981447eac4478b708af8c82ae9a7c2e708a1730373d039d0a864ed22951e91b7
MD5 0f9d9ab463e34c83cdfb51f459ca0538
BLAKE2b-256 5a502cb71948c4aa32aee740d462b6f7b54eff88e1fffaf9da381a6277524243

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6a1291-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6a1291-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 4d062fb43480da8b8ab3e68063b8754018ca54af8b275a4523ef2468df6048d5
MD5 2f4b873b88f2719d9a9be865c6d54063
BLAKE2b-256 257ae96e85d1b546418def16036d946ce41143d939125d9d533569ec24df40cd

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.6a1291-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.6a1291-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5c4205b55e01f075ee6e6e38a34a6c093bb70b016aa2c5d37e31251dff47388c
MD5 8fff3e71a021aafdba49e9df03fbb25d
BLAKE2b-256 6b7c19520d6c47ea53692d9948c83b139e5cc1757aea3ca0b04c722518e73cce

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