Skip to main content

generativellm

generativellm is a simple wrapper around the Gemini REST API using pure HTTP requests. It lets you create chat sessions and generate responses.

Installation

pip install generativellm

Usage

from generativellm import AIChat

chatbot = AIChat(token="your-gemini-api-key", model="gemini-pro")

conversation = [
    "Hello!",
    "Hi there! How can I help?",
    "Can you summarize general relativity?",
]

response = chatbot.get_response(conversation)
print(response)

Metadata

Release files for generativellm 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for generativellm 0.1.2
File Size Uploaded Provenance
generativellm-0.1.2.tar.gz 2.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for generativellm 0.1.2
File Interpreter ABI Platform
generativellm-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.0 kB

Release files / generativellm-0.1.2.tar.gz

Download URL generativellm-0.1.2.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f718e74324e3d1d431649bba202e0e7c6f980ed8d898e9bab8e3be487d710e8b
BLAKE2b-256 checksum
How to use checksums
46541f8eca9d2d4196a642fdd012a01413b06e7dcba76ae7edd8896851f72f29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / generativellm-0.1.2-py3-none-any.whl

Download URL generativellm-0.1.2-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec6708128a3f11b9409474bbebac05dda2673d996a9c6383e7262e74caf1ef7b
BLAKE2b-256 checksum
How to use checksums
84e4cbcf08de08f75b8aa270efd870de2de371f4896bb4194779c18798aca66c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Security for generativellm 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page