Skip to content
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.6M 454 53
kevinheavey
anchorpy

The Python Anchor client.

130K 279 77
veil-solana
veil-solana

Privacy SDK infrastructure for Solana. Python interface with a Rust cryptographic backbone.

55K 3 0
ApeWorX
eth-ape

Build and explore on-chain with Python

51K 1K 209
Elnaril
uniswap-universal-router-decoder

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

30K 277 61
shanefontaine
uniswap-python

πŸ¦„ The unofficial Python client for the Uniswap exchange.

29K 1K 373
Conrad-sudo
langchain-uniswap-v2

LangChain tools for querying Uniswap V2 pools and execution plans for swaps across any EVM chain.

29K 0 0
YouthAIAgent
agentwallet-mcp

Open-source custodial wallet infrastructure for AI agents β€” Solana-native with escrow, marketplace, x402 payments, and reputation scoring

28K 4 1
AiAgentKarl
solana-mcp-server

MCP-Server fΓΌr Solana-Blockchain-Daten β€” Wallets, Token-Preise, DeFi-Yields, Sicherheitschecks

28K 1 0
Kazopl
mpc-wallet

Production-grade MPC wallet SDK for AI agents. 2-of-3 threshold signatures, multi-chain (EVM + Solana), ERC-4337 smart accounts. Secure key management without single points of failure. TypeScript & Python SDKs with Rust core.

28K 5 2
JinUltimate1995
dexscreener-python

Async DexScreener API client for Python with rate limiting, 429 retry, and response caching.

28K 3 0
Elnaril
uniswapx-sdk

Python SDK for UniswapX

28K 4 4
shanefontaine
uniswap-tool

πŸ¦„ The unofficial Python client for the Uniswap exchange.

27K 1K 373
nagysven
gatekeeper-solana

Deterministic pre-flight validation gateway & execution firewall for autonomous AI agents on Solana.

27K 0 0
ApeWorX
tokenlists

Uniswap Token Lists implementation in Python.

26K 33 6
BobTheBuidler
eth-portfolio-temp

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

21K 15 6
use-agent-os
use-agent-os

The AI agent that trades for you. Open-source and local-first: onchain swaps, bridges, DCA, and stop-losses, with your keys on your machine.

20K 83 58
oceanprotocol
ocean-contracts

πŸ™ Smart contracts for Ocean Protocol

14K 85 63
counterfactual5
uniswap-autopilot

Agent-native Uniswap v2/v3/v4 execution engine: quote β†’ approve β†’ sign β†’ broadcast, plus LP auto-rebalance/compound (pure Python, ~13k LOC).

14K 1 1
VaitaR
aiochainscan

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

11K 5 0
hummingbot
hummingbot

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

10K 21K 5K
mraniki
dxsp

A python defi swap package (DeX SwaP)

8K 14 5
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
Adz1DoubleD
pair-scanner-bot

Self-hosted Telegram bot that watches new token pairs, audits them and can trade from your own wallet

6K 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology