Gemini extensions
Binding Pocket Tools
import os
from google import genai
from google.genai import types
from hyperpocket_gemini import PocketGemini
pocket = PocketGemini(tools=[
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-messages",
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
])
# get gemini compatible tools from pocket
tools = pocket.get_gemini_tool_specs()
client = genai.Client(api_key=os.getenv("GEMINI_API_KEY"))
messages = [] # add system prompt here.
response = client.models.generate_content(
model='gemini-2.0-flash-001',
contents=messages,
config=types.GenerateContentConfig(tools=tools)
)
Agent Examples
- See here: link
Metadata
Release files for hyperpocket-gemini 0.5.7
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 |
|---|---|---|---|---|
| hyperpocket_gemini-0.5.7.tar.gz | 44.9 kB | Without provenance | Details for hyperpocket_gemini-0.5.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hyperpocket_gemini-0.5.7-py3-none-any.whl | Python 3 | none | any | Details for hyperpocket_gemini-0.5.7-py3-none-any.whl |
Total release size: 48.2 kB
Release files / hyperpocket_gemini-0.5.7.tar.gz
| Download URL | hyperpocket_gemini-0.5.7.tar.gz |
|---|---|
| Size | 44.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93ef1e24683ace831ca475ca3ac9befafe776c7c58133a574654423a23c0a340
|
|
BLAKE2b-256 checksum How to use checksums |
d4c0c762f5c0f8f46fafda50af4e4b5a2c8896a3301863f6de7822560982dcbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / hyperpocket_gemini-0.5.7-py3-none-any.whl
| Download URL | hyperpocket_gemini-0.5.7-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1b242d3974a5f181ab380c36a26d8c05c3fce46907b4e8d12d8b38ad87ce567
|
|
BLAKE2b-256 checksum How to use checksums |
30fd4401dc159ff6bda85d7660a0acf5ed0871cbf8dd4a6f52b506b196e02ccc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Security for hyperpocket-gemini 0.5.7
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.