PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Defi Python Packages

Python packages with the GitHub topic defi. Sorted by monthly downloads, with stars and forks.
kevinheavey
solders

A high-performance Python toolkit for Solana, written in Rust

1.7M 449 53
kevinheavey
anchorpy

The Python Anchor client.

98K 279 76
ApeWorX
eth-ape

Build and explore on-chain with Python

32K 1K 187
BobTheBuidler
eth-portfolio-temp

Use eth-portfolio to output information about a wallet or collection of wallets in a streamlined, speed-optimized way.

22K 15 6
ApeWorX
tokenlists

Uniswap Token Lists implementation in Python.

13K 33 6
mraniki
dxsp

A python defi swap package (DeX SwaP)

8K 14 5
tribulnation
tribulnation-catalogue

An open registry of assets and networks, translated across chains and exchanges

8K 1 0
oceanprotocol
ocean-contracts

🐙 Smart contracts for Ocean Protocol

8K 87 64
hummingbot
hummingbot

Open source software that helps you create and deploy high-frequency crypto trading bots

8K 20K 5K
VaitaR
aiochainscan

Async multi-provider blockchain explorer client for Python & AI agents — Etherscan, Blockscout, NodeReal (BSC) and more

8K 4 0
BobTheBuidler
eth-portfolio

Use eth-portfolio to output information about a wallet or collection of wallets in a streamlined, speed-optimized way.

6K 15 6
LPSignals
lpsignal

Official Python SDK for LPSignal — net-of-IL APR signals for concentrated-liquidity pools

5K 0 0
ulsreall
web3-agent-kit

Open-source toolkit for building AI agents that interact with blockchains — DeFi, restaking, token sniping, portfolio tracking, bridging, and more.

3K 20 2
UdotCASH
agents-u-cash

Non-custodial HTTP-402 payments for AI agents: JS + Python SDKs, MCP server, and API docs for agents.u.cash

3K 0 0
simtopia
verbs

Rust and Python Ethereum Agent Based Modelling Library

3K 26 3
coinpaprika
dexpaprika-sdk

Official DexPaprika Python SDK: Pythonic access to cross-chain DEX data, prices, and pools with type hints and caching.

3K 21 2
kaisersolver
cow-backtester

Offline backtester, A/B harness, and counterfactual scorecard for CoW Protocol solvers — replay recent auctions against your own /solve endpoint

3K 4 1
Elnaril
uniswap-universal-router-decoder

Uniswap Universal Router SDK - Decode and Encode Transactions - Uniswap V2, V3 & V4

2K 278 63
RichardAtCT
1inch-py

A Wrapper around the 1inch APIs

2K 28 8
Mnemosyne-quest
primecli

CLI tools for the DeltaPrime (Avalanche) and DegenPrime (Base) lending and leverage protocols. Agent-friendly: preview-by-default, structured stdout, no Etherscan key required.

2K 0 0
investorphem
abapay-sdk

Non-custodial Web3 settlement layer turning stablecoins into real-world utility payments (electricity, airtime, data, cable TV, education, bank transfers) for emerging markets on Celo & Base. An autonomous AI agent (ERC-8004 identity, 8004scan.io) pays bills unattended via Telegram/WhatsApp/X — bounded allowances, autopay, batch payments.

2K 1 0
defipy-devs
defipy

DeFiPy: Python SDK for Agentic DeFi

2K 20 5
nirium-protocol
nirium

Autonomous treasury and agentic payments (x402/MPP) for Stellar/Soroban — TypeScript and Python packages, plus a CLI.

2K 3 24
clawnchdev
clawmes

Hermes Agent plugin for crypto: wallets, DEX trading, lending and staking, governance, on-chain automation.

2K 25 5
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology