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.4.0-cp310-cp310-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.10Windows x86-64

virtru_sdk-2.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

virtru_sdk-2.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

virtru_sdk-2.4.0-cp310-cp310-macosx_12_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.10macOS 12.0+ ARM64

virtru_sdk-2.4.0-cp39-cp39-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.9Windows x86-64

virtru_sdk-2.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

virtru_sdk-2.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.5 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

virtru_sdk-2.4.0-cp39-cp39-macosx_12_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.9macOS 12.0+ ARM64

virtru_sdk-2.4.0-cp39-cp39-macosx_10_14_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

virtru_sdk-2.4.0-cp38-cp38-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.8Windows x86-64

virtru_sdk-2.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

virtru_sdk-2.4.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.6 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

virtru_sdk-2.4.0-cp38-cp38-macosx_12_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.8macOS 12.0+ ARM64

virtru_sdk-2.4.0-cp38-cp38-macosx_10_14_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

virtru_sdk-2.4.0-cp37-cp37m-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.7mWindows x86-64

virtru_sdk-2.4.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.4.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ ARM64

virtru_sdk-2.4.0-cp37-cp37m-macosx_10_14_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

virtru_sdk-2.4.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

virtru_sdk-2.4.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ ARM64

File details

Details for the file virtru_sdk-2.4.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-2.4.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for virtru_sdk-2.4.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 cc2de767a722fc4867a87c59852f28b73c0533471c3335d64b8d699449515216
MD5 cda1c99e80963917eba7d14929b4a812
BLAKE2b-256 49aa58d292b6d4bc88d1ff9937b8838d0b1837c3010dcbb71ad4a50befaeb89f

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d5e32b4dfcd7001e119ed58571b02465fbc2061b7a458e93f50f1993a447162f
MD5 f7b28a60964bdcdb8d119386990105ac
BLAKE2b-256 45c54da0fc5b25da1f3448a429b2d9e408dfcc4dd01ccf0dfafff712035b9083

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a60dc8f1c2501991ea611a75f20615a2ded1e27316d59297e2d26986a53464f5
MD5 8b683af246d67251781a3ea905dd22ba
BLAKE2b-256 2cf2984f686269fdba288263ad1fe688ad726f22ab357d0586e4b1550da358e5

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0-cp310-cp310-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0-cp310-cp310-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 7ce6197a23468d240c0301df080f9a83c0efcdd8a4e8e4c9a268c0e11d6aff76
MD5 30d4ad8e925c6558b47ac6b65b067198
BLAKE2b-256 36e2e49ddc9bcec8c66935c767b5d56a1792423341427ad365fbe1835318e80d

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-2.4.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for virtru_sdk-2.4.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c41c1e15a778ece54e3eecbae06d091ca844a134f3d2c7999106461e70b1817d
MD5 b010d4baf9be07941e75bd8b406a6bc4
BLAKE2b-256 c775e04c17689b221307c023000adc51ca1add333898dcfef2f6160a8773aca9

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 26bd20d27454d1e45a976b7404080b34d6148b7c7da42729e46dcc4c27c52e1c
MD5 6ac90f558ea78c6faa8c68ef01b9104d
BLAKE2b-256 ef90233fae657f961f3fcea113fe254a1796bd0229c2ca124ee383a46f16ed8d

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 700295b5e300d851addfac9611e22b97d02df46cad5c6c575b0cfb48e0a7a55e
MD5 9f3a5bffd1d32d8df4248a97c8b1a71c
BLAKE2b-256 0d335429b9deee85bef9871a4a10df7d4d04a4a6a7e18b4c4e523857d45f31c7

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0-cp39-cp39-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0-cp39-cp39-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 2d74ecf10a2f6aa80bf7b07febbc88e8cb9a40fded48376c642a05e1e90156f2
MD5 fcc3f81ba4e46d4ff8e61b92c623f842
BLAKE2b-256 eca97b1a6fd373364a499c912ed537b1a2c703d57658e2c1dc286ac5c13a5393

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2e779a5d959128844bf4121288e6b476a04e59632e7cd2f0b4f88096f295e0a1
MD5 f5c01d0f27dac936ccbb1a88a0e73cc3
BLAKE2b-256 9e04a797ef66b9c0d38e131eb2e55d57efbc8c0d01b8bca74064e1c800fefcfe

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-2.4.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for virtru_sdk-2.4.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 280e74ddd90ad6f4b2d264f9b9dbfde00e97e477dd5446887988a34251c84368
MD5 d876268723d3fffea6e12b7466de22d4
BLAKE2b-256 4ccdfe387b6c5f80e4f12c411264aa850e25f9ab6f91406fe77b248c4ad47152

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5bc3e54cf8efcf4167cfa7e405113e5383818d0a7566d4e2c50fe55e1f529d45
MD5 5652149001e93b545d803afb9a7dc36e
BLAKE2b-256 bffe3b1810c27270d7e1bff2c622bac1be87f2a3e65bf5328a2d91099efd66f7

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e3e0edf6eef3bcb8fe8d7d65792158429ecd48f5b6e0f68dc86f73039800ac48
MD5 f534c422e2378add8f6dd29286ea44be
BLAKE2b-256 824dc381742a7a5d6989914f519d70942b491079237342f5283112372973decb

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0-cp38-cp38-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0-cp38-cp38-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 5ac4e356bc9c557d16f179764cc88e91ba845a7b20ef701ff048a06cfd1c0801
MD5 8fe0b19222c174add7b638d52332bcc4
BLAKE2b-256 5cea3906f647446014b86bda7ec5572a89e51190ef680af03c63542a53c34dca

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f06f8afc30ff9a89b6699ba918137fe7b602ad598747f7de99a1424452d614df
MD5 991928cb2147355a44e0a530a0dd1723
BLAKE2b-256 666e7b7df6fede9de912a38928fe0d243e8addbd3085a9121e2577d40ba8176a

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: virtru_sdk-2.4.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for virtru_sdk-2.4.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 eb441300c838b3c3c9005b34ce20f74d9acbc7f07cc6ffea2231704e5bca6e24
MD5 d7add6403b227b6d9138a7ed9246e337
BLAKE2b-256 2d866f92193afcc493df61f5db56a256c8711d65fbd79196fe712ef1eb722ba9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 53287d74ce1c9c47aa031b236ea840d6a840e4c6e9ad2382139883450e646f8a
MD5 2d08a57a3b6708b6fcfadac415bc44f0
BLAKE2b-256 2c2c9c507b1222683efa0de910574a1b61c6429a0e93dab15236f83a8f53e7f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 49456f34c08fdaea4c25f9ee9af9d9344ef9260251027de8890712021b5afed9
MD5 48a2eacf840cb0a7e31987f36f9906d3
BLAKE2b-256 ccd5bc9bb8672247bc8af0839af2bd6cb94f60d9fc03becffbbcebe2b6371239

See more details on using hashes here.

File details

Details for the file virtru_sdk-2.4.0-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for virtru_sdk-2.4.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 cfbb23afae2aa28e115dd80739511902da90320cee62f032451cbd6f34ddcb65
MD5 4c28333ca4098ee50769a77c84968612
BLAKE2b-256 1a2fe85246bcd197a63244d5f4f0ba68c7ca015678413dc66e5d7b6c6440c278

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ab15f63669b721d044584fd66cf157828f4799135fdb8fed059549093dca0245
MD5 843a841945735adb1b9f6f8888957068
BLAKE2b-256 670ed7c823baa4a8e92bbf793f499446d730d8caca816eb5b2e27f909a5617f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for virtru_sdk-2.4.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f0a5abdee1a8f8a2bcc7a7681d9fed9e92789be16e68973b221b50dba0f229d3
MD5 cae666943df835b31c2834b403c63d6b
BLAKE2b-256 f573f3627c8dba208aca36f5125fdb9ad0a75ed26c03e1cc5698dcb7177d1c8b

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