Practical overview
When it fits
Use it when a Python application needs documented PumpSwap trading or token and pool-data functions on Solana.
Who it is for
- Python developers integrating PumpSwap token swaps into an application
- Builders creating trading tools, price lookups or liquidity-pool analytics
Documented uses
- Call PumpSwap buy and sell methods from Python code.
- Retrieve a token’s current price.
- Access liquidity-pool statistics for analysis or display.
- Configure an RPC endpoint, slippage values and swap priority fee for an integration.
Requirements & limits
- The package is installed through pip or Poetry and is built for Solana.
- The documented setup requires an HTTPS RPC endpoint and includes settings for buy and sell slippage and swap priority fees.
- Buy and sell examples pass a user private key to the SDK methods.
- The repository lists an MIT license and includes Poetry-based development, pytest and package-build instructions.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install and configure PumpSwap SDK
Add the SDK to a Python project and prepare the documented RPC and swap settings.
Before you start
- A Python project using pip or Poetry
- An HTTPS Solana RPC endpoint
Steps
Install the package with the command below or add it with
poetry add pumpswap-sdk.pip install pumpswap-sdkCreate a
.envfile in the project root.Set
HTTPS_RPC_ENDPOINT,BUY_SLIPPAGE,SELL_SLIPPAGEandSWAP_PRIORITY_FEEin that file.
Expected outcome
The package is installed and the documented connection and swap configuration values are prepared for SDK use.
Guide limitations
- This covers installation and configuration only; it does not verify a connection or execute a trade.
- The README’s trade examples also require a token mint and user private key.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 15 October 2026
- Original website title
- Sajad-Salehi/PumpSwap_SDK · Official homepage title · retained in its source language

