Skip to main content

Static snapshot of Vanna SQL generation library (for testing/offline use)

Project description

RNIT Vanna Static

A static snapshot of the Vanna SQL generation library. This package contains a frozen copy of Vanna code for specific use cases.

⚠️ Important Note

For most users, we recommend using the main rnit-vanna package instead:

pip install rnit-vanna  # Recommended - always uses latest Vanna

This static version is only for:

  • Testing with a specific Vanna version
  • Offline environments with dependency conflicts
  • Educational purposes to understand Vanna internals

Installation

pip install rnit-vanna-static

Why Two Packages?

  • rnit-vanna (Recommended): A wrapper that always uses the latest official Vanna
  • rnit-vanna-static (This package): A frozen snapshot of Vanna code

Usage

This package works exactly like the original Vanna:

from rnit_vanna.openai import OpenAI_Chat
from rnit_vanna.chromadb import ChromaDB_VectorStore

class MyVanna(ChromaDB_VectorStore, OpenAI_Chat):
    def __init__(self, config=None):
        ChromaDB_VectorStore.__init__(self, config=config)
        OpenAI_Chat.__init__(self, config=config)

vn = MyVanna(config={'api_key': 'your-openai-key', 'model': 'gpt-4o-mini'})

Limitations

  • No automatic updates - Frozen at a specific Vanna version
  • May become outdated - Missing new features and bug fixes
  • Larger package size - Contains copied code

License

MIT - Based on the original Vanna library

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rnit_vanna_static-0.1.0.tar.gz (144.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rnit_vanna_static-0.1.0-py3-none-any.whl (147.2 kB view details)

Uploaded Python 3

File details

Details for the file rnit_vanna_static-0.1.0.tar.gz.

File metadata

  • Download URL: rnit_vanna_static-0.1.0.tar.gz
  • Upload date:
  • Size: 144.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for rnit_vanna_static-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a08afedf92626c1f367268de2dff902ecb4b3a2286b5136577677bee30ebb548
MD5 26fdeb84b57f8f0fdaedf79250a1dbf3
BLAKE2b-256 bbad4156c51181edfdd03e64457dc8b631cd01acf201c393eaf18a21fb58db29

See more details on using hashes here.

File details

Details for the file rnit_vanna_static-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rnit_vanna_static-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1757e67893c7faa8a61199a142f4f13981f51ac949228145795fda1fd59edef1
MD5 5de54b3096524f6d28181d85865d8659
BLAKE2b-256 87f943a42a451780164eaad9d5e563424f956af5c55444a37bb8512776591fe3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page