Python Wrapper for Virtru SDK 0.0.2
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](https://developer.virtru.com/docs/how-to-download-appid-token)
## The Virtru TDF3 Python Sample
For more information on how to use the TDF3 Python module, see the [online documentation](https://docs.developer.virtru.com/python/latest).
### General + [Python](http://www.python.org “Python home page”) 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
Built Distributions
Hashes for virtru_sdk-0.0.2-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bde857e478a03ceb87e6ad00acbde1da6dbd27d300dee8b34f03d051288eaffa |
|
MD5 | ba5d54e96e6f1b868fb783bdd84d8b03 |
|
BLAKE2b-256 | edbf347a60b81e720073acba30eb67c380ce228d0e872c57ed001873fd8b0b4e |
Hashes for virtru_sdk-0.0.2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4e408a77f73bb56925ded545300e3c049332c85b6687a9525ec5435ea71b3a8 |
|
MD5 | c98a7e2a577fa7737e6768d7496c77c4 |
|
BLAKE2b-256 | 9f5cf05625761e5c4ea5a3ff91081e1d900332bcc6b02e92592b137918fe11bd |
Hashes for virtru_sdk-0.0.2-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18834148c2382ffb98b3153b739ffb76769202be88b2fe65d9bcedf9314fae31 |
|
MD5 | 8419e61760584fd0322e17148df4f825 |
|
BLAKE2b-256 | b3e57d7943a55fae4e2bc36e51659dbac0ed2007390cd8f3aeb7b98db679d699 |
Hashes for virtru_sdk-0.0.2-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5900dcb53a88b11bd75a54dcce318b934773bbfd6f62f860bc001e827976e5a5 |
|
MD5 | 3cb148b2f46f431313a3f0d5b466a722 |
|
BLAKE2b-256 | acc377629c0b48ede463e22cecf755a25ebff5810e26aa1d0fbdadebbde86593 |
Hashes for virtru_sdk-0.0.2-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9906cfdf352c6dd960c2c0c84ce0d6f6e2a32cc71475eb0b1a85e802fbf6745a |
|
MD5 | e9e3e511a93afc12a7f392c615418b68 |
|
BLAKE2b-256 | c384e1980d5021b0a4c66d526af7456b1bc17282d919fc697aa8ef1b38731f6a |