PyPI Stats
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About
Home

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

945K 438 51
kevinheavey
anchorpy

The Python Anchor client.

178K 277 73
ApeWorX
eth-ape

Build and explore on-chain with Python

90K 1K 178
BobTheBuidler
eth-portfolio-temp

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

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

24K 2 1
ApeWorX
tokenlists

Uniswap Token Lists implementation in Python.

17K 33 6
oceanprotocol
ocean-contracts

🐙 Smart contracts for Ocean Protocol

16K 87 65
mraniki
dxsp

A python defi swap package (DeX SwaP)

14K 14 5
BobTheBuidler
eth-portfolio

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

10K 15 6
simtopia
verbs

Rust and Python Ethereum Agent Based Modelling Library

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

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

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

4K 276 67
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.

4K 0 0
lokii-D
lirix

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

4K 1 0
RichardAtCT
1inch-py

A Wrapper around the 1inch APIs

3K 28 9
defipy-devs
defipy

DeFiPy: Python SDK for Agentic DeFi

2K 20 5
shanefontaine
uniswap-python

🦄 The unofficial Python client for the Uniswap exchange.

2K 1K 379
moonstream-to
moonworm

codegen for crypto degens and other ethereum smart contract toolkit for python

2K 38 7
delvtech
hyperdrivepy

No description available

2K 4 1
delvtech
agent0

Analysis & simulation repo for DELV

2K 58 20
eprbell
dali-rp2

DaLI (Data Loader Interface) is a data loader and input generator for RP2 (https://pypi.org/project/rp2), the privacy-focused, free, open-source cryptocurrency tax calculator: DaLI removes the need to manually prepare RP2 input files. Just like RP2, DaLI is also free, open-source and it prioritizes user privacy.

2K 79 53
FinAegis
finaegis

Open-source core banking platform — 56 DDD modules, event sourcing, CQRS, GraphQL, x402 payments. Laravel 12 / PHP 8.4

1K 161 33
bugout-dev
moonstreamdb

Moonstream database

1K 149 50
ensuro
ensuro

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

1K 22 5
    • Data from PyPI, GitHub, ClickHouse, and BigQuery