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.3-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77a2d51460f0d8bd57586235d2a80354bcf0eabb751a62e3f1ef89fac6d3007e |
|
MD5 | c2bd21529e827bb61dc4d8dfde702415 |
|
BLAKE2b-256 | b70d5e85e088c745f1dbdaecf1cc8e5527f178e289e96f73ff86258c339c8fdc |
Hashes for virtru_sdk-0.0.3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c222768afd08cd476d3da327a484b9682ef8c2f3c7ba8afa984dc43d2d0264bd |
|
MD5 | 2a9b0d6a11a2d3f6b9e8acae12444adc |
|
BLAKE2b-256 | f512dc6f87f9190e22e0d957470ea5a87fef7ae842dc4ae149b38fc2ad3e4f55 |
Hashes for virtru_sdk-0.0.3-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a07545332cc1ebdfa43993060a9354bda1f71a683a2d08fdb9b7740ab7b91793 |
|
MD5 | add6d99791a2a1d40e16c6f4a60e94fd |
|
BLAKE2b-256 | 1c6829761ef12aaff22903af55345930cce2036458b80cdd5c090e3715bbcc91 |
Hashes for virtru_sdk-0.0.3-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6c18bbc4f57ec4f2f16ee46284a758ed0cea63c4b667b58f9285f8f1e51a811 |
|
MD5 | cbc2db1a8936137d99ce8a1c86ed8dcb |
|
BLAKE2b-256 | 83a49d5eed23e21435dab01fb5c683a803087a8412daea6d2872bb254a7b9eac |
Hashes for virtru_sdk-0.0.3-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4876ef0d36fb283155587c44b8a3d09051ec405bfcede8db7dedb252605345bd |
|
MD5 | 23bd5cf2e3f37c89d562a484abad8c7e |
|
BLAKE2b-256 | 6b3277d681f8d3dd79ca3095b306791f6a9842b9f33c9b2c4f0f57ed8be2a53b |