A simple library for interacting with Gemini API
Project description
Qelrix
Qelrix is a simple Python library for interacting with the Gemini API.
Installation
pip install qelrix
Usage
import qelrix
qelrix.apikey("YOUR_API_KEY")
qelrix.model("YOUR_GEMINI_ENDPOINT")
qelrix.hoi("Hello, how are you?")
print(qelrix.traloi())
API
qelrix.apikey(key: str) -> str
Sets the API key.
qelrix.model(url: str) -> str
Sets the full Gemini API endpoint URL.
qelrix.hoi(text: str)
Sends a question to the API and stores the response.
qelrix.traloi() -> str
Retrieves the answer from the last hoi() call.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qelrix-0.0.1.tar.gz
(2.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qelrix-0.0.1.tar.gz.
File metadata
- Download URL: qelrix-0.0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ebf5e84b28f18f1fc9d12df60db6bc2f8fd82e743938f46736b3776f7a47598
|
|
| MD5 |
b32dc9753fb13e0546c5f7d0bb38ebaa
|
|
| BLAKE2b-256 |
eda3715fb89efe088b7644a627ce13b1d25b61ee4a315939d4b3cef4e21c6bf7
|
File details
Details for the file qelrix-0.0.1-py3-none-any.whl.
File metadata
- Download URL: qelrix-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b071f093c46ef102b303b470c4050b80a6fbfdac1fb6d65ebd76ff8593d31be8
|
|
| MD5 |
2d2b2be60574d854107815517cf05524
|
|
| BLAKE2b-256 |
3899807764ffcfb0c5114b9be96fb2b02da1c9f348e5399e7d6d9800cd9b92a5
|