Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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.

Metadata

Release files for virtru-sdk 2.3.4a1289

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for virtru-sdk 2.3.4a1289
File
virtru_sdk-2.3.4a1289-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
virtru_sdk-2.3.4a1289-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
virtru_sdk-2.3.4a1289-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.12+ x86-64 Details
virtru_sdk-2.3.4a1289-cp39-cp39-macosx_10_14_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.14+ x86-64 Details
virtru_sdk-2.3.4a1289-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
virtru_sdk-2.3.4a1289-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.12+ x86-64 Details
virtru_sdk-2.3.4a1289-cp38-cp38-macosx_10_14_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.14+ x86-64 Details
virtru_sdk-2.3.4a1289-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
virtru_sdk-2.3.4a1289-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 Details
virtru_sdk-2.3.4a1289-cp37-cp37m-macosx_10_14_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.14+ x86-64 Details
virtru_sdk-2.3.4a1289-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 Details

Total release size: 49.0 MB

Release files / virtru_sdk-2.3.4a1289-cp310-cp310-win_amd64.whl

Download URL virtru_sdk-2.3.4a1289-cp310-cp310-win_amd64.whl
Size 2.8 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
3befe0104c6b492cde1c2254f94d89138e77e3426df03b4f8290b0d210b0c918
BLAKE2b-256 checksum
How to use checksums
b6abf78878ed68670db4c97e49b39802e3067d3a0bb55a9cac12f071eb405500
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / virtru_sdk-2.3.4a1289-cp39-cp39-win_amd64.whl

Download URL virtru_sdk-2.3.4a1289-cp39-cp39-win_amd64.whl
Size 2.8 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
9173c88762f409fde83dd6f57e1069e6ccc86884596e3d93756aa85bbe2e0e99
BLAKE2b-256 checksum
How to use checksums
f474020c6c3754621962f794da201e39488bbb6ab29adb51bfa4014aca05e3c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / virtru_sdk-2.3.4a1289-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL virtru_sdk-2.3.4a1289-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 6.4 MB
Tags CPython 3.9 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
49b6f4592a3984ab1bce3c845778dc35fa4d256214a440f4d1af980b42b76303
BLAKE2b-256 checksum
How to use checksums
b3d0cd5fc8a7ddca1f4710f100c1af373bf89c079211c4993f46b3ccf0078642
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / virtru_sdk-2.3.4a1289-cp39-cp39-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.3.4a1289-cp39-cp39-macosx_10_14_x86_64.whl
Size 4.1 MB
Tags CPython 3.9 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
5b58a03ab05c0aba3eef92803ab6eb8edda13f8c2865b8bdd332b72b27c47fae
BLAKE2b-256 checksum
How to use checksums
aa2de4cc864e8cd13c7e27698760d92e77dfa209da483ed864a8a8e87e9a3e41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / virtru_sdk-2.3.4a1289-cp38-cp38-win_amd64.whl

Download URL virtru_sdk-2.3.4a1289-cp38-cp38-win_amd64.whl
Size 2.8 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
f21dbe09aa79dc4cf4af1e8e9302b43502560b59eef3075c976dcb9acb77e63f
BLAKE2b-256 checksum
How to use checksums
684c94a6e38d5330f671212a8a8b1e52cc4abf845f362703797517126efbe364
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / virtru_sdk-2.3.4a1289-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL virtru_sdk-2.3.4a1289-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 6.4 MB
Tags CPython 3.8 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
5128ede08ab2f5dd0dc9f59adfcde0259651f8477973d5f4ed34d30954d033c0
BLAKE2b-256 checksum
How to use checksums
59a5c47f71f9a65905fac2951aa3fa222aeaa8c8b2baa4d0cf5008458ec05a90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / virtru_sdk-2.3.4a1289-cp38-cp38-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.3.4a1289-cp38-cp38-macosx_10_14_x86_64.whl
Size 4.1 MB
Tags CPython 3.8 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
b9ed1cf5c0acaa112f47cd75c3c77bc4d9f89e5889d4ce553837eaa9397c4ca0
BLAKE2b-256 checksum
How to use checksums
f85f6ff408fced5ce498ae4e60076f15ea23f5e1ab690d57d2c09c8b87987fd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / virtru_sdk-2.3.4a1289-cp37-cp37m-win_amd64.whl

Download URL virtru_sdk-2.3.4a1289-cp37-cp37m-win_amd64.whl
Size 2.8 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
d6ed5a591f6aa853f9319f173912ab987bd855aaeaf6ab91823118fc74c9ce6a
BLAKE2b-256 checksum
How to use checksums
b50344cc5135ca355cda62f5e62f88d1a3d08fa872f63d26116e924e6e19f77e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / virtru_sdk-2.3.4a1289-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL virtru_sdk-2.3.4a1289-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 6.4 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
b00cca07eac1f05cc836a29180da51489474071c97f51a1e5cdf9a461670a0f7
BLAKE2b-256 checksum
How to use checksums
0ca80d6c5f1afc2a3299a111ea7ac9bf7dd545062d9d8b075d52959768beca2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / virtru_sdk-2.3.4a1289-cp37-cp37m-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.3.4a1289-cp37-cp37m-macosx_10_14_x86_64.whl
Size 4.1 MB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
e8a9dc4ff532cdd2808b0fb3292cfc8074cc4deae381c69715fb93819201286e
BLAKE2b-256 checksum
How to use checksums
ed5366784853d918c3266ed6aa20c4c76ef75ca7c34eeed1e3f4aca396571197
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / virtru_sdk-2.3.4a1289-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL virtru_sdk-2.3.4a1289-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 6.4 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
e04d47610fe875e84de29077b697ea1f0b4381161c87d3adfbd543ee48e511c7
BLAKE2b-256 checksum
How to use checksums
e1acbf39afb85b0c98d69e57c8a443db2437c2bc07c55cb0d8d5cc1e35688bfa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release history Release notifications | RSS feed

This release

2.3.4a1289 This release

11 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page