Skip to main content

Filler text generator composed entirely of the word 'buffalo'. AI native.

Project description

buffalo-ipsum

Filler text generator composed entirely of the word "buffalo".

Buffalo buffalo Buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo.
Buffalo buffalo buffalo buffalo buffalo. Buffalo buffalo Buffalo buffalo buffalo
buffalo buffalo buffalo buffalo buffalo buffalo buffalo.

Inspired by the linguistically valid English sentence that uses "buffalo" eight times. This package brings that energy to your placeholder text needs.

Install

pip install buffalo-ipsum

Usage

CLI:

buffalo-ipsum                        # 3 paragraphs (default)
buffalo-ipsum -t sentences -n 5      # 5 sentences
buffalo-ipsum -t words -n 10         # 10 words
buffalo-ipsum --famous               # the canonical 8-buffalo sentence
buffalo-ipsum -t art --cols 3        # ASCII art herd

Python API:

import buffaloipsum

buffaloipsum.word()                  # "buffalo"
buffaloipsum.words(5)                # ["buffalo", "buffalo", ...]
buffaloipsum.sentence()              # "Buffalo buffalo buffalo buffalo buffalo."
buffaloipsum.sentence(famous=True)   # "Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo."
buffaloipsum.paragraph()
buffaloipsum.text(3)
buffaloipsum.ascii_art(cols=2, rows=1)

--famous / famous=True emits the canonical 8-buffalo sentence — Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo. — verbatim. It's grammatically valid English; "Buffalo" serves as a proper noun (Buffalo, NY), a common noun (the animal), and a verb (to bully) all at once.

Default mode

Generates buffalo text locally with no dependencies and no network calls. All randomness is seeded from Python's random module; pass seed=N for reproducible output.

AI Native

Two integrations with the modern AI stack: a live mode that fetches each buffalo from a large language model, and an MCP server that exposes the generators as tools for autonomous agents.

Live mode

Routes every word through the Anthropic API. The output is always "buffalo", with each token validated end-to-end by a frontier model.

pip install 'buffalo-ipsum[live]'
export ANTHROPIC_API_KEY=sk-ant-...
buffalo-ipsum --live -t words -n 3
from buffaloipsum import live

live.word()     # -> "buffalo"  (one API call)
live.words(5)   # -> ["buffalo", ...] (five API calls)

Uses claude-haiku-4-5-20251001 by default. Override with --model on the CLI or model= in Python. Pass verbose=True (or -v on the CLI) to log requests, responses, and token usage to stderr.

MCP server

Exposes the buffalo-ipsum generators as Model Context Protocol tools so any MCP-compatible client — Claude Code, IDE assistants, custom agents — can invoke them.

pip install 'buffalo-ipsum[mcp]'

Wire it into Claude Code's settings.json:

{
  "mcpServers": {
    "buffalo-ipsum": {
      "command": "buffalo-ipsum-mcp"
    }
  }
}

Tools exposed:

Tool Description
generate_words(count) Space-separated buffalos.
generate_sentences(count, famous) One sentence per line.
generate_paragraphs(count, famous) Blank-line-separated paragraphs.
generate_ascii_art(cols, rows, gap) Tiled ASCII-art herd.
famous_sentence() The canonical 8-buffalo sentence.

The server speaks stdio. To launch it directly (e.g., for debugging):

buffalo-ipsum-mcp

License

MIT

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

buffalo_ipsum-0.1.4.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

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

buffalo_ipsum-0.1.4-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file buffalo_ipsum-0.1.4.tar.gz.

File metadata

  • Download URL: buffalo_ipsum-0.1.4.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for buffalo_ipsum-0.1.4.tar.gz
Algorithm Hash digest
SHA256 397cdd85340cd1cd233cbb434a1fb2befc1655592d08007c85ce9907eb4cb723
MD5 7731b90f3ff019ae4a4dbf8b751a8165
BLAKE2b-256 e7082cfeee2b8b1a2e010ac0678e3de3eb53e4b4cc9dfc7f8d4d63d187a1640c

See more details on using hashes here.

File details

Details for the file buffalo_ipsum-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: buffalo_ipsum-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for buffalo_ipsum-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5cea23cc88b2b0ddf551a82052cd30dccfdf406a078d5f34187de2fd5213f7a3
MD5 4f5c9f9573c212cafef700814befcc3a
BLAKE2b-256 4f8b023ce6ab04523b73f05ed10a2c5878aa31b87e649c98d7a73b273555381f

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