Python builder signing sdk
Project description
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"}')
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_builder_signing_sdk-0.0.2.tar.gz.
File metadata
- Download URL: py_builder_signing_sdk-0.0.2.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27fa4401944220c51809f549a263c6e53b5cd981fca98eda7ef6f21944e6bf94
|
|
| MD5 |
318b82e93f6da54ffc20039305af2d91
|
|
| BLAKE2b-256 |
18e3fab3253021a4d766345f491f00e40d89c7c5640bf6d20d9f5a3182b482de
|
File details
Details for the file py_builder_signing_sdk-0.0.2-py3-none-any.whl.
File metadata
- Download URL: py_builder_signing_sdk-0.0.2-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
114b9d57bec228177d759ce15c475589f47db2252ed1fd67cac3c9b0640abe76
|
|
| MD5 |
45e7ec93ccca6c87b7be4f609acbf948
|
|
| BLAKE2b-256 |
57fb23c68c8f6356a50f959e2df2ae80e8344c3ff8ccca92943848a57a495928
|