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.3.5rc0.tar.gz (237.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

google_ai_generativelanguage-0.3.5rc0-py3-none-any.whl (267.7 kB view details)

Uploaded Python 3

File details

Details for the file google-ai-generativelanguage-0.3.5rc0.tar.gz.

File metadata

File hashes

Hashes for google-ai-generativelanguage-0.3.5rc0.tar.gz
Algorithm Hash digest
SHA256 f482353e55917ae8de5bd0528ac493bce994cd7243ddfb55a201808995665d50
MD5 3c862feb89b65259afe8913cd0f2e7d4
BLAKE2b-256 29bba793cb0b270d202308e17784b36e0db8479d3598852a335d377dcc2869d3

See more details on using hashes here.

File details

Details for the file google_ai_generativelanguage-0.3.5rc0-py3-none-any.whl.

File metadata

File hashes

Hashes for google_ai_generativelanguage-0.3.5rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5c9cb0368a019d2e390eba6f646164471a38590c704d6d3f67b96e8b288d50f
MD5 6b36d4a7a64a0702c0685706d94aa331
BLAKE2b-256 bf06880e82ac91cdb1fd4e7417646879f11e0f99fb00e91b92d168f386894e85

See more details on using hashes here.

Supported by

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