looker-sdk
Looker REST API
What it is and what it does
looker_sdk is an auto-generated Python client for the Looker REST API. It wraps HTTP communication with requests and provides typed model classes for API requests and responses, allowing you to query Looker instances, manage users, and interact with dashboards and explores programmatically. The SDK uses a plug-in architecture for authentication (supporting both API key sessions and OAuth) and transport, and accepts both model instances and plain dictionaries for API method arguments.
The library is generated from Looker's API specification, so its methods and models track the API schema. It requires Python 3.6+ and is configured via environment variables, an .ini file, or a custom ApiSettings implementation. Common use cases include automating Looker administration, embedding analytics in applications, and building data pipelines that pull from Looker.
Use it for:
- Automate user and content management in Looker instances via the API
- Embed Looker dashboards or explore results into external applications
- Build data pipelines that query Looker explores and export results
- Programmatically manage Looker roles, permissions, and access controls
- Integrate Looker with CI/CD or data orchestration workflows
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Python client library for communicating with the Looker REST API, with support for multiple API versions and pluggable authentication and transport mechanisms.
Yes. The SDK is actively maintained, has low install friction, carries no known vulnerabilities, and is widely used (top 5000 PyPI packages). Install it if you need to integrate with a Looker instance; the permissive MIT license and stable API make it a straightforward choice.
Install
looker-sdk on PyPI
pip
pip install looker-sdkuv
uv add looker-sdkpoetry
poetry add looker-sdkInstalling looker-sdk
Before you install
Low install friction with a pure-wheel distribution and four lightweight runtime dependencies (requests, typing-extensions, attrs, cattrs). Actively maintained with a release 32 days ago.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install looker-sdk
import looker_sdk
sdk = looker_sdk.init40()
my_user = sdk.me()
print(my_user.first_name)
Requires Looker API credentials (client_id and client_secret) configured via environment variables, looker.ini file, or custom ApiSettings; Python 3.6 or later.
Verify before relying
- Whether the generated models and API methods cover all current Looker API 4.0 endpoints
- Performance characteristics when handling large result sets or concurrent requests
- Support status for Looker API versions older than 3.1
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — requests, typing-extensions, attrs, cattrs |
| Maintenance | actively maintained — 32 days since the last release |
| First released | |
| Downloads | 20,086,773/month — #1,045 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: looker_sdk-26.12.0-py3-none-any.whl
Keywords: Looker, Looker API, looker_sdk, Looker API 4.0
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
lkmlParses LookML strings into Python objects or…
permissive · top 5,000 on PyPI
pyxeroPyXero is a Python client library for the Xero…
permissive · top 15,000 on PyPI
python-tss-sdkA Python client library for retrieving secrets…
permissive · top 15,000 on PyPI
ai-api-client-sdkProvides Python methods and data structures to…
unclear · top 15,000 on PyPI
edx-rest-api-clientProvides OAuth2 and JWT utilities for…
permissive · top 15,000 on PyPI
chargebeeOfficial Python client library for integrating…
unclear · top 5,000 on PyPI
sap-ai-sdk-baseA Python client library for accessing SAP's AI…
unclear · top 15,000 on PyPI
volue-insight-timeseriesA Python client library for querying and…
unclear · top 15,000 on PyPI
couchbasePython client library for connecting to and…
permissive · top 5,000 on PyPI
pipedreamProvides a Python client library for accessing…
unclear · top 15,000 on PyPI