# Pinecone Python SDK

The official Python client for the Pinecone vector database, used to create and manage indexes, upsert and query records, and run inference operations.

The Pinecone Python SDK is the official client for the Pinecone vector database, supporting Python 3.10 and later. Declaring a schema for an index makes it a document index, accessed through the SDK's documents interface, where each record is a JSON document with fields the caller names; upserts to a document index apply asynchronously, so a newly written document may not appear in the very next search.

Two other data-plane interfaces exist depending on how an index was created: one created with the older, deprecated vector arguments answers on upsert and query calls, while one created to embed text server-side answers on upsert_records and search instead. An async client is also provided for use with asyncio, alongside API-key, custom-host, timeout, and debug-logging configuration.

It is written in Python and released under the Apache-2.0 license.

Website: https://pinecone-io.github.io/python-sdk/
