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

This version

3.0.0

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

virtru_sdk-3.0.0-cp311-cp311-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.11Windows x86-64

virtru_sdk-3.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

virtru_sdk-3.0.0-cp311-cp311-macosx_12_0_arm64.whl (4.4 MB view details)

Uploaded CPython 3.11macOS 12.0+ ARM64

virtru_sdk-3.0.0-cp311-cp311-macosx_10_14_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

virtru_sdk-3.0.0-cp310-cp310-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.10Windows x86-64

virtru_sdk-3.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

virtru_sdk-3.0.0-cp310-cp310-macosx_12_0_arm64.whl (4.4 MB view details)

Uploaded CPython 3.10macOS 12.0+ ARM64

virtru_sdk-3.0.0-cp310-cp310-macosx_10_14_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

virtru_sdk-3.0.0-cp39-cp39-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-3.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

virtru_sdk-3.0.0-cp39-cp39-macosx_12_0_arm64.whl (4.4 MB view details)

Uploaded CPython 3.9macOS 12.0+ ARM64

virtru_sdk-3.0.0-cp39-cp39-macosx_10_14_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

virtru_sdk-3.0.0-cp38-cp38-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-3.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

virtru_sdk-3.0.0-cp38-cp38-macosx_12_0_arm64.whl (4.4 MB view details)

Uploaded CPython 3.8macOS 12.0+ ARM64

virtru_sdk-3.0.0-cp38-cp38-macosx_10_14_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

virtru_sdk-3.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.7 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

virtru_sdk-3.0.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.7 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

File details

Details for the file virtru_sdk-3.0.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-3.0.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for virtru_sdk-3.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0bf73526a7c0fb1e890467a06c521d3581885549000f0003ed1cc0c3d244ddb3
MD5 58dd56669c180e174efc4c6bca4605a6
BLAKE2b-256 6be0cb147a62ac6198b63e3568b6807ecc02dcd79368986e416db774b8393255

See more details on using hashes here.

File details

Details for the file virtru_sdk-3.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-3.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 63edf51b8cba78cd06c145b4390efbbf0ed31dad21dd60c6bb35176f3e87a313
MD5 965162b0b670e3fc7f9da2ca880ba122
BLAKE2b-256 f02cf96672fac1db0ae0be0713c57b68947f39c8c3d277254e8302bc11f6fd1a

See more details on using hashes here.

File details

Details for the file virtru_sdk-3.0.0-cp311-cp311-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for virtru_sdk-3.0.0-cp311-cp311-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 0352a1677381f7f6f3ec1e01b855b99941b57391a866e9c08c8cd6f807c95721
MD5 ec75c8257508a16ba1997ec649e9d74e
BLAKE2b-256 4f5006ff63464a7e9b062adca97e26c562969e64d2514139c5a3c0f3dbf02513

See more details on using hashes here.

File details

Details for the file virtru_sdk-3.0.0-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-3.0.0-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 e92ba3d49e8438fea5cfd958d7e0066f8fe36b05b41e68821b6055f218a7f0e1
MD5 593bf5b8460d6fd0f41495ddca9c6d1f
BLAKE2b-256 163ec9f3159d663af5ae82f7f6fd0719dcbf00033a1aacdfe565605915d54f67

See more details on using hashes here.

File details

Details for the file virtru_sdk-3.0.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-3.0.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for virtru_sdk-3.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 909c198eb8ede6b2474a9f0d1a78764678ebacdbc31b03b3908f42d5ed353e56
MD5 8c86c011922d0dad0921eb844a25d0ca
BLAKE2b-256 7b853b504753ccf4df4a76481e46cccf6b7bea09f8ea577c0110432e76d72470

See more details on using hashes here.

File details

Details for the file virtru_sdk-3.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-3.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1eb3787aa38d6e54e64dfdffd8751ce3ee5035231ad7be1d6f82fce2fe911b2d
MD5 ba93437ed80b44816686bcc395334a1e
BLAKE2b-256 fde2f711741711601045af0ca873638389e62e05e95e07f79bde7a32cc8dfc48

See more details on using hashes here.

File details

Details for the file virtru_sdk-3.0.0-cp310-cp310-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for virtru_sdk-3.0.0-cp310-cp310-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 008891c1fa7afe3a24b1b89de3904a25763fc66b262f9bde4ac54ee81392a447
MD5 a078e3cbac35837752a299e6981c2cbd
BLAKE2b-256 c975f5d965e95a94ffe001b37d68cd04ca76ec068d75c55a219d02e00dd847cf

See more details on using hashes here.

File details

