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.4.tar.gz (233.5 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for google-ai-generativelanguage-0.3.4.tar.gz
Algorithm Hash digest
SHA256 7275fd9469ad3ab77909d8a80bd6c055e1e23178c4b15e99ebb0114a7574dcff
MD5 7ca56792b791b517c37a859d17b308bd
BLAKE2b-256 0ae0c55d0a93bd5203e65583bcf439e1954ad36e110424d9e5a86603490239ac

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for google_ai_generativelanguage-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 69fc592124ac1ebb10065f40e74476ad1319320e26f83462f22f9cda26f191e5
MD5 1ac17ff87945e75308152093859376ce
BLAKE2b-256 3e785e6e7c097a0d08fb04c7271fb01f56ce98e03c25807019f16b529e84be6e

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