$npx skillfedfor your agent

cosmpy

A library for interacting with the cosmos networks

With conditionsPyPI Software DevelopmentReleased May 202683.7K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — cosmpy-0.12.2-py3-none-any.whl
v0.12.2 · released 2026-05-26 · Python <4.0,>=3.10 · 14 runtime deps: bcrypt, bech32, ecdsa, googleapis-common-protos, grpcio, jsonschema, packaging, protobuf

Yes, if you are building on Cosmos SDK networks (especially Fetch.ai). The library is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive license. The Alpha status means the API may change, so pin the version in production. Not relevant for non-Cosmos blockchain work.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; depends on 14 runtime packages including cryptographic libraries (bcrypt, ecdsa, pycryptodome, pynacl).
  • Low friction installation with a pure-Python wheel.
  • Active maintenance with a recent release 80 days ago and ongoing commits.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for most projects.

last release 2026-05-26 (80 days) · last repo commit 2026-08-05 · 150 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 83,709 downloads/mo, #14,054 on PyPI

Verify before relying

pip install cosmpy

from cosmpy.aerial.client import LedgerClient, NetworkConfig

ledger_client = LedgerClient(NetworkConfig.fetchai_mainnet())
balances = ledger_client.query_bank_all_balances('fetch12q5gw9l9d0yyq2th77x6pjsesczpsly8h5089x')
for coin in balances:
    print(f'{coin.amount}{coin.denom}')
  • Whether the library supports networks beyond Fetch.ai mainnet or if other Cosmos chains are documented.
  • Performance characteristics when querying large account histories or performing batch operations.
  • Whether smart contract deployment and interaction examples cover all major contract types.
Same gist for agents: .md · .json

What it is and what it does

CosmPy is a Python client library for Cosmos SDK-based blockchains, primarily designed for the Fetch.ai network. It abstracts the complexity of blockchain interaction by providing high-level methods for common operations: querying account balances, transferring tokens, staking, and deploying or calling smart contracts. The library handles cryptographic signing, network communication via gRPC, and protocol buffer serialization internally.

The package is built on a foundation of established cryptographic and serialization dependencies (bcrypt, ecdsa, pycryptodome, protobuf, grpcio) and is actively maintained with recent releases. It targets developers building applications on Cosmos networks who want to avoid low-level protocol details. The library is in Alpha status, meaning the API may evolve, but it has been in development since 2021 and is actively used.

Use it for

  • Query account balances and transaction history on Cosmos-based networks without running a full node.
  • Build automated token transfer or staking workflows that interact with blockchain accounts programmatically.
  • Deploy and interact with smart contracts on Cosmos networks from Python applications.
  • Integrate blockchain operations into backend services or data pipelines that need to read or write blockchain state.
  • Perform atomic swaps or multi-step transactions that require coordination across blockchain operations.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building on Cosmos SDK networks (especially Fetch.ai).

The library is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive license. The Alpha status means the API may change, so pin the version in production. Not relevant for non-Cosmos blockchain work.

Install

cosmpy on PyPI

Before you install

Low friction installation with a pure-Python wheel. Active maintenance with a recent release 80 days ago and ongoing commits. Supports Python 3.10 through 3.14.

Requires Python 3.10 or later; depends on 14 runtime packages including cryptographic libraries (bcrypt, ecdsa, pycryptodome, pynacl).

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for most projects.

Quickstart

pip install cosmpy

from cosmpy.aerial.client import LedgerClient, NetworkConfig

ledger_client = LedgerClient(NetworkConfig.fetchai_mainnet())
balances = ledger_client.query_bank_all_balances('fetch12q5gw9l9d0yyq2th77x6pjsesczpsly8h5089x')
for coin in balances:
    print(f'{coin.amount}{coin.denom}')

Verify before relying

  • Whether the library supports networks beyond Fetch.ai mainnet or if other Cosmos chains are documented.
  • Performance characteristics when querying large account histories or performing batch operations.
  • Whether smart contract deployment and interaction examples cover all major contract types.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <4.0,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
14 packages
bcryptbech32ecdsagoogleapis-common-protosgrpciojsonschemapackagingprotobufpycryptodomepynaclpython-dateutilrequestssortedcontainersvirtualenv
MaintenanceActively maintained 80 days since the last release
Last repo commit
First released
Downloads83,709 / month, #14,054 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: UnixProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software DevelopmentTopic :: Software Development :: Libraries :: Python ModulesTopic :: System

Evidence: cosmpy-0.12.2-py3-none-any.whl

Tags

Capabilities
cosmos blockchain python clientcosmos sdk interaction libraryfetch.ai network integrationblockchain account queries pythoncosmos token transfer librarycosmos staking pythoncosmos smart contract interaction
Topics
blockchaincosmos-sdkcryptography
PyPI keywords
CosmPyCosmos-SDK

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “cosmos blockchain python client”

  • cosmpyCosmPy provides Python bindings to interact with Cosmos SDK-based…
  • injective-pyInjective Python SDK provides client libraries for interacting with…
  • azure-mgmt-cosmosdbProvides programmatic management of Azure Cosmos DB…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also web3 · injective-py · anchorpy · cdp-sdk · aptos-sdk · tronpy · stellar-sdk · pycoingecko · tonsdk · azure-cosmos