Skip to main content

py-builder-signing-sdk

Python SDK for Polymarket builder authentication and signing.

Installation

pip install py-builder-signing-sdk

Usage

from py_builder_signing_sdk import BuilderConfig, BuilderApiKeyCreds, RemoteBuilderConfig

# Local signing
creds = BuilderApiKeyCreds(
    key="your-api-key",
    secret="your-secret", 
    passphrase="your-passphrase"
)
config = BuilderConfig(local_builder_creds=creds)

# Remote signing
remote_config = RemoteBuilderConfig(
    url="http://localhost:3000/sign",
    token="your-auth-token"  # optional
)
config = BuilderConfig(remote_builder_config=remote_config)

# Generate signed headers
headers = config.generate_builder_headers("POST", "/order", '{"data": "example"}')

Metadata

Release files for py-builder-signing-sdk 0.0.2

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

Source distribution (sdist)

Source distribution for py-builder-signing-sdk 0.0.2
File Size Uploaded
py_builder_signing_sdk-0.0.2.tar.gz 6.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-builder-signing-sdk 0.0.2
File Interpreter ABI Platform
py_builder_signing_sdk-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.5 kB

Release files / py_builder_signing_sdk-0.0.2.tar.gz

Download URL py_builder_signing_sdk-0.0.2.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
27fa4401944220c51809f549a263c6e53b5cd981fca98eda7ef6f21944e6bf94
BLAKE2b-256 checksum
How to use checksums
18e3fab3253021a4d766345f491f00e40d89c7c5640bf6d20d9f5a3182b482de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.10

Release files / py_builder_signing_sdk-0.0.2-py3-none-any.whl

Download URL py_builder_signing_sdk-0.0.2-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
114b9d57bec228177d759ce15c475589f47db2252ed1fd67cac3c9b0640abe76
BLAKE2b-256 checksum
How to use checksums
57fb23c68c8f6356a50f959e2df2ae80e8344c3ff8ccca92943848a57a495928
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.10

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

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