Skip to main content

A python library for free LLMs & usable in your python projects. (Grok, Sonnet, GPT)

Project description

fishr

FREE LLM ACCESS FROM PYTHON. NO KEYS! NO AUTH! NO LIMITS!

Install

pip install fishr

Quick Start

from fishr import Client

client = Client()

# Chat completion
response = client.chat.completions.create(
    model="noxus/openai",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.text)

# Streaming
response = client.chat.completions.create(
    model="noxus/openai",
    messages=[{"role": "user", "content": "Tell me a story"}],
    stream=True,
)
for chunk in response:
    print(chunk.choices[0].delta.content or "", end="")

# Web search
response = client.chat.completions.create(
    model="noxus/grok-4.3",
    messages=[{"role": "user", "content": "Latest news on SpaceX"}],
    web_search=True,
)
print(response.text)

# Image generation
result = client.images.generate(
    model="deepai/image",
    prompt="A cat riding a skateboard",
)
print(result.data[0].url)

# Agent
result = client.agents.run(
    model="noxus/openai",
    prompt="Research quantum computing",
    tools=[{"type": "web_search"}],
)
print(result.content)

# Multi-turn conversation
conv = client.conversation(model="noxus/openai")
conv.system("You are a helpful assistant.")
conv.ask("Remember: 42")
conv.ask("What number did I say?")

Async

from fishr import AsyncClient

client = AsyncClient()

response = await client.chat.completions.create(
    model="deepai/standard",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.text)

# Async streaming
response = await client.chat.completions.create(
    model="opera/aria",
    messages=[{"role": "user", "content": "Tell me a story"}],
    stream=True,
)
async for chunk in response:
    print(chunk.choices[0].delta.content or "", end="")

# Async conversation
conv = client.conversation(model="noxus/openai")
await conv.ask("Remember: 42")
await conv.ask("What number did I say?")

Direct Provider Access

from fishr import OperaAria, Yqcloud

# Use a provider directly
opera = OperaAria()
result = opera.ask("Hello!", model="opera/aria")
print(result.content)

yqcloud = Yqcloud()
result = yqcloud.chat([{"role": "user", "content": "Hi!"}])
print(result.content)

Models

Models are specified as provider/name:

Provider Models Features
Noxus noxus/openai, noxus/google, noxus/sonnet-4.6, noxus/sonnet-3.5, noxus/grok-4.3, noxus/perplexity, noxus/metaai, noxus/qwen Web search, images, history, system messages
DeepAI deepai/standard, deepai/online, deepai/gemma-4, deepai/gemini-2.5-flash-lite, deepai/deepseek-v3.2, deepai/image Web search (online), images, history, system messages
Quillbot quillbot/quillbot, quillbot/quillbot-search Web search (quillbot-search), history, system messages
NoTrack notrack/fast, notrack/standard, notrack/reasoning History
DphnAI dphnai/24b, dphnai/6b History, system messages
Yqcloud yqcloud/gpt-4 History, system messages
Opera Aria opera/aria Images, history, system messages

The provider prefix is optional for Noxus (default).

Requirements

  • Python >= 3.11

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

fishr-0.0.1.tar.gz (39.2 kB view details)

Uploaded Source

Built Distribution

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

fishr-0.0.1-py3-none-any.whl (52.9 kB view details)

Uploaded Python 3

File details

Details for the file fishr-0.0.1.tar.gz.

File metadata

  • Download URL: fishr-0.0.1.tar.gz
  • Upload date:
  • Size: 39.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for fishr-0.0.1.tar.gz
Algorithm Hash digest
SHA256 85020c0d7ffd0fcfd733db792d0a99bb62d3912042daa74432dfa4dee11337df
MD5 83308e30d486120a68bf0d34fd2a781c
BLAKE2b-256 3865f941e631bbaaa1c5e97c4273effb5bd145c09bb85f296f72a721f4cd7e86

See more details on using hashes here.

File details

Details for the file fishr-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: fishr-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 52.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for fishr-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69bcfee16e7287cda63d4a546ee2a81001ae317342debf78cdf9bdb75040b2b6
MD5 4b4afec05fc2d3643fa4b558c451adf5
BLAKE2b-256 949200c6003cdcf667cde9de50c26f4467b961190454885032e9dd1d3e6d7687

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