{"library":"driftpy","type":"library","category":null,"description":"DriftPy is the official Python client for the Drift Protocol, a decentralized exchange on the Solana blockchain. It enables users to programmatically trade, fetch data, and interact with the Drift DEX. The library is actively maintained with frequent updates, currently at version 0.8.89.","language":"python","status":"active","version":"0.8.89","tags":["solana","defi","dex","trading","crypto","blockchain"],"last_verified":"Mon May 25","install":[{"cmd":"pip install driftpy","imports":["from driftpy.drift_client import DriftClient","from driftpy.drift_user import DriftUser","from driftpy.constants.numeric_constants import BASE_PRECISION, AMM_RESERVE_PRECISION","from driftpy.account_subscription_config import AccountSubscriptionConfig","from driftpy.keypair import load_keypair","from solana.rpc.async_api import AsyncClient","from solders.keypair import Keypair","from anchorpy import Wallet"]}],"homepage":"https://driftprotocol.com","github":"https://github.com/drift-labs/driftpy","docs":"https://drift-labs.github.io/driftpy/","changelog":null,"pypi":"https://pypi.org/project/driftpy/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":20,"avg_install_s":18.3,"avg_import_s":1.43,"wheel_type":"sdist"},"url":"https://checklist.day/v1/registry/driftpy/compatibility"}}