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

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.4.0a1711-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.0a1711-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.0a1711-cp39-cp39-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.4.0a1711-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.0a1711-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.0a1711-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.0a1711-cp38-cp38-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.4.0a1711-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.0a1711-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.0a1711-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.0a1711-cp37-cp37m-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.4.0a1711-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.0a1711-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.0a1711-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.0a1711-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.0a1711-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.0a1711-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1711-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d44a6c074aabed4a8abc76bbfcfe08a23c87caf95d25e5736f4be0f3fbb120f5
MD5 b1e0e259bf8674eb143e2dd5d6576a7e
BLAKE2b-256 b26881ccad40355f303a2b2ab128a4692e57b91d0ca2766f3f5b1d0d2837f142

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1711-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b03b78e64d8360ccd6aedc24283912483d215c7c82cfa50f6f7236b4865bb5a1
MD5 32f540efab629995eacaa975cb6a5949
BLAKE2b-256 f8e8553510da159b90817c3bece2e01a3fb1bc6f01dde3bdf3004e0e92c9f9fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1711-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 86f9a6b36e8b5278e714db3d3915a8db914edaf3c42c0ec281cb6e54462a4b02
MD5 087c4e4b0c6f5028f9198faf1c7f8cf0
BLAKE2b-256 8f96bb6fc1a6bb8d24c10ca2550029d7e6e69376a682c9d8bf361ccfea75cf53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1711-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 13ef0095e80bd04a0c231795a8238550f76f0a8f43b5fdab66ca7eb66735cb61
MD5 f5876d0a57fc7613401da497cb2dfcd1
BLAKE2b-256 f06e2df42cb1d4d44c8260b00c2ed63ac075384c9017a2837e38c0836cad19fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1711-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 efd61af5ff887b539bf04c5948f5a15f72e3fde33a84b299de489f91a6d3d49f
MD5 3f1763168fa474bffd8ee2ac535e0e1f
BLAKE2b-256 8fbb889575fa05d09dcdf713e3583c0832e15bf6f4a879f0653664bdab9e355f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1711-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c975edcd05ff1930db5844513149fc01730a67512322b82aa5d4464e44114676
MD5 16cd76b66bf1a60c7370530cc9f6df47
BLAKE2b-256 663eb31d1c6c40238f8a60df7fb0a8773fa5670a3f1bdf9ff4194c1fa74dd989

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1711-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 8890c683f4836c440b00903ba700faab535d17a2084a2024cb65b1cd287e04bb
MD5 6fce804963aa55db9ba12d6f11e03a7c
BLAKE2b-256 c2ba7e44df4e56d39900aa6326f7ac276b4a04936e353974f1daebb85100ae35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1711-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 419c06fa81811790a209ee587093fdb7bf638b6ea04f52cb9e9d23244d66a192
MD5 f80ca6f96679e9e26f737acf7f5f928c
BLAKE2b-256 ff5caf6f383bcdb5d2f4f37ae7bc0d62798d0bb1df5509f2c02cfb995d4072d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1711-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 df5a1f4582c26a6041fb084054141ddc6c98a55e1722fdaa7b300fd18d61c87b
MD5 a8866d9ad1f9ed6918e0b9cfbc649b75
BLAKE2b-256 21bcc51b14865d60accc34eae9bddf865dda22bd2e2dbbcdb3d974625d67d8ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1711-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7bfaf38cc985443a3f14864da75999bae32936b55d90227ae1d4be60719c9edb
MD5 0dc1c40750077b4785c64993ded4df04
BLAKE2b-256 219a5e3662773815f30f199d3d3b581d900b446f7ea159823de571a26d4f4225

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1711-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 5b84ba4e4ef9759a6b3196e25c3561ff06fa437509cabf7b4ff30f74a41bd34e
MD5 6933232535b26ce84183868e545cfef5
BLAKE2b-256 8a93048bd79f587f43db79bf81f2850323fc3dcdce2216373b3bb145f8803449

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1711-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 fa6b736470386cc02e991a1da38efd4f3eead4c6eb467862c610a47436663de2
MD5 3668728c2c8f23acf048d1611231cbea
BLAKE2b-256 d4f8b2821460a3d315ecfc2c95bb9ef59baf5fcda627060773d214607a0498fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1711-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a636ec65e66b38e262d1d2c06251d0d9c20b8de9a62c77ce10e3403174d14bed
MD5 d00a95c5ea2f02d7c8cebf05c9d55f8c
BLAKE2b-256 4c4f0de45ff08bd039008e25c55b23b0656edc07e0496d3ecefee1fca0a4e257

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1711-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 74ee03ff4af2fc0e96dce6a08aa8fb548df3861a98869a65e8663897520adce0
MD5 e214ff8f832899f135032fbf3d1e383c
BLAKE2b-256 9817dc3c1dab0efea92591bbc15cdb9b9e9028ca3e47c52ac0c1d8140576c5ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1711-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f303baf1453edee220c165e3bac36f74595b6734bee4ad87ee3a2104bb6205bc
MD5 296e794d865ba06e3a55fea4bd72ca33
BLAKE2b-256 17124ac63092913acc509c51182c72b46005c20a55844fab41f63b03994bd00e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1711-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5a0bd942b440febf15b43c691e2140932a90ed2cee8ca9283f32d4699555b149
MD5 6d14662a200f1a397fe13663650ec1e6
BLAKE2b-256 cb788f9bcd620bd9df8f70257dae5e1d811bb13536802ab6d8e7f8209247dd1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0a1711-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f82154b68a9d23b39383d40f95fc076923af4ab2eef4d357587d87ab41d147b5
MD5 092bfdcb196487759a33eeb583d87b68
BLAKE2b-256 ed471282cd9178e1521b13e2752ec8c0b76066d77370b955e43d775d2d772831

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