Skip to main content

Python Wrapper for Virtru SDK

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

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.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

virtru_sdk-2.7.0b2137-cp311-cp311-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

virtru_sdk-2.7.0b2137-cp310-cp310-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.7.0b2137-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

virtru_sdk-2.7.0b2137-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

virtru_sdk-2.7.0b2137-cp310-cp310-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

virtru_sdk-2.7.0b2137-cp39-cp39-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.7.0b2137-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

virtru_sdk-2.7.0b2137-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

virtru_sdk-2.7.0b2137-cp39-cp39-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

virtru_sdk-2.7.0b2137-cp38-cp38-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.7.0b2137-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

virtru_sdk-2.7.0b2137-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.0 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

virtru_sdk-2.7.0b2137-cp38-cp38-macosx_10_14_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

virtru_sdk-2.7.0b2137-cp37-cp37m-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.7.0b2137-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.7.0b2137-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ ARM64

virtru_sdk-2.7.0b2137-cp37-cp37m-macosx_10_14_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

virtru_sdk-2.7.0b2137-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.7.0b2137-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ ARM64

File details

Details for the file virtru_sdk-2.7.0b2137-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 123b0517a21b89be6a5199e0ec4938f10f04e4be2692a86733bedc17ca1f1f7d
MD5 229919e5093e4d62e7808cfd780d0a41
BLAKE2b-256 7a6fcad5f5d5fbee6b3c00cfd60e566a1acbfb087347dae8682fa354e2511d57

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0b2137-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8a4c2d5df1ef24d1d8af289089e32c744d1fa2718e85a971c13419c8dd831067
MD5 ef51c8c516f6f7fb3ca1a7b0d280d949
BLAKE2b-256 a05d57b6f54e075df4735c5b2496d88dd811a9a6b8792d4c96e9dcf3fc1c7a5d

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0b2137-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 58e8834f49bb9e5ffe90dea9b4f72e642a373b785a9a483c6d2d072ed046e601
MD5 61b230c12046ec6ff2fc58929d9e3dd6
BLAKE2b-256 299ee3f0fc7d76f3be9cb50d4f54a7041339975d8116b69e53ae4888783ccb8f

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0b2137-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e1b799e723d15564a34a93890e69c8d0208e47a5e46f95def0bf9a0986422ea3
MD5 013b41d60db6b4bf9a820b6987d12426
BLAKE2b-256 f20020b540c933e978b00626bed260f43acd8bd969571a12f8090cd89ae4aa70

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0b2137-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 20d8db7fdc7c102df9cb4ef9987c917f6e9cc02367805afa118b02bb0fad8fbc
MD5 bf9552c0d94ca2676ee0f7082b693e13
BLAKE2b-256 90d0baa576fb628b89dcace16ebe724bdc9781ea20cd3db29bfa4fd8dc570a6e

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0b2137-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 545f402e81da3992c345004636862585da7b378d1a3938353566e4571ba90c4b
MD5 a2606557c8ff1746d19a1a87c7e45812
BLAKE2b-256 371d99725124c02ff6d92cb80aedac4bea060d4c2f6bf8c5d4f9907f5a4e7957

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0b2137-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1fc33b87c140a7b40bc107ceb5dc1cda9049701116282ee8bdeede73d8b130ce
MD5 a583f6d5c2c94b08740889e7c5fc105f
BLAKE2b-256 d73a18ed156c11c7449b514723524bb7ed4cb9c327ca6d3d52ee285ae9747161

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0b2137-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 77d0919c56414108f5c285daf606a2f175dfab7552943d49e17e18a367303391
MD5 949d4a1fb9ba47aa7e0365ec754ae83c
BLAKE2b-256 ebedb011e1ddcffd25bf8df00228115af7553bc2bdb1120a1e14300cd522071f

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0b2137-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 4c3840d2a3400acae85bdf101bc840b8eb8ca5ff4bee4f7c9bd790ca6252655a
MD5 d6e129a9071162d0450d0800f13d93cf
BLAKE2b-256 71437de2f54cbbf32de4b374f1ec5bc2acfd056895649a59a7e67f9e33e9ef7f

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0b2137-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d88b8e5f7acaf84e3b6e0db0d65ca1a4467436f59200a14482ea8322efcd6a95
MD5 dbb4a97a4f5a2360836e8c09d078e1b2
BLAKE2b-256 b260d2ac82dcaac05794913d8eeb9e852d31da2791a7ed33642d0dd2522f3e46

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0b2137-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2a623a6173eea8f6f3cb93607559d9d267effe9b42c78f01dc94754dfe66a193
MD5 c2881fc0cd7a5c29ed89de569652cb1a
BLAKE2b-256 a0cb757c6d6f24ca3aac9113606adb895668b465c8dae20cc2adc8c96f2f817c

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0b2137-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 874c8277205939003fe095dfe82e12ac1c625559f18ed10c4728c6e03d9b039e
MD5 ba43d07d7955280cd1e4e375364d92af
BLAKE2b-256 eec8b3b7f8f59dab1674a71b638706b28f8698e4bd1cdff9bd728eb83d36ff36

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0b2137-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 32aad8151bf6379a4d7689f35620e68267cd78d88fa6fd26ec14daca6fd6c011
MD5 6cfa19e79280e5ebb12c0472037573d5
BLAKE2b-256 388b11062ed26c67921d2d9612e227a720324bb196e255f42df3cfb9197df7f4

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0b2137-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 b2ed37ff5eafdc8781ea6c0dcaad81c1cf529db85d6b2b18adae2cfd1ea76096
MD5 da501e3024febff56bd13d63214c5807
BLAKE2b-256 3e9c8aa2386b45539117c3c93346c9fad87003b99e5c4371c2afec982d7d5d34

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0b2137-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 27491b54011ae8dc1f70c7f708499caa3c87093bad8df9217abca8d883813871
MD5 714e93b9eed0a17ff036c4d053791d5c
BLAKE2b-256 ccef76a63bb37a6379f523d76b8d7bf48a2aad7e4d8c48db7e54f6d198590eaf

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0b2137-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5cd2e740f45d877f5ff6960f9611779f26cfad845696289047956b5e5a83c578
MD5 eac6d9ae7360631557d95240ee82c785
BLAKE2b-256 924b19f03c50e34460d308b4d12a1555fcdc7b11b3a734fd25961908bf431fcc

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0b2137-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 1b0df3cc1672be8b73af4e8709ca9578df7b274231685731120b4e296c47c6bb
MD5 c4843f311df3e98db0384d4682688e7c
BLAKE2b-256 5a3026febfdf7de25dcab20c0edd1fcc8ccda65c6ea2d287a8e64dcb95fb5d9f

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0b2137-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c9f0b8d8eb49355f72f67def50d0d9c3351861dbcb6a51a03ef4b227484600af
MD5 61a20291980ce3d70848dc9c8cbb7b10
BLAKE2b-256 51aa3de69cc569694e4d20c0156028c326028edafd01703a0d12ea0f2382c9e4

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.7.0b2137-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0b2137-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 30be9af3967b12c2a9cbe8d860ca6503788e07ae98f7e6de5e30926583bd9666
MD5 aa38ebed43c912ab6c09a58fe56dbfcd
BLAKE2b-256 2edf842869f55d4207859a6fe9e20c1701628646452e984ed26e402e4c493e5c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page