Polymarket CLOB Python order-utils
Python utilities used to generate and sign orders from Polymarket's Exchange
Install
pip install py-order-utils
Usage
from py_order_utils.builders import OrderBuilder
from py_order_utils.signer import Signer
from pprint import pprint
def main():
exchange_address = "0x...."
chain_id = 80002
signer = Signer("0x....")
builder = OrderBuilder(exchange_address, chain_id, signer)
# Create and sign the order
order = builder.build_signed_order(
OrderData(
...
)
)
# Generate the Order and Signature json to be sent to the CLOB API
pprint(json.dumps(order.dict()))
Metadata
Release files for py-order-utils-felix 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py_order_utils_felix-0.3.2.tar.gz | 10.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_order_utils_felix-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.4 kB
Release files / py_order_utils_felix-0.3.2.tar.gz
| Download URL | py_order_utils_felix-0.3.2.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
319579f74ac0350148dd6f89b7999f306f6d7f567b3995eb30f63e0af6ef9a6d
|
|
BLAKE2b-256 checksum How to use checksums |
a4f49a83051fb0c0efbdb5f3f15b03bd57805e22b893c13cf8a3289347eee719
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / py_order_utils_felix-0.3.2-py3-none-any.whl
| Download URL | py_order_utils_felix-0.3.2-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4345e1c82c45dc8e19e2335e221514476c93191c7482c9b9240bdfd0a839003e
|
|
BLAKE2b-256 checksum How to use checksums |
906a7582cba119f35a87f7c0e8bc60351fa60a8376eb24e02df9ccac9695ce56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|