Raindrop AI Python SDK

raw JSON →
0.0.43 verified Mon Apr 27 auth: no python

Official Python SDK for Raindrop AI, a platform for AI-powered document processing and data extraction. Version 0.0.43 supports Python 3.10+. The SDK enables integration with Raindrop AI's API for document analysis, extraction, and automation. Release cadence is irregular as it is in early development.

pip install raindrop-ai
error ModuleNotFoundError: No module named 'raindrop'
cause Importing with incorrect package name (using hyphen instead of underscore).
fix
Use 'from raindrop_ai import RaindropClient' (underscore).
error raindrop_ai.exceptions.AuthenticationError: Invalid API key
cause API key not provided or invalid.
fix
Set RAINDROP_API_KEY environment variable or pass api_key='your_key' to RaindropClient().
error TypeError: extract() got an unexpected keyword argument 'file_path'
cause Using deprecated 'file_path' parameter in newer SDK version.
fix
Use 'url' parameter instead of 'file_path'.
deprecated The 'extract' method signature changed in 0.0.40: 'url' parameter is now required, and 'file_path' is deprecated.
fix Use 'url' parameter instead of 'file_path'.
gotcha API key must be set via 'RAINDROP_API_KEY' environment variable or passed to RaindropClient constructor. Omitting it leads to authentication errors.
fix Set RAINDROP_API_KEY environment variable or pass api_key parameter.
breaking In version 0.0.35, the 'parse' method was renamed to 'extract'. Old method no longer works.
fix Use 'extract' instead of 'parse'.

Initialize client with API key from environment or directly.

from raindrop_ai import RaindropClient

client = RaindropClient(api_key=os.environ.get('RAINDROP_API_KEY', ''))
result = client.extract(url='https://example.com/document.pdf')
print(result)