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.8.0b1335

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.8.0b1335
File
virtru_sdk-2.8.0b1335-cp311-cp311-macosx_10_14_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.14+ x86-64 Details
virtru_sdk-2.8.0b1335-cp310-cp310-macosx_10_14_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.14+ x86-64 Details
virtru_sdk-2.8.0b1335-cp39-cp39-macosx_10_14_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.14+ x86-64 Details
virtru_sdk-2.8.0b1335-cp38-cp38-macosx_10_14_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.14+ x86-64 Details
virtru_sdk-2.8.0b1335-cp37-cp37m-macosx_10_14_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.14+ x86-64 Details

Total release size: 21.7 MB

Release files / virtru_sdk-2.8.0b1335-cp311-cp311-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.8.0b1335-cp311-cp311-macosx_10_14_x86_64.whl
Size 4.3 MB
Tags CPython 3.11 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
8adacacd9180c81e8bbec756c7b03d7f9d58ffc674714c0638e7123704471b50
BLAKE2b-256 checksum
How to use checksums
88e9052b4955420537aefe14652dd27f8349946547772f8786ef433e5954f9f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / virtru_sdk-2.8.0b1335-cp310-cp310-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.8.0b1335-cp310-cp310-macosx_10_14_x86_64.whl
Size 4.3 MB
Tags CPython 3.10 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
a626f821430fcb830376eb66b3462b8d74b4e6bc097ba4b5b094a64856a27446
BLAKE2b-256 checksum
How to use checksums
8ea78629425d34bf58799460407c99e6ec1ae8657c6a30210f7cd224938c0f47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / virtru_sdk-2.8.0b1335-cp39-cp39-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.8.0b1335-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
e6633d1d712eb3d63352101c2b3b06d76735d51b77f9edfdd4267cafc5984e65
BLAKE2b-256 checksum
How to use checksums
f9d6ab018d21946f06e83b3395c85894049efd333f03fcd69e31a41aee913547
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / virtru_sdk-2.8.0b1335-cp38-cp38-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.8.0b1335-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
9b50f7dc5a29a018cc3c4c121b8724200597926dfd813d57a99babf60d36e986
BLAKE2b-256 checksum
How to use checksums
a0a9d6f63f80e614e8835cd487baab05560930a3a5e6a05833fdb600b9be2132
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / virtru_sdk-2.8.0b1335-cp37-cp37m-macosx_10_14_x86_64.whl

Download URL virtru_sdk-2.8.0b1335-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
92e888a625b80800bb0faee5067b69d3850b9a98193970aa4ae3929a31b506ff
BLAKE2b-256 checksum
How to use checksums
e84eabd71180aa81e0ecac6e3e99654bce587a3fe198d65787ebf8d03c13e138
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

2.8.0b1335 This release

5 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