Skip to main content

Python client for Tappd in DStack CVM

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

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)

License

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tappd_client-0.1.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tappd_client-0.1.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file tappd_client-0.1.1.tar.gz.

File metadata

  • Download URL: tappd_client-0.1.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for tappd_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8f25a7dfdace9dac97c0276b53c480b8bc27751759268dfacf8eda0a42c1f8f7
MD5 0bd0851bf5241aa7bd15ac1f998f9cd2
BLAKE2b-256 e0bc6830021ea72c6f548dd50813b642d0ac3aac6e72d77b0052a1f4f593d91d

See more details on using hashes here.

File details

Details for the file tappd_client-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tappd_client-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for tappd_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 67f31e4e717071dbbc59bc4802d4a9723d654c0ad1d8cd45abb8e8dd084c037f
MD5 199576cdad2cf4a0037b60f45a8bda8a
BLAKE2b-256 1eaa5a11ce0eb56e8a8c59f14f0705e9aca80f2a4b8dd1c0b183c0c9d242c7e9

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