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.1.3a1262

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.1.3a1262
File
virtru_sdk-2.1.3a1262-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
virtru_sdk-2.1.3a1262-cp38-cp38-manylinux2010_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.12+ x86-64 Details
virtru_sdk-2.1.3a1262-cp38-cp38-macosx_10_14_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.14+ x86-64 Details
virtru_sdk-2.1.3a1262-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
virtru_sdk-2.1.3a1262-cp37-cp37m-manylinux2010_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 Details
virtru_sdk-2.1.3a1262-cp37-cp37m-macosx_10_14_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.14+ x86-64 Details
virtru_sdk-2.1.3a1262-cp37-cp37m-linux_armv7l.whl CPython 3.7 CPython 3.7 pymalloc linux armv7l Details
virtru_sdk-2.1.3a1262-cp36-cp36m-manylinux2010_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 Details

Total release size: 53.2 MB

Release files / virtru_sdk-2.1.3a1262-cp38-cp38-win_amd64.whl

Download URL virtru_sdk-2.1.3a1262-cp38-cp38-win_amd64.whl
Size 2.2 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
8060e35660dfc3392588024a073aba419d05cee91634a2ebadfe8bc0ca2fd979
BLAKE2b-256 checksum
How to use checksums
e14c69742b7457b3f33aa338cd6f0b7afe13a80d775c7ba341dd7f9f0f4e1b64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Release files / virtru_sdk-2.1.3a1262-cp38-cp38-manylinux2010_x86_64.whl

Download URL virtru_sdk-2.1.3a1262-cp38-cp38-manylinux2010_x86_64.whl
Size 10.0 MB
Tags CPython 3.8 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
e5e94877af9751d6d7e18e69efdfd711166378859770b2528bda84b0b2a64e01
BLAKE2b-256 checksum
How to use checksums
3149cb14141736cf81f58785917b300a3e90c73b9508141afdf8be8cec88bd12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Release files / virtru_sdk-2.1.3a1262-cp38-cp38-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.1.3a1262-cp38-cp38-macosx_10_14_x86_64.whl
Size 4.2 MB
Tags CPython 3.8 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
a9dd368630be4eeec699a06caf50b48a16c8a53f8f4a1152e37eaf1950b1d09d
BLAKE2b-256 checksum
How to use checksums
f2b4eea8a565916653e1085a798a4d9f483a2f0474d68967c7bd13b51ff3cd95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Release files / virtru_sdk-2.1.3a1262-cp37-cp37m-win_amd64.whl

Download URL virtru_sdk-2.1.3a1262-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
1c082d05b975355d472e4e9d799ff4b63b8db5420e3386f9ffdb6b6a66ca66d5
BLAKE2b-256 checksum
How to use checksums
b2fcf4ab92cdce13bb4fc880e1bd85731c437dd7eaa6ed715af014ef19a1b421
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Release files / virtru_sdk-2.1.3a1262-cp37-cp37m-manylinux2010_x86_64.whl

Download URL virtru_sdk-2.1.3a1262-cp37-cp37m-manylinux2010_x86_64.whl
Size 10.0 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
632974fa94cd94f661eafa4f6fd67dde1039ed77ba206142d9350da8adae85d8
BLAKE2b-256 checksum
How to use checksums
88d6c417e2ec8d66c77167ac789854dbcd05066d50b5faa7e9985291c979a78e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Release files / virtru_sdk-2.1.3a1262-cp37-cp37m-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.1.3a1262-cp37-cp37m-macosx_10_14_x86_64.whl
Size 4.2 MB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
45bcd0e40e8babea2e66a9491dafdbc6b675651d32d27c2dc342e3c087061b4f
BLAKE2b-256 checksum
How to use checksums
0917855c7e0c62a0a8026e58aef57da731cecd3e6eb7e0a09a96db0354d11de1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Release files / virtru_sdk-2.1.3a1262-cp37-cp37m-linux_armv7l.whl

Download URL virtru_sdk-2.1.3a1262-cp37-cp37m-linux_armv7l.whl
Size 10.2 MB
Tags CPython 3.7 CPython 3.7 pymalloc linux armv7l
SHA-256 checksum
How to use checksums
c19ac86371493cb990ec7361a3256a8b899264158a4ad47a40c645ecab1f6d92
BLAKE2b-256 checksum
How to use checksums
2046b1d2b6d2876dfe086006d3ed226a2c39d7bd52bf65ca8ca3c757d1179811
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Release files / virtru_sdk-2.1.3a1262-cp36-cp36m-manylinux2010_x86_64.whl

Download URL virtru_sdk-2.1.3a1262-cp36-cp36m-manylinux2010_x86_64.whl
Size 10.0 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
6640015c687b801bf53d4cc1b2c22414b5701821e80e1adc0a749fcb6ab5fcf0
BLAKE2b-256 checksum
How to use checksums
ae3856034d56f4a3738b4b1eed825f94765c81790a6216a7767f49f9a8aa8462
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Release history Release notifications | RSS feed

This release

2.1.3a1262 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