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.6.0a1313-cp311-cp311-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

virtru_sdk-2.6.0a1313-cp310-cp310-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.6.0a1313-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

virtru_sdk-2.6.0a1313-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

virtru_sdk-2.6.0a1313-cp310-cp310-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

virtru_sdk-2.6.0a1313-cp39-cp39-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.6.0a1313-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

virtru_sdk-2.6.0a1313-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

virtru_sdk-2.6.0a1313-cp39-cp39-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

virtru_sdk-2.6.0a1313-cp38-cp38-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.6.0a1313-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

virtru_sdk-2.6.0a1313-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

virtru_sdk-2.6.0a1313-cp38-cp38-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

virtru_sdk-2.6.0a1313-cp37-cp37m-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.6.0a1313-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.6.0a1313-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ ARM64

virtru_sdk-2.6.0a1313-cp37-cp37m-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

virtru_sdk-2.6.0a1313-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.6.0a1313-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ ARM64

File details

Details for the file virtru_sdk-2.6.0a1313-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 cba9a9b0729992d71938bcd4e5ad7956d9621c603dea376d6979bcd93e76ef6f
MD5 b54812ec5379c3cf1d13fc56418056bc
BLAKE2b-256 cdea7a27514baa8c2d809bd87ff21b54910d81bc3587d2e24b279aa44a3d4175

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1313-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 794970a3640b5345c8dd91cec9cc95fbfc65fefe7a51ecf0038febbecd622418
MD5 d9c67ef9b4d6bec894cbc5b8f63bf4c8
BLAKE2b-256 a095387fde13921538770383a938e8eb98a691ec728c6779ecb897c8a3b2c96d

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1313-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 62f069571121991b031f364878e479f09d72dc4e098951ce3502c98e7ae4f864
MD5 f86682ee75a75335630294a4b0b28e3a
BLAKE2b-256 e8a51318e6b255745fa8ad80dc0c75cc2c683c7910f313a006092257edb16e26

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1313-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c5cad02e2c9c22de24c310cc600a938e2f4a3e155b32e218d6f6accc83afb6b9
MD5 a195f413de85583fabc79f47141a3d3d
BLAKE2b-256 5937c4bc45e8d5029d857cf0c7f033b618cd85b0c705db7651f7107389cf3b81

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1313-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 8c74a7b9c36ab789015db0e4ddadf6a5ca364e4fc35e1c4a4d9a3218c8eb485b
MD5 caa878ed9b3801381bdade4478009f99
BLAKE2b-256 bf3a1d550f17732fa5c4b7dc94824fa225dbe5028891628b732ad08e4157df32

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1313-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 aa6657faa3a9aff2af4dcf6515bb1dd397f0123d350df737b5724916812d8727
MD5 5d81aad0643c24faec3ad88c33f30098
BLAKE2b-256 38fbb1728a5860e98c9ac50bdf69551c12e0eac9ec3dc06f35465929b2a92297

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1313-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3110e49855c5baee7b2dc06e8f3da61ad77b370bf90aa8fd2ab9c00dd15ebe06
MD5 449522be0a0696c20558bf0436ddd7fa
BLAKE2b-256 27bfb4ed46d9dd6d9bd675e66733278b488f6fc478728c0edc8a1f26a88b3070

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1313-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bb996200ad2fe07867f4114ebfe70f46bdc08ce85793c069c2429072a8bfb610
MD5 929e07d1436ce9791f0f08272677c899
BLAKE2b-256 5a10e54679b95d0384c8c639f395d4446a03a1e37be1048ee83d5e041409a570

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1313-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 6e0dc04ca8dd01de9b89839f0ec6c7961bdb1eeb06927b19fc35476bce524199
MD5 3eba3b935e78713552d0c56e0eef97b2
BLAKE2b-256 ef6c396aab21ea5a5ef58683ff14aba2fbb304062c348ad5144e9ed078513117

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1313-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 3121d261451bc3d7becd8e6df9c6e2bedfbda713780a0635d871bae73f2c40d8
MD5 d457300b15d53803b5036f5227946184
BLAKE2b-256 715047472eed55e8bfaf28115aa48ebbf864f7c223f575851ccf27e805ec9934

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1313-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 93bdc8e810f3a118918817bc670eb395dc01f6834cb94303b499a15f627ef298
MD5 580f7ff33543c1ebfbd4e39bf02cc114
BLAKE2b-256 6fe635e5b581ab730a2be0cf13f4ebdf40d56b08be353d8c8161ceccfa75cc78

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1313-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 aaca52e5ec4330811c8487deae1c5d19918da947f04903ecd2c42b9e55e39f4d
MD5 b96083319e96074532007692225dd1c6
BLAKE2b-256 0ec427b277c4db2fab99f7db3c7c62f3bb8fdd0ea311b78315ab11c66fb48acf

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1313-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d1fc96d09b4ac063dd105bc1e213d8de93879300612da07a48254666952a2cc1
MD5 745a13341e45e9fdcd99d2269e6a18bf
BLAKE2b-256 aa3ad15a06b07a49ea6265b1a46313ee1d02e01ebd269416da4983064ae86ea7

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1313-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 91856b6ba9e496def82416e03766f1dea130a0222101ef1bafe4ffb248e0d539
MD5 6499145f26a017d767ce7a1e50cc16d5
BLAKE2b-256 8ba9a770c5fbac472afad9b1dca91c00010015057b8a98fa033c835cf55128d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c6754e62780a430c6ec2db27c3f79f04bc6bb110af77acc1496d3db8cb1ccc6e
MD5 b3d12db0e21be9cc2a11682900a275ab
BLAKE2b-256 83be5fee4bdb5c577cdd7386f652314444afbc7c4bf2c8d3792785ff874c0bad

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1313-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 96a9a92a800cb846d321dce4b69e64facdd84a947074d16d4f1e1d7655f2df1b
MD5 6bacf998a6a8ea0c3ac208679891ca82
BLAKE2b-256 5719016c147c5ba5e8234435540653ca978cfb7aa8b1a412de27ab15b08559ee

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1313-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 a22cc84ed7be3c0ad3901dbf605635d3765917e3129876fce6f2d00619057279
MD5 0288d0a6d9d939c246114a998f5e7d2c
BLAKE2b-256 d62ce1c2d0f9502a13f41a053b87469e73f7fb73b7d8ebb5da126f8843fcc286

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6e293708c54837b1c9003f9e15b8b410e2c27def834ee7aa91224e42d569af92
MD5 06ffa4bd997ad3f06a5bad53cc4a684d
BLAKE2b-256 bc40675b183e4a8b2c184475c1b835412ec4c1c86de157f552d1c3fc09ed6f67

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.6.0a1313-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.6.0a1313-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d4051808ea8e086b2053a732cb2aec52a65ea9a665ccc625e90a2e64e7680230
MD5 7a0d177c8b703ba166928747662fe907
BLAKE2b-256 937eec7e9f1c3cc500b878a08bb21f86e550677b04cbb1657199a44d52a66ea7

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