SDK For Simplified usage of Gemini Agents. Give Gemini Ability to use your custom functions in seveal code lines:
import google.generativeai as genai
from gemini_toolbox import client
from dotenv import load_dotenv
import os
def get_current_time():
"""returns current time"""
return "6pm PST"
def say_to_duck(say: str):
"""say something to a duck"""
return f"duck answer is: duck duck {say} duck duck duck"
load_dotenv()
genai.configure(api_key=os.environ["GOOGLE_API_KEY"])
all_functions = [get_current_time, say_to_duck]
clt = client.generate_chat_client_from_functions_list(all_functions)
print(clt.send_message("say to the duck message: I am hungry"))
Metadata
Release files for gemini-toolbox 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gemini_toolbox-1.1.0.tar.gz | 6.3 kB | Without provenance | Details for gemini_toolbox-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gemini_toolbox-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for gemini_toolbox-1.1.0-py3-none-any.whl |
Total release size: 14.0 kB
Release files / gemini_toolbox-1.1.0.tar.gz
| Download URL | gemini_toolbox-1.1.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a55bb9144d634a3cb3f5452ba6297bafa0403f4c24fbb9bbbdc853e8e7955de
|
|
BLAKE2b-256 checksum How to use checksums |
ac9134b62e9673fcb9995f37a0f593c6780866acedfeac1c9b1cf8e323b65638
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / gemini_toolbox-1.1.0-py3-none-any.whl
| Download URL | gemini_toolbox-1.1.0-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c17a0b26690802c59ec1fb93c7cef4dfc56c59e2ebb77db509ab98efad4aff32
|
|
BLAKE2b-256 checksum How to use checksums |
ca8503f4cd7ce3cf12d9dd741e63337f15716ad285f3ad452475e8daeb834694
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for gemini-toolbox 1.1.0
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.