Registry / devops / steel-sdk

steel-sdk

JSON →
library0.17.0pypypi✓ verified 84d ago

The official Python library for the Steel API, providing programmatic access to Steel's browser automation and web scraping services. Current version 0.17.0, active development with monthly releases.

pip install steel-sdk
INSTALL
IMPORT
SIG · STEEL-SDK
S
steel-sdk
devopspythonv0.17.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Steel
from steel import Steel
from steel_sdk import Steel
The package is `steel`, not `steel_sdk`.
SteelError
from steel.errors import SteelError
from steel import SteelError
Errors are in the `errors` submodule.

Initialize the client with your API key and scrape a web page.

from steel import Steel client = Steel(api_key='your-api-key') result = client.scrape('https://example.com') print(result.text[:100])
Debug
Known issues
breakingIn v0.17.0, the `Steel` client constructor changed from positional `api_key` to keyword-only argument.
fix
Pass `api_key` as a keyword argument: `Steel(api_key='...')`.
affects: >=0.17.0
gotchaAPI key must be provided; the library does not pick it up from environment variables automatically.
fix
Always pass `api_key` explicitly or set `STEEL_API_KEY` environment variable and pass `from_env=True`.
affects: all
deprecatedThe `scrape` method's `timeout` parameter was deprecated in v0.15.0 in favor of `request_timeout`.
fix
Use `request_timeout` instead of `timeout`.
affects: >=0.15.0
Errors
Common errors & fixes
ImportError: cannot import name 'Steel' from 'steel_sdk'
Incorrect import path; package name is `steel`.
fix
Use `from steel import Steel`.
TypeError: __init__() takes 1 positional argument but 2 were given
Passing API key as positional argument in v0.17.0+.
fix
Use keyword argument: `Steel(api_key='...')`.
steel.errors.AuthenticationError: Invalid API key
Missing or incorrect API key.
fix
Set the `STEEL_API_KEY` environment variable or pass a valid key.
Upgrade
Version history
0.17.0latest on PyPI · released Mar 16, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
steel-sdk — pip install steel-sdk · libregistry