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.3.tar.gz (640.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.5.3-py3-none-any.whl (628.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for google-ai-generativelanguage-0.5.3.tar.gz
Algorithm Hash digest
SHA256 b3545c3d52adf7db17de44b5da645fdc6dd0d9283b677aef00d64c14acaf71e3
MD5 b5e959998fa0df773a3f187396ec33d0
BLAKE2b-256 2c3a5cd63924d559bd43f36257d7b2d6f284055bab941bb5ede8ec0a999bfc4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for google_ai_generativelanguage-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 59c63739538e2229c3c51ff2741b42394b5bd369141a952aca49d5a9a6b7df77
MD5 bc6bc0e88ba441a104864e7470aed043
BLAKE2b-256 91f56ac712d001be199f332bc54a8c0b9f5a8687ae6479f7a0121162b888594f

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