gemini-omega
Google Gemini Integration with OmegaEngine Governance
✨ Features
- 🤖 Drop-in Replacement — Same API as Google GenAI SDK
- 🛡️ Multi-modal Governance — Text, images, audio, video
- 📊 Response Filtering — Policy-based output control
- 📈 Full Audit Trail — Log all Gemini interactions
- ⚡ Streaming Support — Governed streaming
- 🔧 Function Calling — Validate tool executions
📦 Installation
pip install gemini-omega
🚀 Quick Start
from gemini_omega import GenerativeModel
model = GenerativeModel(
model_name="gemini-1.5-pro",
google_api_key="your-google-key",
omega_api_key="your-omega-key",
policy_id="gemini_policy",
)
response = model.generate_content("Explain black holes")
print(response.text)
print(response.omega_decision) # "ALLOW"
print(response.omega_audit_id) # "aud_xyz789"
🖼️ Multi-modal Governance
import PIL.Image
image = PIL.Image.open("document.jpg")
response = model.generate_content([
"What's in this image?",
image
])
# Image content is also governed
print(response.omega_decision)
📄 License
Licensed under the Apache License 2.0.
Metadata
Release files for gemini-omega 0.3.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_omega-0.3.0.tar.gz | 561.3 kB | Without provenance | Details for gemini_omega-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gemini_omega-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for gemini_omega-0.3.0-py3-none-any.whl |
Total release size: 572.1 kB
Release files / gemini_omega-0.3.0.tar.gz
| Download URL | gemini_omega-0.3.0.tar.gz |
|---|---|
| Size | 561.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86f580915965d3d4d08b834a8a842c9246542115e6a3940453df8b6f4522b472
|
|
BLAKE2b-256 checksum How to use checksums |
d3781801970fa79c8372b276f36e7dccc4fe9197cbb92ac50f4998ac6e2970ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / gemini_omega-0.3.0-py3-none-any.whl
| Download URL | gemini_omega-0.3.0-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48c663be11fa1f3ebaa71190ed8c514e9c6448c0fef0a2c2c3b301aa1a472ab5
|
|
BLAKE2b-256 checksum How to use checksums |
8a84571ef9d6dba27e170798ab00cc73c9fc3c9e392d0b3d6905b994c580fb3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for gemini-omega 0.3.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.