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.4.0b1302-cp310-cp310-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.4.0b1302-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

virtru_sdk-2.4.0b1302-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

virtru_sdk-2.4.0b1302-cp39-cp39-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.4.0b1302-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

virtru_sdk-2.4.0b1302-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.5 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

virtru_sdk-2.4.0b1302-cp39-cp39-macosx_10_14_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

virtru_sdk-2.4.0b1302-cp38-cp38-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.4.0b1302-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

virtru_sdk-2.4.0b1302-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.6 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

virtru_sdk-2.4.0b1302-cp38-cp38-macosx_10_14_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

virtru_sdk-2.4.0b1302-cp37-cp37m-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.4.0b1302-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.4.0b1302-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ ARM64

virtru_sdk-2.4.0b1302-cp37-cp37m-macosx_10_14_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

virtru_sdk-2.4.0b1302-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.4.0b1302-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ ARM64

File details

Details for the file virtru_sdk-2.4.0b1302-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1302-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 171023e2887409506ed3bd4c6cd7021791d51656041f4c027a57d71d4348155b
MD5 a8a4902581dde4268207aac37e5309cb
BLAKE2b-256 8f73914a10e44d713894f227fff79ed8bec2dfa13e557d5b7858a750cfd9939f

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0b1302-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1302-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d669509caae72602d970b4d76b0570768f0efe7555a0126c2a99419fc0b5607c
MD5 0b0d9d31c2f9cdb604e2d9f50c21965f
BLAKE2b-256 607da3a10b01e15c1035adef6acf150d014f9df4f57b4cdc0364181fe73bd104

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0b1302-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1302-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3f9ebecb1de59188207ae2dd91c607bca251536e102b13a6d4752d44e1c8fe54
MD5 a360c6721e1c8619ab4180c7be4e8612
BLAKE2b-256 c5c00aaab6a50248e259ab271ef2f9c54de90ef1eee4efb80a3f47fb2d68ad91

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0b1302-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1302-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 bde1274fa4062f937ab712cf43d97b843db55abf984450ed279e577c4e11a894
MD5 21dfe793717050d5aea4a1501040c66c
BLAKE2b-256 49db12640da7644632905c6c2982d82c841acad4b6eefc9a9bea6c7a8b2aae6b

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0b1302-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1302-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 047625de4166f4b285f10a21cdc5b5c5bb93ba5f48b9efafa21ed82298dd146c
MD5 44dfc4798b93cb58b196cabffb8367db
BLAKE2b-256 0d42e5dd0b2f2168dd364f08736003339bd37811c945b78667666093c33da201

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0b1302-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1302-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 86e51a93281f2bf643103a59dfbd0076658ce945853a311e363d49ffdf65e3f9
MD5 fca532206b814bb81e6eb6f46e99916c
BLAKE2b-256 4e9b62a394f906bca9f295274bd545a1857710768acb0caf5e1773121a041aa3

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0b1302-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1302-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 c9b1b89ee5a0998a656533b2c6b6ca32a00a8480c816a05958c35706b1744f23
MD5 13772cac6f317cff24f3ab856df9ad4f
BLAKE2b-256 dd87c529faf0a4ebd49f9950091820b401a4af869f0ccad4d23838c6e9c81fae

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0b1302-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1302-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 fcaeea2e135945ae44da31005a14bf0e3526e8cfe6606d5eeb7b19171596f6c1
MD5 13e61884e699a45d38f5165211fdb6c3
BLAKE2b-256 d5d0496d85eb5a4a00dc02cb0127cc31436f2e2e3b2d444220e616d60eb2fdf9

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0b1302-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1302-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8b82fefa6360b536bd1e71f1b32cfe73854d9887b3a0cfc67e9f26b524553a7e
MD5 24ffb4daf71dd885bc8ef7d009bec592
BLAKE2b-256 6fd71e32a3b22f3ef0d09f5841808327c6f31a1fb83bdcb15fd34293ba0ba4ad

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0b1302-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1302-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bfca280c9ef9a38413f07357d8962e78830fa24952bd9598877a805e2156818c
MD5 18006c7978e164323360f64e404985de
BLAKE2b-256 1ba3037f47eb86d0d85f0041dd11c042dd3c20781fd86266d758937f677dc7f7

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0b1302-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1302-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 3c370b12174b65dad4f3a082e9892c4d76d3faeda9120cfca478813adbf05872
MD5 860b7a2242a2c0021ecd172c19b5e5d4
BLAKE2b-256 e2dbc48849c079f6156407cdee1232fcc7ae161b45a77780b277c14039638090

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0b1302-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1302-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 2cafcb340cbd638a9320760680025ce8012c9415de366b1eb9712cb4e9872481
MD5 ed42a84f9079c9ea5482fa49fc5ace06
BLAKE2b-256 32bddb37c3a0013b086027578b20a73a1c179da9a483276aaa51570a7883912f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1302-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 88362c799a41c94a57c9d67fe99ae1478abad48dd3c910516b3594bf3b268f69
MD5 add634bdb1608e8d052237d1c34692b8
BLAKE2b-256 5126e18d2dde489fb72d3954e942f8fcc57c74c15bd91974faaba7f7db2e7484

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0b1302-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1302-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 34028c69276f51522e228becab27d0cc7dac2e3d4e5cf64980b083003a03e03b
MD5 e0be813645a1a16f8785477a08c916a9
BLAKE2b-256 5a336a25b69ff13e7411b66f3f1d81b38ee760098c93fd2a15b2c3d38e207e16

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0b1302-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1302-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b46205533ebdf6183ca56dc01d5a785e7f98f375d3fa791937d079ae5185f45f
MD5 10bc2c8d764e74d03005c75351f1aeaf
BLAKE2b-256 998f59cd312af8cb2fd768de805422f1904f41e8b4b825ba728cd3ae3d8ce3e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1302-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4bc9e01a37cce33f4aee59b79df5a65f53fe66596110e3644705a254a8583195
MD5 6d66e8b56561bb0cd60dcdcd04923bf6
BLAKE2b-256 77bae8c13004b136ef7205433a5d7ac363a4cb50a444c3144aa40c73e63478ea

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0b1302-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0b1302-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1158587ba9cf82a8c6766452b809f2003bbc35178d4cd05e217758b7e1498178
MD5 295830a5db61aaf169d4347916bb9887
BLAKE2b-256 674946a97756908d9f152bfc1234965b349aa7b5480fdb03d6f8a9ec708e3cc3

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