Details for the file virtru_sdk-3.0.0-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-3.0.0-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 c3d1c6f852f45be4d2c010d0e4f42f1e0470e4697005b8e73a7f7446c3a2c1b0
MD5 014bb8b544c0c3e89317c0c2239177b8
BLAKE2b-256 750c345c1223195238077a5bfeb83f01ac27b96ffc4754cd240ad9f952ece6a0

See more details on using hashes here.

File details

Details for the file virtru_sdk-3.0.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-3.0.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for virtru_sdk-3.0.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b41df48682c5ad158fb6b6c2a445dbe82fd3203e1b0d85dc5b48930a2ec19de2
MD5 46213123f6cab48b7ec5fdfae0ec0c9b
BLAKE2b-256 306ff029e214f0f26de9a766fa12edc89c8837af764ec457e1fbd0e6ab6841a2

See more details on using hashes here.

File details

Details for the file virtru_sdk-3.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-3.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6d4f230699160a2d52dabdf5693df8cd028c3191bd5a69fcbcdfd6b18095bde9
MD5 4a3f5440542b35e879e2944e9cf7ffba
BLAKE2b-256 2129ddef05269bed488e8c4ddf8c06983cd0e8e1dc1c6723ee364421fbb3c241

See more details on using hashes here.

File details

Details for the file virtru_sdk-3.0.0-cp39-cp39-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for virtru_sdk-3.0.0-cp39-cp39-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 69380c5e30134f789a5b18f4c92919f1f79ad89fce9688e948cfd05ee406b1ef
MD5 fc27978ff3201e70fcc9c338023c4ed9
BLAKE2b-256 b3f71eb4f5fc26f57cc3bca68042fc0198ad655860bae85c2c9cf64c17d50618

See more details on using hashes here.

File details

Details for the file virtru_sdk-3.0.0-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-3.0.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 392dc919b6817c56adafca338e1efd285606102c909780a34e3903fd97be3866
MD5 0d9db845087aa5a07602852dc6225d24
BLAKE2b-256 76e3dde8d6398b257f971f63c19787674f2e8db23a903df15022afcbcea3036f

See more details on using hashes here.

File details

Details for the file virtru_sdk-3.0.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-3.0.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for virtru_sdk-3.0.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 2b06a0d20e9c065df599b520c2cfb8b2ac7e1832c034783cb720069984d86fdc
MD5 22946e3a107a97269a0157016672c5e7
BLAKE2b-256 860c90a8c9756a5929fecce2cd9e4ab71cd5f33edc16c54eccf17f37dc07705f

See more details on using hashes here.

File details

Details for the file virtru_sdk-3.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-3.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fe5a94804f8e821e1b2b2d8e9f53fd0b833957dcb038b7cc84a0ff4a2ce77326
MD5 f56aaa181915d9e3552aca83f928e27d
BLAKE2b-256 001f9270af09a3001dc9e981090cfc2ccc53913eb58d07305153e19a7b464eb1

See more details on using hashes here.

File details

Details for the file virtru_sdk-3.0.0-cp38-cp38-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for virtru_sdk-3.0.0-cp38-cp38-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 440fdff73a3af82fa4fdf5c452e8ae72d86d7699fe6305282cec9f30a99d5724
MD5 1ef9fee461f3384066f24af0ec060e20
BLAKE2b-256 9b779105a75aabfb95cfdb7ffe449d9288f6041dc65ba4171ce7ed037e0c61dc

See more details on using hashes here.

File details

Details for the file virtru_sdk-3.0.0-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-3.0.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 8d3ac01f82d19d9d8b8016a4efc8f5917658da3df57962d2006ef578e5de2960
MD5 b0aa3ab128f2671e038417b89fe64a66
BLAKE2b-256 7940973a3ae332037d37115256fb0b4ecd81f76342f87260bdda4e2403f8952c

See more details on using hashes here.

File details

Details for the file virtru_sdk-3.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-3.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d1b666f79a4a1866b809a372f5bbb40bfd0b7613ec311ec5096617dc5e8f1ffc
MD5 c1e8d63dbd9023a83e0f25ee223a82f5
BLAKE2b-256 c1d3a7f83dce0919cb4f7c1f8c23580633a77bc3c333e80ad143e1d17aa971d6

See more details on using hashes here.

File details

Details for the file virtru_sdk-3.0.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-3.0.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e2094d604518f9ac374e47e5e07ce6cec2245d1e08d3787595187f3717199e9a
MD5 fddda3079df3c473ddc0940a60c7412d
BLAKE2b-256 01486eac1fa7122e2a71b25fb6ce945268fba8a858cbe3c9dad5b9083618283d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page