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.0a1325-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.0a1325-cp310-cp310-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.7.0a1325-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.0a1325-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.0a1325-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.0a1325-cp39-cp39-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.7.0a1325-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.0a1325-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.0a1325-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.0a1325-cp38-cp38-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.7.0a1325-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.0a1325-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.0a1325-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.0a1325-cp37-cp37m-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.7.0a1325-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.0a1325-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.0a1325-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.0a1325-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.0a1325-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.0a1325-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 8a073e142565b3ce5e296e9bcf61ca6d29b8b8ca81113b5697bface2da3eccee
MD5 07b312652f5e1c26742fa691f85f1eb2
BLAKE2b-256 d10909e12cbc7019b3a7a3e8b36223f5c258812836c64bc00ff346bef640cded

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 60de1a36e4f6919e19637ca1acbac3d9be7708d918bbc83c5cc0b381ccc09fb4
MD5 84e12727409260bb260eca00037f1702
BLAKE2b-256 b0f8e4c9ba2e78a757464af346027a3cc38cb378081cf950ffcd47d249efb222

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d02643e4e0b354a79278996e2912b1f2aff895e2c3d1f36cec5219150931c70e
MD5 61891ea716d6c1a3f173a91586a72d87
BLAKE2b-256 fcb7a8d6b225c61505343866f820ff7c505337869557a8b276457ac190fc8324

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 92e712aa364009e31d8942cfb35fcad02092568ddb4a3efaad72c1c8637f0869
MD5 c13351ff6be06e0f614d57977a8bcd9b
BLAKE2b-256 69c251c15443caf57bf972ce9cf3656b6971caf0ba62bb6a10b44064b86e6179

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d4575e15403f78f0fe269de311210f7a75686afe51849a2888407f336706f31d
MD5 b142a31a9bf60d6b014e9a0e61482ba1
BLAKE2b-256 59e8b04c024bb788c2d20d2a65c6f9b0aa24417840acc7c5468cd6d3c413ced6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 a261acfd06a1e3609e933bb9883dd203f6412daec65c3a739b28813d2ac0513c
MD5 a5d3099921595f6295d87d189bb6d011
BLAKE2b-256 f8cb9f5fbb5b19a94f2c9cca01ad552feca0600604047f235dfbe785ef4eb2a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1a7c84dc06bcaa0abb6727c959e1ac762391ba1fee25ccddd9add91d08b8973a
MD5 005bccc24f5f67fb06761cb10e107d28
BLAKE2b-256 5b77baefaf0195bad6cb9976e90851357b6c260fdef0a1ca1d30a62627fbd3a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5fc5f70e6061eb3e173a26d86de8510f6a902194a12012968e7f3d82c27a90aa
MD5 457f2067abec4d6803436defcd2f57fc
BLAKE2b-256 8881b29895338597be346f825854008cff711b419d927feecd7cb56c8d9e1c93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 16f4a8beb6de641bc5607ce21c6b9728b2882924f427f4b0f4328f129fc54588
MD5 b394554a36c33158fd3a97834381b413
BLAKE2b-256 e20978b81c73b2a50c3f6237eb97f849e5352a5822e7a7c07eed96920d526937

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d250d89ad7c8552bd3c7e77211d71e18ef028bd6d5a365bd1e9bb5f96baa380a
MD5 b2af1cf650dd54b9f63df8386d09ecca
BLAKE2b-256 5b4fab0c353c223abb31a1cb7999ef2f7ce27017a23d1a77c6cd75b423bc24b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6cf9bebe1d6121653ab162416c542be59312d9a9ce8d0bd4ed011de15dc78c47
MD5 4fcc4a3969a0ae157b37a5581abe3b42
BLAKE2b-256 2510493d1c30a135ca7f44c645fd6e65de408b9b1a6321479a02ede8f7a76455

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9114798898c4d845e2e26910d467b84abd052f3a8a87d94648f2d8897064ae7c
MD5 db16e6bc1304548409020b7db5463f15
BLAKE2b-256 26c7d0a7f106f9b2d873750694f7fd83ff7ca225a2697e59c1733ebb70c90c96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 1934311b2b6a7ccdbddcb72e019e92ea317ffbbaae2d9c96d9193f054f178e15
MD5 aee18d25366261969b29227c44e2bdec
BLAKE2b-256 0ec66a686659ae1df7d3e167dca77c32f47dcc46942bd4248217a5b6e2397dc7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 546a216a8e09e7fd7567e95fdebf7524b51f0d7211c1056f81278ac7b3053d45
MD5 23dc083a48a31354fc0646ce978fab8b
BLAKE2b-256 f0d0d25e4ff1764e6e8b2fe7a41f1de811d42b1729f10d8d4782d41f76ae7a4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0a511f890aac2bfd073a9bdeae05daae0fc03026d22d0a9460995cd74acea813
MD5 c158883570c9e1f751de9ad09387a09f
BLAKE2b-256 b595c973f9ccd34e5f540b55b8aa13c9fe483fbadb72297b408ca4b5d4eb28c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a9dfff20de1e107341d3df1a363a956826b254ccdff1dcb2f0b37b772c3bf9d4
MD5 b30174f05b8bacf4ef24423149e39484
BLAKE2b-256 f45a578a84eb33373b9c61691b30d2ccc1d2673b2b74d3d9d38cc37d0715d003

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 fa85b97f0344f178a320bd42f6560d98b4229e44ee6ed0d3263824454f9b39c6
MD5 e5b9f970ef3dac3a3382c0799efc1926
BLAKE2b-256 936dac33c29dfe0d78570667141b00125e148423250187de0a9c29684a81b537

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bd3c112a0d2e6d7296d8a8a575e22e20cf44e556442e1f241e695837ab865bca
MD5 9d3fc1ad6ff047e681693423bb05adc7
BLAKE2b-256 d97330781681dd508632603fe0f51547ecfebd3d6374137844f8451726a7ae71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1325-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5f813c60ea42b1dec9c2783043608272dce597bb3699c134e898ed2f1915766f
MD5 200df763527bfd0a7f798c8561bff4ca
BLAKE2b-256 a4e7a89627aab8b1506e5b505824303b1d3b3e841a79b4bc745943135c44e7bd

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