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

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.3.7a1539-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

virtru_sdk-2.3.7a1539-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

virtru_sdk-2.3.7a1539-cp39-cp39-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.3.7a1539-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

virtru_sdk-2.3.7a1539-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

virtru_sdk-2.3.7a1539-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.7a1539-cp38-cp38-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.3.7a1539-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

virtru_sdk-2.3.7a1539-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.3.7a1539-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.3.7a1539-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.8 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ ARM64

virtru_sdk-2.3.7a1539-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.7a1539-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.3.7a1539-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.8 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ ARM64

File details

Details for the file virtru_sdk-2.3.7a1539-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7a1539-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d2f0216615fccaa3097716c702324187f8a6e3b690c154fb27c0e574d098f9fc
MD5 5485d5492ffe2c97ad14348b7462e921
BLAKE2b-256 8ef1c256d9525eff16052a0a44c3e77404f481f38972a5e37588b0e2890bffa1

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7a1539-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7a1539-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6d5b8e56d3a40ef45e284830a84c452944116f15b1e695f2b7af29a234d60a3b
MD5 2a52c6223d7cbdb55771e75f21c24837
BLAKE2b-256 c27855aa17dbae24024f13fbfa271a34cff7e92b1078b3f1a2006bbcecf65f3a

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7a1539-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7a1539-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4be49a0308a055d547ee172ee0ebfd6dad0cc225f093f3f72464e0047ade3c50
MD5 f9c69e5d7bec967d49fa029885664f90
BLAKE2b-256 1dd8baf87944bdebb4b4081a3a468e04eff1e693e67e98238aa11060e8ce0150

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7a1539-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7a1539-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 cf2b4f10faa9f6bd4a65d9155d236354b7c5d7292984a461528e0a492fe645a9
MD5 ae3b9d1146d4219fcc0d950e4ac9b5ab
BLAKE2b-256 d8c3d2cd7f8aeb694d3c58f66b52c1e862dd4e218213929cd8cbd4f9fcb173ca

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7a1539-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7a1539-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ca81fb7f188c41dfbdaf44e084548baf8fe27fecb0c6690761654a735386d6e2
MD5 21e4e553b7d376380c8f48de7824d994
BLAKE2b-256 a7acfd57f70ccbe441a2ed503ae0db63e7fca7fc72f7d0f21358d2f4450a4dd2

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7a1539-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7a1539-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6fa5a1d8d37fe7fb5c46ae3a1be3af84855626dceea15487617ef1a3e9b916f6
MD5 e5cda49c214589270c188c75c5b217b4
BLAKE2b-256 fc70266c9e8f4279dbcd4527dafae56c9f733d6f7057236b07c07b8f2a00c4a6

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7a1539-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7a1539-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b5015f0041c1f8a45dbbaccb59b79c481598e36999f329d9bb1f236617b29796
MD5 5be9803eb9e312dc7079c2efe5c3a39b
BLAKE2b-256 82d612cdc9314c5e87465167fca96d0f579445aeb1c952171e3bdf2568097162

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7a1539-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7a1539-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 a9a6a2553c3825316f61f0dc71615fbf48b853369e0dee7a24c5d7415daac9a5
MD5 2626d73ec45d40ae046f396395019a63
BLAKE2b-256 fa047a63906c57d704079b57f270065be178bd62b24bf53d66ad910299220a1e

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7a1539-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7a1539-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a936e8a7ddbcf2e0260fcd32b64582de19e4b8f3e29be0181a123d80cba31c8d
MD5 5cbf96ca11e1e9ac22d317e0dfb659b9
BLAKE2b-256 dbe1e65a937018106a9b315561b2414f15d6bc55efc1a4a4013d1a450a80d7ca

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7a1539-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7a1539-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2c3fc78e751d27dd9714e59b3b322b043a3c26d24f0c9b66a122c2c7dceed941
MD5 18ba7865f418cecaf198484a47e2319b
BLAKE2b-256 5247f4f6ceb56cb39be399b2e073db924f957cf6ecd52cb8b7ee53a2de9a6223

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7a1539-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7a1539-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 1e613de71812f14eadc6e4ae0317f691d28eddd3c75a1afeaeb95010b6867b94
MD5 235eb531f94bc09fa5a17ee0140be971
BLAKE2b-256 919c6b22548c6744864180dce47e4f0f6272b461744ebeff28f5d42f8e767355

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7a1539-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7a1539-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 404c4d39aa09fd3ceecd88f241a9577f7d10047cb8e551a605a4a1a605b56148
MD5 5817de9ceb24967b3e186c2f1415d989
BLAKE2b-256 44ded17149e7f0debe745fa99c49957379c90889a7643d1d8d6ae5ddb32aa4e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.3.7a1539-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dd6a7156f6eb1da031ed165f40c889e3ec323153fbe43978622a3f5d54c3e1b8
MD5 b757afbace8236b1a5d2d53e19d010ba
BLAKE2b-256 4fae3fe48c17c5208054459a4755d02cfd5fdea8f5c07c47a91a313749b760bc

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7a1539-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7a1539-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a44356eb99cac6f13a068d4ceeb18630fe9685781c5cd6357b0fe7777278bdf8
MD5 4a2ce34ebb19b1159d725d3cd70f9db0
BLAKE2b-256 b6f302bc073d87e829aa1d343934f1f98f431385d511dfae8b9668c100d861e8

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7a1539-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7a1539-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b73c2782e2fe2c85d29460459843ed4934342d55f021cdc5b3a0dc48733dd4d6
MD5 9a43736ff6242fe46ef2aaa614979743
BLAKE2b-256 492ae499e8ea9dea594344f5ec4732380c0d3e24694097427bc077bd82f9f1e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.3.7a1539-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d6e52812f744f15bfe5d903b73541da3bb700fc4a12862b33cadfffb0b98607a
MD5 40ce59fd6ff403d9c4abae7e23c2dc74
BLAKE2b-256 f04148cb64ecd60be7fe576e9cd13f0d3319c7cb1e7029007256f0635fdb3055

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.3.7a1539-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.3.7a1539-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 86a743936fe846460948849030c42e22b870116f076da2a7afc2edaa31c726ee
MD5 f46e76b364594a4ef7b72e629b100ffd
BLAKE2b-256 79206ce6e0f58ead58671827108976b752824dac19c2d8c75dbaa9eb7898325a

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