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.6a1291

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.6a1291
File
virtru_sdk-2.3.6a1291-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
virtru_sdk-2.3.6a1291-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
virtru_sdk-2.3.6a1291-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.6a1291-cp39-cp39-macosx_10_14_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.14+ x86-64 Details
virtru_sdk-2.3.6a1291-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
virtru_sdk-2.3.6a1291-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.6a1291-cp38-cp38-macosx_10_14_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.14+ x86-64 Details
virtru_sdk-2.3.6a1291-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
virtru_sdk-2.3.6a1291-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.6a1291-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.6a1291-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: 52.5 MB

Release files / virtru_sdk-2.3.6a1291-cp310-cp310-win_amd64.whl

Download URL virtru_sdk-2.3.6a1291-cp310-cp310-win_amd64.whl
Size 2.8 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
a592d12e014daff72afe33080dced652aa6b5d053c26c38f591152a0be34af1d
BLAKE2b-256 checksum
How to use checksums
14fc2504dbffb5705b8e230c3920e7012cfc9c3c53eac3b26eb4c3b3587bda78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / virtru_sdk-2.3.6a1291-cp39-cp39-win_amd64.whl

Download URL virtru_sdk-2.3.6a1291-cp39-cp39-win_amd64.whl
Size 2.8 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
bb58c951dc1eca82346c3019b77fbd7ed27b11c017d0af5f07572d5c703915c6
BLAKE2b-256 checksum
How to use checksums
5b9c89410681514ff3d209e5bbbb2499b8edbe8f57af9ce4abaefd04f6ef7ebe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / virtru_sdk-2.3.6a1291-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL virtru_sdk-2.3.6a1291-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 7.2 MB
Tags CPython 3.9 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
f71831cf87922df7f646f284fdcd6939408512a6d9e5664e2fd0d1760799893f
BLAKE2b-256 checksum
How to use checksums
7e405f33d03a9b6bff981fa9bd40aa987888f0b82dec7e9db712cd99962cf958
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / virtru_sdk-2.3.6a1291-cp39-cp39-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.3.6a1291-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
0443b1ac13fe8c9ffa6fbc7d71edbef06d95fce12fe6113a833c65f50301e4fd
BLAKE2b-256 checksum
How to use checksums
f87b41083c0a0e47f44c771ddf9a0b35737fb1f73ba4b859c07f601aa50ebfb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / virtru_sdk-2.3.6a1291-cp38-cp38-win_amd64.whl

Download URL virtru_sdk-2.3.6a1291-cp38-cp38-win_amd64.whl
Size 2.8 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
aa25dc90a3c239c8f2fee3a5e23dd8eac5ab97dc8e4c1ff7347538dad64bfd21
BLAKE2b-256 checksum
How to use checksums
f534a471d7ce021e2cc6d899d18ad850da149a0923b563eaec0003e74f60dc17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / virtru_sdk-2.3.6a1291-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL virtru_sdk-2.3.6a1291-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 7.2 MB
Tags CPython 3.8 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
1ccac95f027cc47f76d95d4312adae2c8677ba094d22352759f8acf38579a5de
BLAKE2b-256 checksum
How to use checksums
a2cf83eb57052b959af42878dd5a37fa07c3613f7bcd696833769b30832264a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / virtru_sdk-2.3.6a1291-cp38-cp38-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.3.6a1291-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
1b253b06c21098e57555049dedffe2bd1349f80b241a3e87a1fd47c0f3901280
BLAKE2b-256 checksum
How to use checksums
b14134f2b2d615f64d41bf44ebc43769e2e48537e51faa5de8287284b0fd3622
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / virtru_sdk-2.3.6a1291-cp37-cp37m-win_amd64.whl

Download URL virtru_sdk-2.3.6a1291-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
c4b0a993e871c331b75337f1ef040d98ab506d6a131e5d820b5c9156e4d4036c
BLAKE2b-256 checksum
How to use checksums
1c7c743843deee9263c1f2bdd9be69255a16fa13feddfb267ddac40b8a74f2c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / virtru_sdk-2.3.6a1291-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL virtru_sdk-2.3.6a1291-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 7.3 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
981447eac4478b708af8c82ae9a7c2e708a1730373d039d0a864ed22951e91b7
BLAKE2b-256 checksum
How to use checksums
5a502cb71948c4aa32aee740d462b6f7b54eff88e1fffaf9da381a6277524243
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / virtru_sdk-2.3.6a1291-cp37-cp37m-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.3.6a1291-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
4d062fb43480da8b8ab3e68063b8754018ca54af8b275a4523ef2468df6048d5
BLAKE2b-256 checksum
How to use checksums
257ae96e85d1b546418def16036d946ce41143d939125d9d533569ec24df40cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / virtru_sdk-2.3.6a1291-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL virtru_sdk-2.3.6a1291-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 7.3 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
5c4205b55e01f075ee6e6e38a34a6c093bb70b016aa2c5d37e31251dff47388c
BLAKE2b-256 checksum
How to use checksums
6b7c19520d6c47ea53692d9948c83b139e5cc1757aea3ca0b04c722518e73cce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release history Release notifications | RSS feed

This release

2.3.6a1291 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