Source: https://seerepo.com/compare/clips/pattern/vs/oobabooga/textgen
Markdown source: https://seerepo.com/compare/clips/pattern/vs/oobabooga/textgen.md
Description: pattern and textgen share 4 technologies: nltk, lxml, beautifulsoup4, and python-docx. Both are written in Python.

# pattern vs textgen

pattern and textgen share 4 technologies: nltk, lxml, beautifulsoup4, and python-docx. Both are written in Python.

- [clips/pattern](https://seerepo.com/r/clips/pattern): Web mining module for Python, with tools for scraping, natural language processing, machine learning, network analysis and visualization.
- [oobabooga/textgen](https://seerepo.com/r/oobabooga/textgen): Open-source desktop app for local LLMs. Text, vision, tool-calling, OpenAI/Anthropic-compatible API. 100% private.

## What they share and what sets them apart

- In common: nltk, lxml, beautifulsoup4, python-docx
- Only in pattern: mysqlclient, MySQL, cherrypy, pdfminer.six, feedparser
- Only in textgen: FastAPI, chromadb, Hugging Face, Rich, bitsandbytes, coqui-tts, einops, flash-linear-attention, openai-whisper, pytextrank, sentencepiece, speechrecognition, torchao, triton-windows, transformers, accelerate, datasets, peft, sentence-transformers, diffusers, MCP, Optuna, safetensors, spaCy, tiktoken, odfpy, openpyxl, pillow, markdown, pymupdf, jinja2, python-pptx, Pydantic, flask-cloudflared, ngrok

## Side by side

| | pattern | textgen |
|---|---|---|
| Size | 50,487 lines written, 54 code files | 29,113 lines written, 105 code files |
| Who writes it | 0% of its commits signed by AI | 0% of its commits signed by AI. With GitHub Copilot |
| Activity | Last push August 5, 2026, 1,368 commits, 8,857 stars | Last push August 17, 2026, 5,288 commits, 47,739 stars |
| Tests | 18 test files. 25.9% of its code files have a test that imports them | 1 test files. 1% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, pattern or textgen?

pattern, with 50,487 lines written; textgen has 29,113.

The proof: [clips/pattern's code at commit af75468](https://github.com/clips/pattern/tree/af754685cca3713db0abc4f020f2e94467c19d85)

### Which has more GitHub stars, pattern or textgen?

textgen, with 47,739 stars; pattern has 8,857.

The proof: [oobabooga/textgen on GitHub](https://github.com/oobabooga/textgen)

### Which has more tests, pattern or textgen?

pattern, with 18 test files; textgen has 1.

The proof: [clips/pattern's code at commit af75468](https://github.com/clips/pattern/tree/af754685cca3713db0abc4f020f2e94467c19d85)

### Which was updated more recently, pattern or textgen?

textgen: its last push was on August 17, 2026, and pattern's on August 5, 2026.

The proof: [oobabooga/textgen's commits on GitHub](https://github.com/oobabooga/textgen/commits)

## Sources

- clips/pattern: Read on November 16, 2026, at commit af75468 (https://github.com/clips/pattern/tree/af754685cca3713db0abc4f020f2e94467c19d85)
- oobabooga/textgen: Read on November 18, 2026, at commit c93f887 (https://github.com/oobabooga/textgen/tree/c93f8871239550de2ccfe1e95d469aa82616f07e)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
