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

Uploaded CPython 3.11macOS 10.14+ x86-64

virtru_sdk-2.7.0a1321-cp310-cp310-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.7.0a1321-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

virtru_sdk-2.7.0a1321-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

virtru_sdk-2.7.0a1321-cp310-cp310-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

virtru_sdk-2.7.0a1321-cp39-cp39-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.7.0a1321-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.7.0a1321-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

virtru_sdk-2.7.0a1321-cp39-cp39-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

virtru_sdk-2.7.0a1321-cp38-cp38-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.7.0a1321-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

virtru_sdk-2.7.0a1321-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

virtru_sdk-2.7.0a1321-cp38-cp38-macosx_10_14_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

virtru_sdk-2.7.0a1321-cp37-cp37m-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.7.0a1321-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.7.0a1321-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.7.0a1321-cp37-cp37m-macosx_10_14_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

virtru_sdk-2.7.0a1321-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.7.0a1321-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.7.0a1321-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 105c85a666199440334df4b923c6faec6697abecd862203f91e11d4d5887e121
MD5 d603d83a9071678dcd8d5aa59d253f4b
BLAKE2b-256 ab775c38a43d27e5d17564f0ca13c37a349d068eda184df3e23c602eb3cdab1a

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1321-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e3af32b8f6c3fcf68ffa7f4a404dbc0a126a1d16f70f7dcf2df8c33e95c88a07
MD5 a210576d9b41f32a3916db6f39b337c5
BLAKE2b-256 5adb4c3a924556586dcfa9c8f89d3037bc48c341c9c3f7530200868104dd7a2e

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1321-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a01f4edf97a0aa07d6e33e1f57e6a8adfad5463a958373d7966d451fce3a7a56
MD5 26eef23f792613ffd75b027f9e5edd4e
BLAKE2b-256 a41700bbc97b048d524501eaafeefdecfb298949f62095f35db37d500d66d8c1

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1321-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e2e0e8a9e892d85b6fe61e064e4e95a5f3af8116cb444dd8ca89a0dafe9e1014
MD5 746c46c859f368385e5f071993585f49
BLAKE2b-256 d7a725fff5bdd2ed71bb7d36570f1c5df1f90f5e788142ac67bdfb213390c8ec

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1321-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f047deb5c3fbde76ff847a6746f94c45cf6a001b02666e471607b625da892d5d
MD5 91d06b075a17f73ace18eb3cf9f48ef3
BLAKE2b-256 c6140959539c30a1b2941ad22108ad9cb7ff7ed3f2fb8db6cdf30a9809004ff6

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1321-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 97fade362e9907c473361a1fe087a59a3a68d8c33fd4d3847e1b437c901277ee
MD5 1a81fc034e983f69aed148604ffd5d56
BLAKE2b-256 5905ac064efc66d96ddb9b5f0136c84eacd18c3e36268462cd56c931f73e1659

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1321-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c356c48ed7329a095c2919130e1496c356495165ff761ad7bf750f7f361715f6
MD5 57d1e3a153a9920fa47847d6ecfc994e
BLAKE2b-256 a14a2423f60b088ec7fc4acbecc0085a993baae9ba14e1fff2216e171aef9160

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1321-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 899a022886257f9f79582071c3d7e2bba64799c9205054dae737fb18a71cef9b
MD5 a2321f8c792a61e23feb6c779d70a552
BLAKE2b-256 074e666f3bbe51986602ad49702a094581f71018898ff131ca05a478cd653fcb

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1321-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b7b5f06821a50663150a362dfa3d855bdd0479dddd8bed12de8c67f4b2ea2f22
MD5 8451c60b26542bdf1d5557dace0f33b4
BLAKE2b-256 2421f6d83cbcdad42bac014f9b60f79347c25c229793d02cb077b0ec98454ab3

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1321-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 653cfff65f46a47bfb4b6ef1a9f9fe1fc6a994b679cc5f3dfb0c57c3c016abcc
MD5 28f8e5836c1e112a49a89c8f94aa93cd
BLAKE2b-256 29ada8097988e49327d76d2a88fa26bc075c6ce87801ec06be2631449351edc1

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1321-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f6e6af0a6d66eb4985cfbbc0e6a8adf9d110fe756945bb6e2920160ce41aea06
MD5 2d569ced7d30f21e97b3f5cfc6ed0e22
BLAKE2b-256 8e802b524289b7afa7947b610a142480b5e51b9801f852d60503f6e9635b49b4

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1321-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 78530c14fdf47d662d76c093738b3b42684f9e77782b983be3c32694a97e9a38
MD5 197b27bb7dc7a16ab5894a09c2aef8b0
BLAKE2b-256 d764d37fe7a75b8a8aad264ba86b6d9c5505998906d3b7381079506f80d8f5b5

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1321-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b3553ad08d73771d561b3464e95ac60127864dc0385ebc12fc5d5e85339e394b
MD5 eaa774a914fd732485eb0c761160de24
BLAKE2b-256 2129faf2d4243e7180c957a2f73219192a17852036774b92d28900862ec63cba

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1321-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 9a27e2d7d76cc5c24c1e99dc2479a3aa17990d9bd72848c68681023996ad67d5
MD5 796aafb29cc0622bf2599b1568a077e6
BLAKE2b-256 bc18464a907d4e530cb68f7a54f8374aa2331b711aee93e1c971a1d1b3e4854e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6df45f4dffcb5e463f47008417ab81c5e4be240e76da2851893f4289829cc99a
MD5 a97d1c369555a86d99edf783cbb8bded
BLAKE2b-256 a3147f436db360c51f3e8ffea3a2e3f18e8e2d95ad54b61735271c95ad504a7f

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1321-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f3ef7b046bfec267a0a7bf5af1180b66e7467633873c20dc463fc19fba431d11
MD5 c4278e405e0493cbea2c55cd5489840a
BLAKE2b-256 572213be207c8b75df6237e68a11a56b67e72b5a76400771ff478db55e81fe54

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1321-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 3cd78de7983fd26489b1c7981a8267fb40e71617130ab9cabd30b7ca3d1e011b
MD5 ebab5f0ee92f55d6e9db3e8bda94c937
BLAKE2b-256 31c43d54083da2a07cf0b2a1d3a046284a7ea4f7898cac0e30c789861707beab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 783c616626da8ea0a70bc4fb5ea001842120ee4c466c0d7a34acc19c5ffbfe99
MD5 e31fb0b7c5d0f57634920342deef90c7
BLAKE2b-256 f4f23dabbd9ae0d9ec7d1d5f73e8e72486a5ead430ed6417f10f2661e2465a16

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0a1321-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1321-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d8aedb3bdd9215de77273a95beccea5890e0aa3e6ebbb4960817d1bc3772dd9f
MD5 75e3ded6fde5c7f9787fb67ccf20e882
BLAKE2b-256 327b2813e49b10c1f4c22f6cd35ffa4979b1634caecb78582f883d1d3f198212

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