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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.7mWindows x86-64

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 ac7334eac08979354f8d26709f855e2c9058bf7615a9aaa3f731c1727302a3d4
MD5 3feedbe433d3ff99c6677f36b4d70598
BLAKE2b-256 cd26147a51e441f8ead10c14b0c0763ea5f76051d4b2199173b029b00bddb0a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 62d5884ff89eaea91be5b9b5df89a3bb8173bb64a0d89a4a7f61d338e1a1d19f
MD5 3a7c9f266dfee8bf806e95218d11203e
BLAKE2b-256 1b9e790d42a37be5cfafa343cd2ce143bdefdcf1cc9e7022ae1681c0fcf0c99b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b49199182daf6ea97c7b501f44f4791e22fcd9beeb128270286a4f06b93a2914
MD5 9a6b929c4077a2608df0c388e57a034e
BLAKE2b-256 d87b363c98fdd5de116e5067dda9c9d79fc4b08ce6098ba6b2a7dd681d38b929

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0db3fe16f6675ebe9ab26737ae22f96fc6af307bb719869756fecf6a77ef8cbc
MD5 85d2fdcfbd19712613ab741110d03463
BLAKE2b-256 4d67d71e002d17c47869cd2b9a344a755e9091c5bc8103f2161fd776752bc42b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 3428a4b69aa5339512e1878bc27ea7abc552d230d114e43a1c1762945afd7ff9
MD5 95ce15dc6483490740530a55d552138c
BLAKE2b-256 364052c7568f25d85cf2efae70022e01c7f87892f2b8b43954f775dd6c0cd199

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f9c89d093374468ff3e680ba93bd563601f98b6ea8364747f01ff1757d58353b
MD5 2b44194078d168a535db898262512af4
BLAKE2b-256 5ef6a6cfbe7db84aeabb0e44ec7555ddad6446143fda79bd9a57b7181034fe3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 20ac195a6c419f224eff9b3d01b37b4a9bdf6d4b734c7b7b6b1d9c1c4831dd74
MD5 e4a5eeeb9ccc266c26dd7dafb9184777
BLAKE2b-256 98ca71f590e3835a1e2e0512285dcc22c9d268f1f02f687ddaf84a7c6f3ce6ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6a7d50aa33362d583fe980f8eb2e5f56723471033eae5f04854eed865704911d
MD5 1bcdf9e27f562c93e681b18d3d396dff
BLAKE2b-256 a590dcf9859599cd5c9141b61b6c1bf793c5812a60574123ca8287f61e9c73e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 54647255e8d36fcf704af9cca5626c662a94c53b3b1c4da743780b2f30ae1c60
MD5 f17986c81969390a580e65602e8dbb26
BLAKE2b-256 5fe3b60a077ae5dcd4caaf88d77d870e00a4b580a73cfb53f0be008d9295ec8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 cdc84d97e78ee8ad6509b1e83e45a83f5a121b2f0fd0a47e2175ba8a920f0b25
MD5 0db06bb5b3229996fc210c505411139c
BLAKE2b-256 7c7d9d49fe4f9c8e7509ed3212a56f000407879c65b3254d5f144e036e38caa0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4dc24cea226926fd0dc726af583ba08ec1c35658e089af882dd2e4ccb27fa554
MD5 7c54c3cc30ee656c823b5145ecfca7db
BLAKE2b-256 60cba9a59dd93dfc51dd5e936c345f478fe73010ad8c9240ae497c6cb2c23252

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c3993b0df7bf160897f19cb3a7a10c5b3418797f4b53f4e9827da8e8e6b49095
MD5 b3740529c2c43d57aa62b5fa4f13d6ee
BLAKE2b-256 dcffd7c75fa3a4d76b2f26e766c78fa8a6b17bea3a853fc069950123c56090cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 a88d076fdebf6384acba2be42b9ad09d6c52c76a13fa7689ab85762a306678fe
MD5 566e4ef3a3c3020d23efd0e2b4054cda
BLAKE2b-256 d33bd822b5293a04863bc77e7c2f829c8677d4cfbd6c92a74f143a001e324beb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 fc5a5e8ab05ab701648068e09682696ea2e510b0a5bc42db215d0050d1257c20
MD5 34e0f1c939bc6360601731d7fe528341
BLAKE2b-256 8e05cd96ac3357b4703ef40bd5810047fbd343ddf31193855200c42ea453f8f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 beeb2f86a18cc0cc00eae2d0f64faa3379009567db4759555d612e7673b2f5cd
MD5 b75850ef49aad622d5f2c39915482033
BLAKE2b-256 d9ef148796479a3cb0026b20ce11541e6c0f28d188622b3c34e95adff2bec4c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1d1e629643f5b0e9d3c370823fb13992d2e535bc940aa13319e4deeaa1c2558c
MD5 30f3434076b3e8ecd39e0ab05a879673
BLAKE2b-256 212b82db745cdb3449a37bb7a97e477e9c25b03e974bbffa41bb873dd518b1f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 aecbfcdedc1ca5395f9237b9678af034f44e68ab35b25488491d65f5cd857f70
MD5 cbc1f93a5f99a5eb4148108bb1da7f5d
BLAKE2b-256 272c405a97a739a21e4572cbfc2af69dcbd9077884645c4596ac6249b172bd1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 69338db5aeef02a57156852ec0ad4bbce0e9fbc24cd03b9627b5b9e4364fdb23
MD5 b01e274d68102d1e2ec681abe222a212
BLAKE2b-256 648284f4a4aaac49772d68a283e715f65cc459ddcaeae7e03a7b5e94b06f2a7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.7.0a1323-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 334a0432c22a1f21bcd2fec473a74617c1db24ed0c89ff699b5e8e1dcf74e62f
MD5 3dfba08d80c9f62a216d46ce6c2a480d
BLAKE2b-256 35c35e19ca874274419d9596ca2e7db51eea795f37daf1d56f44917678cd7a1c

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