Skip to main content

Official Python SDK for Sleuth Wallet Intelligence Platform

Project description

Sleuth SDK for Python

Official Python SDK for the Sleuth Wallet Intelligence Platform.

Installation

pip install sleuth-sdk

Quick Start

from sleuth_sdk import SleuthClient

# Initialize client
client = SleuthClient(api_key="your_api_key")

# Search a wallet
profile = client.wallet.search("0xd8da6bf26964af9d7eed9e03e53415d37aa96045")
print(f"30d PnL: ${profile.pnl_30d:,.2f}")
print(f"Win Rate: {profile.win_rate}%")

# Get alpha signals (Premium)
signals = client.premium.get_signals(
    signal_types=["whale_accumulation", "smart_money_buy"],
    min_confidence=0.8
)

for signal in signals:
    print(f"{signal.signal_type}: {signal.token} ({signal.strength})")

# Get top traders to copy
traders = client.premium.get_top_traders()
for trader in traders:
    print(f"{trader['label']}: {trader['pnl_30d']}")

Real-time Alerts (WebSocket)

import asyncio
from sleuth_sdk import SleuthWebSocket

async def handle_alert(alert):
    print(f"🚨 {alert['alert_type']}: {alert['data']}")

async def main():
    ws = SleuthWebSocket(api_key="your_key")
    ws.on_alert = handle_alert
    
    # Subscribe to specific alert types
    await ws.connect()
    await ws.subscribe(["whale_movement", "alpha_signal", "rug_detected"])

asyncio.run(main())

Available Features

Free Tier

  • Wallet search & analysis
  • Basic social intel
  • Trade history

Premium Tiers

  • Alpha signals API
  • Wallet labels database (10M+ addresses)
  • Token launch scanner
  • Copy trade execution
  • MEV protection
  • Historical backtesting
  • Social alpha (CT intelligence)

Documentation

Full documentation at docs.sleuth.io

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sleuth_sdk-1.0.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sleuth_sdk-1.0.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file sleuth_sdk-1.0.0.tar.gz.

File metadata

  • Download URL: sleuth_sdk-1.0.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for sleuth_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 806a57be3fd5b35ea2ff7f21f2dd3b129b63680ca47e6963c23ef500d2cb2b58
MD5 b7d320fec455cb6881b41c9372312179
BLAKE2b-256 27a4470980edee57cc9cd6ea434798efbb16c0adf563abe468e241acc5eb1cc3

See more details on using hashes here.

File details

Details for the file sleuth_sdk-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: sleuth_sdk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for sleuth_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a50f7ad79017dd2b1735791043f530ebbb20a477bd28f649c539071193393f9
MD5 85db343ddb1d975edb163c6fed96cd04
BLAKE2b-256 512bb9c18c11a840d7f6107267ff1b6215bd0d83d513e5b59553b947be43224f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page