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.4.0a1307

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.4.0a1307
File
virtru_sdk-2.4.0a1307-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
virtru_sdk-2.4.0a1307-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
virtru_sdk-2.4.0a1307-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details
virtru_sdk-2.4.0a1307-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
virtru_sdk-2.4.0a1307-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
virtru_sdk-2.4.0a1307-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ ARM64 Details
virtru_sdk-2.4.0a1307-cp39-cp39-macosx_10_14_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.14+ x86-64 Details
virtru_sdk-2.4.0a1307-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
virtru_sdk-2.4.0a1307-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
virtru_sdk-2.4.0a1307-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ ARM64 Details
virtru_sdk-2.4.0a1307-cp38-cp38-macosx_10_14_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.14+ x86-64 Details
virtru_sdk-2.4.0a1307-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
virtru_sdk-2.4.0a1307-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details
virtru_sdk-2.4.0a1307-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ ARM64 Details
virtru_sdk-2.4.0a1307-cp37-cp37m-macosx_10_14_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.14+ x86-64 Details
virtru_sdk-2.4.0a1307-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64 Details
virtru_sdk-2.4.0a1307-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ ARM64 Details

Total release size: 87.4 MB

Release files / virtru_sdk-2.4.0a1307-cp310-cp310-win_amd64.whl

Download URL virtru_sdk-2.4.0a1307-cp310-cp310-win_amd64.whl
Size 2.7 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
e31c4f296db33dc0324e4aec24985ff976fa3bd5844ba26303416ef1e39d53d1
BLAKE2b-256 checksum
How to use checksums
1de1575c7a5c69eb4fc19573c8e8aff2b1340df6c3a017f2dac4bf91d2103128
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / virtru_sdk-2.4.0a1307-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL virtru_sdk-2.4.0a1307-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.3 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
63e7d5d833ffc274a3ded3161109977803a75cd5480766a07987fa15a2f39dd5
BLAKE2b-256 checksum
How to use checksums
7be5cc8a983d549551ad4e658ca762dc9ddc8135d18901d74950ac75f105f14e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / virtru_sdk-2.4.0a1307-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL virtru_sdk-2.4.0a1307-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 6.5 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
7370ae04e1f744e7bef570a837ca495ad86876efddd034707af264acc3aaab7e
BLAKE2b-256 checksum
How to use checksums
699a8c3c5f7ffc93669fe1b8041c4ba0a9c4ef5fb3de62356260f9d1a2a79db7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / virtru_sdk-2.4.0a1307-cp39-cp39-win_amd64.whl

Download URL virtru_sdk-2.4.0a1307-cp39-cp39-win_amd64.whl
Size 2.7 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
6f916b3efa9c713e3ba532bba122e7c74b8525d3e8822cd965178a2fc7aa1729
BLAKE2b-256 checksum
How to use checksums
8c2ffadd8f87aaa9044803bbc84971cb682a572ab8d54da3542a607fa1313804
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / virtru_sdk-2.4.0a1307-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL virtru_sdk-2.4.0a1307-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.3 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
e00259da2e25386ae8996e66c51d38b25457e60cc2443781fa34d298fe67bbee
BLAKE2b-256 checksum
How to use checksums
655d0ae746a9e4bcb8ca3232496d00d168204775a2479e23b875017dd94e1bd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / virtru_sdk-2.4.0a1307-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL virtru_sdk-2.4.0a1307-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 6.5 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
a7edf811f1e6f829582b37822c7794c3b69769405ae5fceff4ecd5089ceaf0ec
BLAKE2b-256 checksum
How to use checksums
752be82b38dfe5de9ce78fe3f0a0837c850c2ffad5cfcd2d5d49dca2edf304bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / virtru_sdk-2.4.0a1307-cp39-cp39-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.4.0a1307-cp39-cp39-macosx_10_14_x86_64.whl
Size 4.0 MB
Tags CPython 3.9 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
8f95473fa66a31992fefa22d637ecbf2809e71090dfbbf35886a6e4829e911fa
BLAKE2b-256 checksum
How to use checksums
3a61b01698f1a96c84b4623b54621852acee91328040971b9fd0d71c9b1a8d53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / virtru_sdk-2.4.0a1307-cp38-cp38-win_amd64.whl

