--- id: py-order-utils version: "0.3.2" license: unclear license_treatment: permissive maintenance: dormant --- # py-order-utils — Python utilities used to generate and sign orders from Polymarket's Exchange License: permissive · Maintenance: dormant · Downloads: 1.2M/mo ## What it is and what it does py-order-utils is a Python library for constructing and signing orders on Polymarket's CLOB exchange. It wraps the order-building and EIP-712 signing logic needed to prepare orders for submission to Polymarket's API, handling the cryptographic details through dependencies on eth-account, eth-utils, and poly-eip712-structs. The package is designed for developers integrating Polymarket trading into Python applications. It provides an OrderBuilder class to construct order objects and a Signer class to cryptographically sign them, then serializes the result to JSON for API transmission. The library requires Python >= 3.9.10 and depends on Ethereum signing primitives. Use it for: - Build and sign limit orders programmatically for Polymarket prediction market trading. - Automate order submission workflows that require cryptographic signing before API calls. - Integrate Polymarket trading into a larger Python trading bot or portfolio management system. - Generate properly formatted order and signature JSON for direct CLOB API consumption. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Generates and cryptographically signs orders for Polymarket's CLOB (Central Limit Order Book) exchange, producing JSON-formatted order and signature data ready for API submission. Yes, if you are actively building on Polymarket and need order signing. The library is permissively licensed, has low install friction, and carries no known vulnerabilities. However, dormant maintenance (last update 2024-07-29) means you should verify compatibility with the current Polymarket API and Ethereum tooling before committing to production use. ## Install pip install py-order-utils uv add py-order-utils poetry add py-order-utils ## Installing py-order-utils Before you install: Low install friction with a pure-Python wheel. Maintenance is dormant—last commit was 2024-07-29 and no releases since the first release on 2022-02-03—but the repository remains active and unarchived. License in practice: MIT license (permissive) imposes no restrictions on use, modification, or redistribution in commercial or private projects. Quickstart: pip install py-order-utils from py_order_utils.builders import OrderBuilder from py_order_utils.signer import Signer signer = Signer("0x...") builder = OrderBuilder("0x...", 80002, signer) order = builder.build_signed_order(OrderData(...)) print(order.dict()) Requires Python >= 3.9.10 and a private key or account to instantiate the Signer. Verify before relying: - Whether the package remains compatible with current Polymarket API versions given dormant maintenance status. - Whether eth-account and eth-utils versions pinned by this package are compatible with modern Ethereum tooling. - Production readiness and support guarantees for active trading workflows. ## Package facts - License: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: dormant - Downloads: 1.2M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags polymarket order signing, clob order builder, ethereum order generation, crypto exchange order utils, eip712 order signing, polymarket, order-signing, eip712 [View on SkillFed](https://skillfed.io/packages/py-order-utils) · [View on PyPI](https://pypi.org/project/py-order-utils/)