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

Uploaded CPython 3.11macOS 10.14+ x86-64

virtru_sdk-2.8.0b1334-cp310-cp310-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.8.0b1334-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.8.0b1334-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

virtru_sdk-2.8.0b1334-cp310-cp310-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

virtru_sdk-2.8.0b1334-cp39-cp39-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.8.0b1334-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

virtru_sdk-2.8.0b1334-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

virtru_sdk-2.8.0b1334-cp39-cp39-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

virtru_sdk-2.8.0b1334-cp38-cp38-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.8.0b1334-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

virtru_sdk-2.8.0b1334-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

virtru_sdk-2.8.0b1334-cp38-cp38-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

virtru_sdk-2.8.0b1334-cp37-cp37m-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.8.0b1334-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.8.0b1334-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.3 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ ARM64

virtru_sdk-2.8.0b1334-cp37-cp37m-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

virtru_sdk-2.8.0b1334-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.8.0b1334-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.3 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ ARM64

File details

Details for the file virtru_sdk-2.8.0b1334-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 46fb640d2c6450a0e7e5eee727324eb030c897436bf4f5cec0d43c2ee636a2e4
MD5 98f4841a95e1f7dc4e3161a7a5a372c4
BLAKE2b-256 4cc6c749c0d9f047921b8d78e647fb8cc83c4e8e2051824b7483d6db1266bb7b

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.8.0b1334-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e54832243955266f03bc5c73145520fd66b861c9fa97610fcc805de39a15e24c
MD5 f3531eb52c81f78e6a7cf8c8e86b7945
BLAKE2b-256 8cfcb9dcda3c761636575628383ec83104bb7c106b0965172dc984b5927187a1

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.8.0b1334-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c600c8f6f24814ab03e16e68beac9b37d34093504ac1b3ba07ebe01b3a6ed3a4
MD5 bb3c301edc6080d5b21affa192ad2440
BLAKE2b-256 592e35f7ec08f03e28e73028986d2e7c460f65518af16c49e022926d34526e3a

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.8.0b1334-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6e9503d3b94cbf9bac981cc96efd2a78cdf5704ca7f37f8e109a4006fb868abe
MD5 ee87d5f90015fe0cb6e3e5dd98b93626
BLAKE2b-256 0afb679a14cdbd33872561942dd46ad0ad0c20b58c2a8d4bfb9bcf6447ff060e

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.8.0b1334-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 4145e658c504f08cf38168c0e7b3f5baf4dd739fe365e81c2b818dd21b0a8805
MD5 756a828569887c7fcaf30d6dcd81f744
BLAKE2b-256 66230d036c0a6fd629d318e9cb2d08d8cd26b77b4dbad0390f17475ff49d05a3

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.8.0b1334-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 1a8f7221d3a5f6549857afe8163b110d9d1e31bbe8775bc6ac64057012f76106
MD5 6515e0267a29da2b5c11d27406ffe654
BLAKE2b-256 0d210ae576e5fa7dba506c2a19f53ddcdad8e360e3f8f0330e433d843b441fd8

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.8.0b1334-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3d34151f67fccd20ff1b4b0ad2be3719a214cb17498edc68380472e21be2ba57
MD5 66b39ffe733e590571d43c82bc0a2b00
BLAKE2b-256 1143c1c0293e0159bfba3060c92c6f3c3cfb89150329b7d0af56e858dca7a89f

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.8.0b1334-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4a26d8672a55ce7b51de4097cb61e9ea2aede1721f6f65d4c43b5b9b2a69aa24
MD5 2ccfe551014b18fac8842b0cec81332e
BLAKE2b-256 eae06d2bf29864584a09b0750450b68da8df4395e8f19ddd25fe221f88aade1a

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.8.0b1334-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 9b8c836793f7a9db247245a61437740a0e3e8141e9736594d6a2d410f8e78673
MD5 9ce570382bd054a3c6dbe8ae23d20e2a
BLAKE2b-256 a8d599b97e632aca5ba837821a204fd112ffecb576029df68a435bd3ac3f8d20

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.8.0b1334-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 64a059ec19cd3e7699edad21818797d3ad9651f5a47a83b5e6b4efaa1a553d49
MD5 9ed83b8528d13f995d146b2bbce3b0cc
BLAKE2b-256 a74d47d19d074559069ed0c32bdf26678de90314ee4b50a960e5ee8501805a97

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.8.0b1334-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 937c2cdf897fe4f3677756fbca254f51156a3a390580fb8015eaebcd5d9a01b2
MD5 2f18f9f05790f6a2858a8ea6a876ae6e
BLAKE2b-256 ae721720566dae8a21d5ca7995399528fb62ce893e8648547e945fc28addfd3b

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.8.0b1334-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fa9051eebd98525140c1b50f7595766880e1ca1f004dd49bd6158ceece20355a
MD5 61158dd53ee13af80953d4f9defa4bf4
BLAKE2b-256 90b17cca6c29ac8599575f105255a115bee3723d13145e066b3dff4b85519e9c

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.8.0b1334-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2ce0c746636fb5cbb1167b49021e03fd0dda5bf7227d9d72bc7df933d2c34d98
MD5 b6e0503f826b7d3e3ff70a663873c368
BLAKE2b-256 ff1d35d87247ff8bee4c330bb4cf6ae20a7019f9b7f8c1d11016661d9d176f22

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.8.0b1334-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 fbef6ea2124329d1ee6b695df3b69b6c6aafa72f1776c8cf7736c25e06280e33
MD5 28e6a2d518867b1e8c55e4a6d092541d
BLAKE2b-256 aea2998e216840e406c08432e49461031a720325a278d833e50b2659dfdec5aa

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.8.0b1334-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c76bafab53b5f79a1af5d514834bf7d7c1ecb4129bd57d68694d9069dc9020df
MD5 051559912e7156033c1946f1de5c438f
BLAKE2b-256 a26dd9d9af00932299b0c14157bd9b865ae2087022a3bc1d78a89a627fad404c

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.8.0b1334-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 031b5944df684d998412630de04804a951ebf401e20ec4d89dd5ea0d2f4477c1
MD5 161704980106bfb2bfe3c914c0a3d695
BLAKE2b-256 5db6546145dbfd2210a6af291b50047c56b3f6f9f46f16d92f3c0f891501e642

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.8.0b1334-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d2a145fed9177a6507e4303827c06199a4eb2f8d8e243059d5b9175b48addc95
MD5 756151d85f8af6d5e08ace081dbd75e3
BLAKE2b-256 e57724ae02b13327af2a4aa39f8a2104358ea62152b720aafe1c6b4e86a67b36

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.8.0b1334-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b8cc537cbb3c09b250ce1af6d059144295333e9f6438eddcf24ada6301bd0d4b
MD5 3c16574bc5c5abf94265bb271be174c4
BLAKE2b-256 1f3bdec2cd4dbcd4c5d07e77752d40747625cfea7369da01a26810a817e024cd

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.8.0b1334-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.8.0b1334-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9eb84b8cc761d30948f4f2274d2c58381b7afb0f807b60286076c4ce01b00da4
MD5 43f9c6f22b0855860a1c2457c9e441ff
BLAKE2b-256 389bc8529202186ab3961cf99d43f1cc63670e92b2a8b97afe3f0253378e0fae

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