Skip to main content

Polymarket CLOB Python order-utils

PyPI

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)

Source distribution for py-order-utils-felix 0.3.2
File Size Uploaded Provenance Actions
py_order_utils_felix-0.3.2.tar.gz 10.5 kB Without provenance Details for py_order_utils_felix-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-order-utils-felix 0.3.2
File Interpreter ABI Platform Actions
py_order_utils_felix-0.3.2-py3-none-any.whl Python 3 none any Details for py_order_utils_felix-0.3.2-py3-none-any.whl

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

Security for py-order-utils-felix 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files No provenance

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