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.

Release files for virtru-sdk 2.3.1b1268

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.1b1268
File
virtru_sdk-2.3.1b1268-cp39-cp39-macosx_10_14_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.14+ x86-64 Details
virtru_sdk-2.3.1b1268-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
virtru_sdk-2.3.1b1268-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.1b1268-cp38-cp38-macosx_10_14_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.14+ x86-64 Details
virtru_sdk-2.3.1b1268-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
virtru_sdk-2.3.1b1268-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.1b1268-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.1b1268-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:47.6 MB

Release files / virtru_sdk-2.3.1b1268-cp39-cp39-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.3.1b1268-cp39-cp39-macosx_10_14_x86_64.whl
Size 4.3 MB
Tags CPython 3.9 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
2fa8f8054450124dbb3bb41a5b3cc88207acf6337e860a6aaee8cb36fa45450e
BLAKE2b-256 checksum
How to use checksums
dec02234ffe065267c618eb06a891fd15f93e420e447e9bc6d931a54d1917179
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / virtru_sdk-2.3.1b1268-cp38-cp38-win_amd64.whl

Download URL virtru_sdk-2.3.1b1268-cp38-cp38-win_amd64.whl
Size 2.2 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
ef2516901d0b4540a122e49895d811c584bf2e7f847af937625a88b2ebbafc31
BLAKE2b-256 checksum
How to use checksums
93c8e8743ddd09f7936395890621afd36d52200acd317c6a5cdf21c67c20e76c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / virtru_sdk-2.3.1b1268-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL virtru_sdk-2.3.1b1268-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 10.1 MB
Tags CPython 3.8 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
c828cedc47b27df673eff3ed093c350db1e7e0338b81e186872ea4557a8e8991
BLAKE2b-256 checksum
How to use checksums
47d8acf1ac36d415372c5824305a37ae5bac7ea8e112a3d877266e4acb6c43d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / virtru_sdk-2.3.1b1268-cp38-cp38-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.3.1b1268-cp38-cp38-macosx_10_14_x86_64.whl
Size 4.3 MB
Tags CPython 3.8 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
071b4467a568443da91cc48c49117994bc4e64274408a10378112b4a74ef8d20
BLAKE2b-256 checksum
How to use checksums
d31e4c92f82de1931a42589f9ddcf56b3c2b7fbcae233e3d8be9dc59aad67a1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / virtru_sdk-2.3.1b1268-cp37-cp37m-win_amd64.whl

Download URL virtru_sdk-2.3.1b1268-cp37-cp37m-win_amd64.whl
Size 2.2 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
c4eb34260530b3b5e435c34dd3b4c8768ca72c2238b8a3a555df788650aa7761
BLAKE2b-256 checksum
How to use checksums
8ce1c8c9ddac55b81962af1afa4eb8ea457b48f2e8b46e699daf2aa203f6f17b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / virtru_sdk-2.3.1b1268-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL virtru_sdk-2.3.1b1268-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 10.1 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
4470c664ff021be7b3aa471ef7e7021f7ee517fcc9bc85a57deba550af2a9b70
BLAKE2b-256 checksum
How to use checksums
dc7c12141f54d5020ce38355f95727cb70b59cd299631688e3c66f6a8c2931a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / virtru_sdk-2.3.1b1268-cp37-cp37m-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.3.1b1268-cp37-cp37m-macosx_10_14_x86_64.whl
Size 4.3 MB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
941c668feb315c1374efbbef2e80a55ceb070863fc1f1912398255f2863ba72f
BLAKE2b-256 checksum
How to use checksums
92481df8859ee64d1a525af382fa4a08f5ea512f9d18d7aeb7c8832a02d0c049
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / virtru_sdk-2.3.1b1268-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL virtru_sdk-2.3.1b1268-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 10.1 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
d18633c576d5a95a7523adbfc503402de2abea3e3c798c64419d59c5f95ae186
BLAKE2b-256 checksum
How to use checksums
6cd066815cad620f920243085f4eac8a09f3901bc00275a6ff0f78b4b322a9a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

2.3.1b1268 This release

8 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