Tackleberry
API may change slightly, still work in progress.
Synopsis
from tackleberry import TB
openai_chat = TB.chat('gpt-4o-mini')
openai_reply = openai_chat.query("Say test")
claude_chat = TB.chat('claude-3-5-sonnet-20241022')
claude_reply = claude_chat.query("Say test")
groq_chat = TB.chat('gemma2-9b-it')
groq_reply = groq_chat.query("Say test")
# OLLAMA_PROXY_URL set for URL, can handle Basic Auth in URL
ollama_chat = TB.chat('ollama/gemma2:2b')
ollama_reply = ollama_chat.query("Say test")
from pydantic import BaseModel
class UserInfo(BaseModel):
name: str
age: int
# Using Structured Output Feature of Ollama - no instructor
ollama_user_info = ollama_chat.query("Extract the name and the age: 'John is 20 years old'", UserInfo)
# Using instructor[anthropic]
claude_user_info = claude_chat.query("Extract the name and the age: 'John is 20 years old'", UserInfo)
# Using instructor[groq]
groq_user_info = groq_chat.query("Extract the name and the age: 'John is 20 years old'", UserInfo)
Install
Using PIP
Stable Version with PIP
Install from PyPi
❯ pip install --upgrade tackleberry
Metadata
Release files for tackleberry 0.1.2
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 | |
|---|---|---|---|---|
| tackleberry-0.1.2.tar.gz | 108.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tackleberry-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 119.9 kB
Release files / tackleberry-0.1.2.tar.gz
| Download URL | tackleberry-0.1.2.tar.gz |
|---|---|
| Size | 108.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4ae5c9d0647254fc2dbc8866af428fe3ce6c32ea043634eab1286a62034a8ae
|
|
BLAKE2b-256 checksum How to use checksums |
e8e9ab1d3fb629514079c70d51c27b17de1aeb7fdc6006b8adedca3b637faa5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.0
|
Release files / tackleberry-0.1.2-py3-none-any.whl
| Download URL | tackleberry-0.1.2-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6dc5b46761f406bcf1e5089f792f5fa5c0de620ccba137f87c21d9881b8287e6
|
|
BLAKE2b-256 checksum How to use checksums |
f7e5444b4a250dcc3871694b340ddd1552865897eb3df8e8ed7727e865a22b04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.0
|
Security for tackleberry 0.1.2
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.