Download URL virtru_sdk-2.4.0a1307-cp38-cp38-win_amd64.whl
Size 2.7 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
7cd0adb2afe3b70499235f7db87202be03f2cad0259500b735ae33a835aa8dd0
BLAKE2b-256 checksum
How to use checksums
7403094669585c6c8af56ab1804e92c0b8122812e84cc97a72d67fab29f33a7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / virtru_sdk-2.4.0a1307-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL virtru_sdk-2.4.0a1307-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.3 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
1527d986ce0891530ccbc88fa741ca47a097ce18cb9b7995cd6b7ebacc09267a
BLAKE2b-256 checksum
How to use checksums
7fd9f3c8d341ddac77651b236dc4efaa894725cc8f042d90b0b9d475bc6e4c54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / virtru_sdk-2.4.0a1307-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL virtru_sdk-2.4.0a1307-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 6.6 MB
Tags CPython 3.8 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
6ae5bc61926c1592a584397cd58fc1543c0e6044ccea650ecb535407b094a74e
BLAKE2b-256 checksum
How to use checksums
7a974a46ace5374a60aeb3dc48612034422a669dd4ba1c7f60f3f90c963c7499
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / virtru_sdk-2.4.0a1307-cp38-cp38-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.4.0a1307-cp38-cp38-macosx_10_14_x86_64.whl
Size 4.0 MB
Tags CPython 3.8 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
b5df538bf782f1e963926ce3f95cecff639437e59c4d3690a3cbadd088015dce
BLAKE2b-256 checksum
How to use checksums
cd7a18a44600c2847c95681d9236510478cf92e388f1bd60a73ad6f104435cd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / virtru_sdk-2.4.0a1307-cp37-cp37m-win_amd64.whl

Download URL virtru_sdk-2.4.0a1307-cp37-cp37m-win_amd64.whl
Size 2.7 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
aae79adcedaba2e625ae8c36c2749140ba0598ad6a321b6706391d9db0dfc380
BLAKE2b-256 checksum
How to use checksums
20017c851ac4f1d02760a1f1d1facb518aa124cd3311b30c43920906ace4905c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / virtru_sdk-2.4.0a1307-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL virtru_sdk-2.4.0a1307-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.4 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
1ce833764d0ace9cfb7f4e312c2b24c99c6e2b03a2cf59966c191335ea4304ee
BLAKE2b-256 checksum
How to use checksums
dfac2dccf6d6f1f3ed9b7845f1cc7b9bbb4747d6ee8beb3733db63f7d3db136d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / virtru_sdk-2.4.0a1307-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL virtru_sdk-2.4.0a1307-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 6.7 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
d7a94d055b1ee5a2eb937f703242a261da82b01932c6f1152e05b9d0cada1830
BLAKE2b-256 checksum
How to use checksums
17bee8045093c60f183490f2679592f1ecfefa9303dbce79f417d3c201fdc287
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / virtru_sdk-2.4.0a1307-cp37-cp37m-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.4.0a1307-cp37-cp37m-macosx_10_14_x86_64.whl
Size 4.0 MB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
3f16699492ee1ebca17c4875e9d5bdcc50575216a8eab473da7039077aa0a10c
BLAKE2b-256 checksum
How to use checksums
4f6f0e433cef491de1645c92a300fba6b4407670c103c74af366db813dd68db2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / virtru_sdk-2.4.0a1307-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL virtru_sdk-2.4.0a1307-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.4 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
b30d6e3af8b613f4f5d86f47ebf01e4077c929eb271c2da04b819c01449afdb4
BLAKE2b-256 checksum
How to use checksums
e1401caede9866909113d7223f0c8d8f9a5dd47169ee2a649ebf3376ab0a260e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / virtru_sdk-2.4.0a1307-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL virtru_sdk-2.4.0a1307-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 6.7 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
984760d51625561370c23af4033ee94ec1e2655e22526ef0597a78e70d589352
BLAKE2b-256 checksum
How to use checksums
6eda20943583526374c73b9f17e017542400978edfc4eae19126d911dd54c2ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release history Release notifications | RSS feed

This release

2.4.0a1307 This release

17 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