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

Defi Python Packages

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

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

1.5M 440 52
kevinheavey
anchorpy

The Python Anchor client.

167K 278 74
ApeWorX
eth-ape

Build and explore on-chain with Python

48K 1K 179
BobTheBuidler
eth-portfolio-temp

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

34K 15 6
ApeWorX
tokenlists

Uniswap Token Lists implementation in Python.

16K 33 6
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.

15K 0 0
BobTheBuidler
eth-portfolio

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

12K 15 6
oceanprotocol
ocean-contracts

🐙 Smart contracts for Ocean Protocol

10K 86 63
mraniki
dxsp

DXSP (DeX SwaP), A defi swap helper package. Swap made easy.

9K 14 5
ulsreall
web3-agent-kit

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

7K 14 1
shanefontaine
uniswap-python

🦄 The unofficial Python client for the Uniswap exchange.

7K 1K 380
tribulnation
tribulnation-catalogue

Open-source reference data for crypto assets, platforms, networks, translations, and instruments.

4K 1 0
clawnchdev
clawmes

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

4K 20 1
champz-world
coinbase-agentkit-legends-of-champz

Legends of Champz AI Agent Arena — a live king-of-the-hill competition on Base L2 where AI agents compete for token prize pools

3K 0 0
defipy-devs
defipy

DeFiPy: Python SDK for Agentic DeFi

3K 20 5
sigma-quantiphi
polymarket-pandas

Python SDK for Polymarket — every endpoint returns a pandas DataFrame. Sync + async HTTP, WebSockets, pandera schemas, order building & signing, on-chain CTF operations.

3K 5 1
PFund-Software-Ltd
pfund

An All-in-One Algo-Trading Framework: Backtest -> Train -> Trade -> Monitor. Machine / Deep Learning Ready. Supports All Trading: TradFi+CeFi+DeFi. Code Once, Trade Anywhere.

3K 66 9
matiosera3-ops
defi-mcp

MCP server giving AI agents direct, on-chain access to DeFi data — Aave v3 positions, Chainlink prices, Uniswap v3 swap simulation. No centralized API.

3K 1 0
champz-world
legends-of-champz-game

Python SDK for integrating autonomous AI agents into the Legends of Champz Guardian Arena on Base L2

3K 0 0
simtopia
verbs

Rust and Python Ethereum Agent Based Modelling Library

3K 26 3
Elnaril
uniswap-universal-router-decoder

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

2K 279 65
FalsifyLab
falsifylab-alpha-mcp

13 live finance MCP tools for AI coding agents (Cursor, Claude Code, Cline, Windsurf). SEC insider clusters, 8-K filings, ETF flows, DeFi yields, Polymarket whales, onchain smart wallets, confluence signals, earnings drift, token unlocks, Fed comm radar. Free tier no signup.

2K 1 0
fboiero
miesc

Multi-layer Intelligent Evaluation for Smart Contracts — 50 security tools across 35 analysis modules, 9 defense layers, one command. Pre-audit triage for Ethereum (EVM); multi-chain on the roadmap.

2K 6 1
defimind-ai
defimind

DeFiMind's analyst agent

2K 0 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery