Python Wrapper for Virtru SDK
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 runsudo python3 setup.py install
. The Virtru SDK module will build and install the module tosite-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 runpython setup.py install
and will build and install the module tosite-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 updatevirtru_sample.py
script with yourAppId
-
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
Built Distributions
Hashes for virtru_sdk-2.7.0b1328-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49ac2aef29f2e758ea297703d7c1840ce0e5b1651016b138f2eecae4dd655b81 |
|
MD5 | a06b025261dba76cb2b7ec0ec5cb14a1 |
|
BLAKE2b-256 | 38bb1a51d49cdfe51f39c53e251817c385c81933bcf7cc162fda1bbe4a7082e7 |
Hashes for virtru_sdk-2.7.0b1328-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8413e76997bb0afb4bcb87411a4423b46c74ca2c7c6f25e204a1b71e2c159c7 |
|
MD5 | 95cadca90a1194afb66dcd78fe19b9da |
|
BLAKE2b-256 | c9c511c48fcc6081b43a620345baeb96d72798bfe56cc308dc825da0f2ed0d1a |
Hashes for virtru_sdk-2.7.0b1328-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c7da72ab7bb39a7c3edf305fb213871f6124823c346181d493f52f8953ee220 |
|
MD5 | 49ccf1a011e341879a7db403a7864760 |
|
BLAKE2b-256 | a5599f567fcb9f6c27f140246dc84a016c5a84b754bde1b1cdc34dfa23777c8b |
Hashes for virtru_sdk-2.7.0b1328-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d343e13cea4ea73b52ce6332f2dba24c1c610ffd13beabf015945f749d404b61 |
|
MD5 | 426281d3a15881590f44d0f5fc85a558 |
|
BLAKE2b-256 | 4069ec411d36054440a4e4344c74ccc96ba1a44f4b99764d0c4df24d3571c62e |
Hashes for virtru_sdk-2.7.0b1328-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c926cdb8840054482d335f5ce4b9fc16301af8fbf8cd355b8014c08397066c4 |
|
MD5 | 5f4551752d27df17a652b000c0f3b336 |
|
BLAKE2b-256 | d30280f9114a1d7c8dcb5de2693b474ce7d91177e4b330cc63a7c056a2148237 |
Hashes for virtru_sdk-2.7.0b1328-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1f8cae568d5a25d9ef044a8641172440ceef763cc31cd809c80bbdd5d1ce35b |
|
MD5 | a2c6914bcaa09e7ebf822bb50eed53a5 |
|
BLAKE2b-256 | 150749d650a7533c5a9ab7d3e52dafa5b00e12474ca12132cc244c2e5e0cee03 |
Hashes for virtru_sdk-2.7.0b1328-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa08683c9e7a26d4e25996bab6dffc0e4a7343262ff19b4b7bdd6d88f2522748 |
|
MD5 | 7b4484ee38999a7ad67c1af2daff938c |
|
BLAKE2b-256 | 87364f408fd88b01382c160b31f111fde8ac56c61dcb7e13b7f213f1857d7b9e |
Hashes for virtru_sdk-2.7.0b1328-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe6bccab0a89be692211778b1d04bca323503bdb060eca6a5003eb187cc4f5bd |
|
MD5 | 4ec985849ed14291efc0a341fa9bb48b |
|
BLAKE2b-256 | f878282baa6ac0f3d3f74beb6e274582236b3e2ece95da989bc597b3fe5ec76b |
Hashes for virtru_sdk-2.7.0b1328-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7fd21c66faf452caee5980d9a987be0620cec1a7b6346afd4376f7e631b567e |
|
MD5 | a4f4bdd51c2f59e84716d0547dd12dd6 |
|
BLAKE2b-256 | 16e599b033c35ac21cbd6fdc8e8ad444b1a45c6e785eb08af9a25c3c74b4a910 |
Hashes for virtru_sdk-2.7.0b1328-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9ee8cd02bbad5b304fe75fffa19735a277f49e749669a7424e36eb16bed9f88 |
|
MD5 | 56fe7a0a7f4cb0f41c43c7b78fb6a9a6 |
|
BLAKE2b-256 | 410d57b6862464e71c7746951d5b89a56483544cb76e4cd0cf82b22967a464a0 |
Hashes for virtru_sdk-2.7.0b1328-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9516f576879dd97c70a6083edad0aba16feb5709d3edb87ded24fc02fbd1d63 |
|
MD5 | bb86c5214f48d38aac8d634b29e20347 |
|
BLAKE2b-256 | d2f1ab7f0ab9c30e7cde1b617c28a8aad07162f0c7a4586f75e5ae5bc4360ecd |
Hashes for virtru_sdk-2.7.0b1328-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfd823a29668315c9df9ff001533d2a757c1034d58060bfcf9ec537e39d38ca2 |
|
MD5 | 52e3e3fe27e98aa6395a7ed5ea070fa7 |
|
BLAKE2b-256 | a064a8177360f407c3f89d1ecf7b8f40b767c628da0b050caa90168bb0cdc272 |
Hashes for virtru_sdk-2.7.0b1328-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9d8d30b02628bde3c9743ec5a49c403d741461aa785c5b5865ef8b002dcbe09 |
|
MD5 | 2e86cdb24b793f796211663a01a30ef1 |
|
BLAKE2b-256 | cf273de6af9b3d19f7a78f484b13d76dda22a4be6b866d79573f614e2246a83d |
Hashes for virtru_sdk-2.7.0b1328-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b383c3270c45a9f11eee6012df88805e5a35462c23d9ed6ea5c8c2f2a20a7ecb |
|
MD5 | 0317bfbfc0ee14c6fb3b2b28774a5f53 |
|
BLAKE2b-256 | 3a9828b22910bdfe4d5b8484aafe96af30faca0d93a5affc1c76a25a4b7a3ff6 |
Hashes for virtru_sdk-2.7.0b1328-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c14c0f7c42eb5419c3a92b57419d569619deb78ee9f5436cec315fa98cdee34b |
|
MD5 | be5fb1e79abfc4613860776a0148dc41 |
|
BLAKE2b-256 | 6b57f87947b3e8fb6176693c095af8fb09480f0507ed9bb37cbfcee416334b78 |
Hashes for virtru_sdk-2.7.0b1328-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3a85ea6407206d8da57b9a9c982972b5bd5d869d93d721b20b8e51aa33d9231 |
|
MD5 | f8cca182aad971f0915d07ae17cae9c7 |
|
BLAKE2b-256 | 81f1e961448a4abf8803c2727d85d83144485855d20be4ca5e8b78cedd2b0363 |
Hashes for virtru_sdk-2.7.0b1328-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3a4de7afef1bf7573e402c10212163c9951289b839f26022a5dc52a8da99735 |
|
MD5 | 14f69cf68464417b9ddd09e0308a3e06 |
|
BLAKE2b-256 | 630a3ab3f3527d60f2db5bfd90599f311dfa25abd905c750fa0265a19ded79e1 |
Hashes for virtru_sdk-2.7.0b1328-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0c455cfd58986a6ebe3a16ccf48ada19b892e5f3eed3175589281c16590719c |
|
MD5 | 8c6aca1c048c8cfdba67132236ad94a1 |
|
BLAKE2b-256 | 82202ec5a5edbe239b719d22987a9c305ef46c056156630feb51666156729426 |
Hashes for virtru_sdk-2.7.0b1328-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 534ba53fd6749ea9a61c8ec975454a75b00595a954306d5d5bf3f5e70816768d |
|
MD5 | 3ac1094dfa14b4aa4c768fc96dc0881e |
|
BLAKE2b-256 | 7c92ea97382b8c7fc0a1250a4d074a6ce7acd1d6c4c4f51cad074f09f0dfbb3d |