Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Tappd Client

A Python client for interacting with the Tappd daemon via Unix socket communication.

Installation

pip install tappd-client

Usage

from tappd_client import TappdClient

# Initialize the client
client = TappdClient()  # Default socket path: /var/run/tappd.sock
# Or specify custom socket path
client = TappdClient(socket_path='/custom/path/tappd.sock')

# Get TDX quote
# Using binary data
binary_data = b'Hello World'
response = client.tdx_quote(binary_data)

# Using string data
string_data = "Hello World"
response = client.tdx_quote(string_data)

# Get the quote
quote = response.quote

# Get event log
event_log = response.event_log

# Replay RTMRS from the event log
rtmrs = response.replay_rtmrs()
RTMR0 = rtmrs[0]
RTMR1 = rtmrs[1]
RTMR2 = rtmrs[2]
RTMR3 = rtmrs[3]

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Metadata

Release files for tappd-client 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tappd-client 0.1.3
File Size Uploaded
tappd_client-0.1.3.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tappd-client 0.1.3
File Interpreter ABI Platform
tappd_client-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / tappd_client-0.1.3.tar.gz

Download URL tappd_client-0.1.3.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
954043e08b439497e78367280b314c9fc1328a3b92be726ea07a205b8c14f734
BLAKE2b-256 checksum
How to use checksums
2ef56b0e3cd99a2c5bbd9945b55fcb7d580c4bc509122fc60109bf0bb135d4cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release files / tappd_client-0.1.3-py3-none-any.whl

Download URL tappd_client-0.1.3-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98e7ee952c1badfab308b42e87e5135f9cae73603ac4f00b05da389dba5ff53e
BLAKE2b-256 checksum
How to use checksums
92c30bdc3fc23da5dcc910e581905d9272ef483bd829580dc1f2b70cd3824832
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page