Python Wrapper for TDF3 SDK
Project description
TDF3 SDK
The TDF3 Python SDK allows developers to easily create and manage encrypted Trusted Data Format (TDF) objects and interact with Key Access and Entity Attribute Services (KAS, EAS).
Installation
Upgrade pip3 to the latest version and run
pip3 install tdf3sdk
Authentication
Two different methods:
- Provide EAS url and user id (user should be registered on EAS):
client = TDF3Client(eas_url, user_id)
- Provide EAS url, user id, client key (absolute file path), client cetificate (absolute file path) and root CA (absolute file path)
client = TDF3Client(eas_url, user_id, filepath_client_key, filepath_client_cert, filepath_rootCA)
Create Encrypted TDF Object (minimal example)
from tdf3sdk import TDF3Client
client = TDF3Client(eas_url, user_id)
unprotected_file = "sensitive.txt"
protected_file = unprotected_file + ".tdf.html"
client.encrypt_file(unprotected_file, protected_file)
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
Close
Hashes for tdf3sdk-1.0.1a767-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a22c36d598f057920cfa50e94d0e06c8655737b8f6b557170b6d9c20bb6d7144 |
|
MD5 | 11c50f8dd6f44a47597149244d0b1697 |
|
BLAKE2b-256 | 986b11cf41e64411cad694a45dbfd6e2e6f35f51f8ecf95d7b184012eee02278 |
Close
Hashes for tdf3sdk-1.0.1a767-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd2da05e7eddc2f595c198c2c0fd87edd76d7d75173c71eed83c2078ab982bfe |
|
MD5 | c0719de5e2367fca1d0c22d1ab437fe7 |
|
BLAKE2b-256 | d14e7cb1d016108807cf990b88565241f9679b047c976d4c8a31a2771f9c110a |
Close
Hashes for tdf3sdk-1.0.1a767-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 216b612d3da090044adc32126adcee7b3ca5061e7f172e144c2223485e4b0be5 |
|
MD5 | 0feb2053ee2893b01e841f231bfdaad3 |
|
BLAKE2b-256 | d9a26e9dbd5660e7ebafacc1ef4864fb34b3afc19aa4d73fcb2afcbc216637c0 |
Close
Hashes for tdf3sdk-1.0.1a767-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 609f2c34d5adc7e4180c74257396a34ef7b4a966deb21ca48f632a6ed35439e1 |
|
MD5 | 5492e9a2ad46b450935a9fae0fae710c |
|
BLAKE2b-256 | 08abb5f432f4daecc6acef259d8d47cf8bb896e125b73fa5b20c24634cc862e1 |
Close
Hashes for tdf3sdk-1.0.1a767-cp37-cp37m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85fc45b3c494cd6eda54f73b280c634f125c7fcd9720f8a26d6b6aea19ec1726 |
|
MD5 | 74590d29fc7308e25795c87d5f12223e |
|
BLAKE2b-256 | 25ba1c9ea2bed27e5260cfae7f930d71763666acf942ef0e170cc02752d5130b |
Close
Hashes for tdf3sdk-1.0.1a767-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23087ab232acecd0969b7ab1900f31603c865c0e320c8a87b8b9e683ab2ab02f |
|
MD5 | 830d7e91ba3b4d133521208c77264322 |
|
BLAKE2b-256 | ac9fc05583282a200bbf4e2037d2be4703bdca2d67df7ac1c976107b22cdce73 |