dev-python/openai (bentoo)

Search

Install

Install this package:

emerge -a dev-python/openai

Package Information

Description:
The official OpenAI Python library. It provides synchronous and asynchronous clients for the OpenAI REST API, covering responses, chat completions, embeddings, images, audio, files, batches, fine-tuning, vector stores and the realtime API, with request/response models typed via pydantic. It also ships an Azure OpenAI client and, optionally, an Amazon Bedrock provider.
Homepage:
https://github.com/openai/openai-python https://pypi.org/project/openai/
License:
Apache-2.0

Versions

Version EAPI Keywords Slot
3.3.1 8 ~amd64 ~arm64 0

Metadata

Description

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="person">
		<email>lucascs@protonmail.com</email>
		<name>Lucas Couto</name>
	</maintainer>
	<longdescription lang="en">
		The official OpenAI Python library. It provides synchronous and
		asynchronous clients for the OpenAI REST API, covering responses, chat
		completions, embeddings, images, audio, files, batches, fine-tuning,
		vector stores and the realtime API, with request/response models typed
		via pydantic. It also ships an Azure OpenAI client and, optionally, an
		Amazon Bedrock provider.
	</longdescription>
	<use>
		<flag name="aiohttp">Enable the aiohttp-backed async HTTP transport
			(<pkg>dev-python/aiohttp</pkg>) as an alternative to the default
			httpx2 transport</flag>
		<flag name="bedrock">Enable the Amazon Bedrock provider, which signs
			requests with SigV4 via <pkg>dev-python/botocore</pkg></flag>
	</use>
	<upstream>
		<changelog>https://github.com/openai/openai-python/blob/main/CHANGELOG.md</changelog>
		<bugs-to>https://github.com/openai/openai-python/issues</bugs-to>
		<remote-id type="github">openai/openai-python</remote-id>
		<remote-id type="pypi">openai</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/openai | euse -E <flag> -p dev-python/openai | euse -D <flag> -p dev-python/openai

Flag Description 3.3.1
aiohttp Enable the aiohttp-backed async HTTP transport (<pkg>dev-python/aiohttp</pkg>) as an alternative to the default httpx2 transport
bedrock Enable the Amazon Bedrock provider, which signs requests with SigV4 via <pkg>dev-python/botocore</pkg>

Manifest

Type File Size Versions
Unmatched Entries
Type File Size
DIST openai-3.3.1.tar.gz 1282113 bytes