--- id: injective-py version: "1.16.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # injective-py — Injective Python SDK, with Exchange API Client License: permissive · Maintenance: active · Downloads: 632.4K/mo ## What it is and what it does Injective Python SDK is a client library for the Injective blockchain and its decentralized exchange, built on Cosmos. It provides both synchronous and asynchronous interfaces to interact with on-chain accounts, execute transactions, and stream market data and order updates from the Exchange API. The package wraps protocol buffers and gRPC bindings for the Injective chain and includes cryptographic utilities for wallet management and message signing via its runtime dependencies. The SDK exposes an AsyncClient (V2) that returns market data in human-readable decimal format and supports the latest Exchange endpoints, while the older V1 ChainClient returns raw blockchain values and will not receive new Exchange features. Installation requires Python 3.10+ and system-level build tools for compiling native dependencies. The package is actively maintained and supports current Python versions through 3.14. Use it for: - Build trading bots or market-making applications using the async Exchange API client to stream orders and execute trades. - Integrate Injective chain transactions into Python applications via the synchronous client. - Stream real-time order book updates and market data from Injective Exchange for analytics or monitoring. - Manage Injective wallets and sign transactions using built-in cryptographic utilities. - Migrate from V1 to V2 AsyncClient to access new Exchange endpoints and human-readable market data formats. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Injective Python SDK provides client libraries for interacting with the Injective blockchain and Exchange API, supporting both synchronous and asynchronous operations for trading, account management, and chain transactions. Yes, if you are building on Injective blockchain or integrating with its Exchange API. The SDK is actively maintained, has no known vulnerabilities, and offers both sync and async interfaces. Install friction is low for Python environments with standard build tools. The Apache-2.0 license is permissive. Requires Python 3.10+ and system dependencies; verify V2 stability for your use case if migrating from V1. ## Install pip install injective-py uv add injective-py poetry add injective-py ## Installing injective-py Before you install: Low friction installation as a pure-Python wheel. Active maintenance with last commit 2026-07-29. Requires Python 3.10+ and system build tools (autoconf, automake, libffi-dev) for compilation of native dependencies. License in practice: Apache-2.0 permissive license allows commercial and private use with minimal restrictions; requires only attribution and inclusion of license text in distributions. Quickstart: pip install injective-py from injective_py.async_client_v2 import AsyncClient from injective_py.network import Network async def main(): client = AsyncClient(network=Network.mainnet()) Requires Python 3.10+; system build tools (autoconf, automake, libffi-dev on Ubuntu/Fedora, or brew on macOS) needed for native dependency compilation. Verify before relying: - Whether V2 AsyncClient is production-ready or still in active development relative to V1 - Performance characteristics and rate limits for Exchange API endpoints - Stability guarantees for market data format conversions between chain and human-readable formats - Whether all 15 runtime dependencies are required for basic usage or optional for specific features ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 632.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags injective blockchain sdk python, cosmos chain client library, exchange api trading client, async blockchain interaction, injective exchange integration, cryptocurrency trading sdk, blockchain wallet management, blockchain-sdk, cosmos-chain, async-client [View on SkillFed](https://skillfed.io/packages/injective-py) · [View on PyPI](https://pypi.org/project/injective-py/)