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.1M 440 50
kevinheavey
anchorpy

The Python Anchor client.

211K 277 73
ApeWorX
eth-ape

Build and explore on-chain with Python

85K 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.

24K 15 6
ApeWorX
tokenlists

Uniswap Token Lists implementation in Python.

21K 33 6
oceanprotocol
ocean-contracts

🐙 Smart contracts for Ocean Protocol

15K 87 64
mraniki
dxsp

A python defi swap package (DeX SwaP)

9K 14 5
BobTheBuidler
eth-portfolio

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

8K 15 6
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.

6K 3 1
lokii-D
lirix

Safety-first DeFi payload validation SDK. fail-closed by design.

4K 1 0
simtopia
verbs

Ethereum ABM Library

4K 26 3
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.

4K 64 9
fboiero
miesc

Multi-layer Intelligent Evaluation for Smart Contracts — 35 analysis modules, 9 defense layers, one command. Pre-audit triage for Ethereum, Starknet, and beyond.

4K 4 1
defipy-devs
defipy

DeFiPy: Python SDK for Agentic DeFi

3K 20 5
Elnaril
uniswap-universal-router-decoder

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

3K 277 66
shanefontaine
uniswap-python

🦄 The unofficial Python client for the Uniswap exchange.

2K 1K 379
RichardAtCT
1inch-py

A Wrapper around the 1inch APIs

2K 28 8
pythia-the-oracle
pythia-oracle-mcp

Every smart contract deserves intelligence, not just data. MCP server for on-chain calculated indicators (EMA, RSI, VWAP, Bollinger, volatility) via Chainlink.

2K 0 0
moonstream-to
moonworm

moonworm: Generate a command line interface to any Ethereum smart contract

2K 38 7
delvtech
agent0

Analysis & simulation repo for DELV

2K 58 20
bugout-dev
moonstreamdb

Moonstream database

2K 150 50
delvtech
hyperdrivepy

No description available

1K 4 1
ensuro
ensuro

Ensuro Protocol - Blockchain-based, licensed, (re)insurer

1K 22 5
kadirpekel
algorig

Algorig - The Ultimate Algorand Smart Contract Development Rig!

1K 7 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery