--- id: benchling-api-client version: "2.0.440" license: Apache-2.0 license_treatment: permissive maintenance: active --- # benchling-api-client — Autogenerated Python client from OpenAPI Python Client generator License: permissive · Maintenance: active · Downloads: 291.5K/mo ## What it is and what it does benchling-api-client is a low-level Python HTTP client autogenerated from Benchling's OpenAPI specification. It provides direct, type-hinted access to Benchling's REST API endpoints, with built-in retry logic via backoff and request handling through httpx. The package is actively maintained and supports Python 3.9 through 3.13. However, the package's own documentation explicitly recommends using the higher-level benchling-sdk instead, which wraps this client with additional scaffolding to simplify common workflows. Use this package directly only if you need low-level API control, are integrating with a specific endpoint not well-covered by the SDK, or prefer working with the raw OpenAPI-generated interface. Use it for: - Direct access to Benchling API endpoints when the higher-level SDK does not expose the operation you need. - Building custom integrations that require fine-grained control over request/response handling and retry logic. - Prototyping or testing new Benchling API features before they are wrapped by the SDK. - Automating laboratory workflows by querying or updating resources (experiments, samples, sequences) via Benchling's API. - Integrating Benchling data into Python data pipelines or analysis scripts. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A low-level HTTP client for Benchling's API, autogenerated from OpenAPI definitions and offering direct access to Benchling endpoints. Yes, but with a caveat: install this only if you are building a direct API integration and the benchling-sdk does not meet your needs. The package is actively maintained, has low install friction, and carries no known vulnerabilities. However, Benchling's own recommendation to use the higher-level SDK suggests this is a lower-level tool; start with the SDK unless you have a specific reason to work at the raw API level. ## Install pip install benchling-api-client uv add benchling-api-client poetry add benchling-api-client ## Installing benchling-api-client Before you install: Low install friction with a pure-Python wheel distribution. Actively maintained with a release 15 days old. Six runtime dependencies are all well-established packages (attrs, backoff, httpx, dataclasses-json, python-dateutil, typing-extensions), suggesting a stable, lightweight dependency chain. License in practice: Apache-2.0 is permissive; you can use this package in commercial and proprietary projects without restriction, though you must include a copy of the license and note any modifications you make. Quickstart: pip install benchling-api-client from benchling_api_client import AuthenticatedClient from benchling_api_client.api.some_endpoint import get_resource client = AuthenticatedClient(base_url="https://api.benchling.com", token="your_token") result = get_resource.sync(client=client) Requires Python 3.9 or later. You must have a valid Benchling API token and know the endpoint module path for the resource you want to access. Verify before relying: - Whether this package is actively maintained by Benchling or community-driven; the description recommends the benchling-sdk instead. - Specific endpoint coverage and whether all Benchling API operations are available in this version. - Performance characteristics and rate-limiting behavior when used at scale. ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 291.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags benchling api client, benchling rest api python, openapi python client, benchling laboratory api, benchling http client, api client generation, benchling endpoint access, api-client, benchling, openapi-generated [View on SkillFed](https://skillfed.io/packages/benchling-api-client) · [View on PyPI](https://pypi.org/project/benchling-api-client/)