Personal tools
Skip to content. | Skip to navigation
Documentation for python3-pillow.
pillow-heif Python bindings to libheif for working with HEIF images and plugin for Pillow. Features: Decoding of 8, 10, 12 bit HEIC files. Encoding of 8, 10, 12 bit HEIC files. EXIF, XMP, IPTC read & write support. Support of multiple images in one file and a PrimaryImage attribute. Adding & removing thumbnails. Reading of Depth Images. (beta) Reading of Auxiliary Images by johncf Adding HEIF support to Pillow in one line of code as a plugin. Note: Here is a light version pi-heif of this project without encoding capabilities. Example of use as a Pillow plugin from PIL import Image from pillow_heif import register_heif_opener register_heif_opener() im = Image.open("image.heic") # do whatever need with a Pillow image im = im.rotate(13) im.save(f"rotated_image.heic", quality=90) 16 bit PNG to 10 bit HEIF using OpenCV import cv2 import pillow_heif cv_img = cv2.imread("16bit_with_alpha.png", cv2.IMREAD_UNC
Qt pillow image wrapper.
Tk interface for python-pillow.
Tk interface for pillow.
Pinecone Python SDK The official Pinecone Python SDK. Documentation Conceptual docs and guides Python Reference Documentation Upgrading the SDK [!NOTE] The official SDK package was renamed from pinecone-client to pinecone beginning in version 5.1.0. Please remove pinecone-client from your project dependencies and add pinecone instead to get the latest updates. For notes on changes between major versions, see Upgrading Prerequisites The Pinecone Python SDK is compatible with Python 3.9 and greater. It has been tested with CPython versions from 3.9 to 3.13. Before you can use the Pinecone SDK, you must sign up for an account and find your API key in the Pinecone console dashboard at https:/app.pinecone.io. Installation The Pinecone Python SDK is distributed on PyPI using the package name pinecone. By default the pinecone has a minimal set of dependencies, but you can install some extras to unlock additional functionality. Available extras: pinecone[asyncio] will add a dependency
Pinecone Python Client The official Pinecone Python client. For more information, see the docs at https:/www.pinecone.io/docs/ Documentation If you are upgrading from a 2.2.x version of the client, check out the v3 Migration Guide. Reference Documentation Example code Many of the brief examples shown in this README are using very small vectors to keep the documentation concise, but most real world usage will involve much larger embedding vectors. To see some more realistic examples of how this client can be used, explore some of our many Jupyter notebooks in the examples repository. Prerequisites The Pinecone Python client is compatible with Python 3.8 and greater. Installation There are two flavors of the Pinecone python client. The default client installed from PyPI as pinecone-client has a minimal set of dependencies and interacts with Pinecone via HTTP requests. If you are aiming to maximimize performance, you can install additional gRPC dependencies to access an alternate clie
Inference API plugin for python SDK Installation The plugin is distributed separately from the core python sdk. pip install pinecone-client pip install pinecone-plugin-inference Usage Interact with Pinecone's Inference APIs, e.g. create embeddings (currently in preview). Models currently supported: multilingual-e5-large Generate embeddings The following example highlights how to use an embedding model to generate embeddings for a list of documents and a user query, with the ultimate goal of retrieving similar documents from a Pinecone index. from pinecone import Pinecone pc = Pinecone(api_key="<<PINECONE_API_KEY>>") model = "multilingual-e5-large" text = [ "Turkey is a classic meat to eat at American Thanksgiving.", "Many people enjoy the beautiful mosques in Turkey.", ] text_embeddings = pc.inference.embed( model=model, inputs=text, parameters={"input_
This small package is used to distribute a few classes and utilities used to build and consume plugins for the Pinecone Python SDK. At present this package is experimental and intended for internal use by Pinecone engineers iterating on new features. It should not be used by end-users or partners.
Python DB-API and SQLAlchemy dialect for Pinot This module allows accessing Pinot via its [SQL API]( Usage Using the DB API:python from pinotdb import connectconn connect(host'localhost', port8099, path'/query', scheme'http') curs conn.cursor() curs.execute(""" SELECT place, CAST(REGEXP_EXTRACT(place, '(.*),', 1) AS FLOAT) AS lat, CAST(REGEXP_EXTRACT(place, ',(.*)', 1) AS FLOAT) AS lon FROM...