
Product
Socket Now Protects the Chrome Extension Ecosystem
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Python client for accessing the GridStatus.io Hosted API.
Browse all available datasets in our Data Catalog.
gridstatusio
supports Python 3.10+. Install with uv or pip.
uv pip install gridstatusio
export GRIDSTATUS_API_KEY=your_api_key
limit
to all of your get_dataset
calls to avoid quickly exceeding the limit.max_retries
parameter when initializing the client. If you find yourself hitting rate limits, you may need to add a delay between your requests. The Grid Status Pricing Page contains more details on specific rate limits.Then check out this example notebook: Getting Started
Other notebooks in the Examples directory:
The client retries failed requests due to rate limits (429), server errors (5xx), and network issues using exponential backoff. You can customize retry behavior:
client = GridStatusClient(
max_retries=3, # Maximum retries (default: 5)
base_delay=1.0, # Base delay in seconds (default: 2.0)
exponential_base=1.5, # Exponential backoff multiplier (default: 2.0)
)
The retry delay follows the formula delay = base_delay * (exponential_base ** retry_count)
.
Retries are useful when:
To disable retries entirely, set max_retries=0
.
The client checks for updates to the library when it is imported. It does this by making a call to the library on PyPI. For certain applications, this call can be problematic, and can be disabled by setting the environment variable GSIO_SKIP_VERSION_CHECK
to true
.
export GSIO_SKIP_VERSION_CHECK=true
If you prefer to use an open source library that fetches data directly from the source, you can check out this github repo.
We'd love to answer any usage or data access questions! Please let us know by emailing us at contact@gridstatus.io
FAQs
Python Client for GridStatus.io API
We found that gridstatusio demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.