Skip to main content

Google Ai Generativelanguage API client library

Project description

preview pypi versions

Generative Language API: Generative Language API

Quick Start

In order to use this library, you first need to go through the following steps:

  1. Select or create a Cloud Platform project.

  2. Enable billing for your project.

  3. Enable the Generative Language API.

  4. Setup Authentication.

Installation

Install this library in a virtual environment using venv. venv is a tool that creates isolated Python environments. These isolated environments can have separate versions of Python packages, which allows you to isolate one project’s dependencies from the dependencies of other projects.

With venv, it’s possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.

Code samples and snippets

Code samples and snippets live in the samples/ folder.

Supported Python Versions

Our client libraries are compatible with all current active and maintenance versions of Python.

Python >= 3.7

Unsupported Python Versions

Python <= 3.6

If you are using an end-of-life version of Python, we recommend that you update as soon as possible to an actively supported version.

Mac/Linux

python3 -m venv <your-env>
source <your-env>/bin/activate
pip install google-ai-generativelanguage

Windows

py -m venv <your-env>
.\<your-env>\Scripts\activate
pip install google-ai-generativelanguage

Next Steps

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

google-ai-generativelanguage-0.5.2.tar.gz (641.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file google-ai-generativelanguage-0.5.2.tar.gz.

File metadata

File hashes

Hashes for google-ai-generativelanguage-0.5.2.tar.gz
Algorithm Hash digest
SHA256 9e3cf26853d74d1bd99967c1d2e62e7cc36a85304137b7e42ad4bb6d4c80f0c1
MD5 5601514b27e8cfd430d41b9171054ba6
BLAKE2b-256 aa5ad4171a0234b6bab633ef591a925821735362e1107450cfbf5a39148f2249

See more details on using hashes here.

Provenance

File details

Details for the file google_ai_generativelanguage-0.5.2-py3-none-any.whl.

File metadata

File hashes

Hashes for google_ai_generativelanguage-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 485087fe34467945efe68ec22f138358bcf53c4a195b42d29b97feda1522ca11
MD5 3041058a2c38016d71ca05ef292cdd31
BLAKE2b-256 80cf0a38f30e577e612eade5b109683c8115283f0483b895e3e6d16f64b26068

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page