Source: https://seerepo.com/compare/666ghj/BettaFish/vs/microsoft/qlib
Markdown source: https://seerepo.com/compare/666ghj/BettaFish/vs/microsoft/qlib.md
Description: BettaFish and qlib share 5 technologies: cryptography, torch, beautifulsoup4, lxml, and loguru. Both are written in Python.

# BettaFish vs qlib

BettaFish and qlib share 5 technologies: cryptography, torch, beautifulsoup4, lxml, and loguru. Both are written in Python.

- [666ghj/BettaFish](https://seerepo.com/r/666ghj/BettaFish): 微舆：人人可用的多Agent舆情分析助手，打破信息茧房，还原舆情原貌，预测未来走向，辅助决策！从0实现，不依赖任何框架。
- [microsoft/qlib](https://seerepo.com/r/microsoft/qlib): Qlib is an AI-oriented Quant investment platform that aims to use AI tech to empower Quant Research, from exploring ideas to implementing productions. Qlib supports diverse ML modeling paradigms, including supervised learning, market dynamics modeling, and RL, and is now equipped with https://github.com/microsoft/RD-Agent to automate R&D process.

## What they share and what sets them apart

- In common: cryptography, torch, beautifulsoup4, lxml, loguru
- Only in BettaFish: Django, Flask, aiomysql, aiosqlite, asyncmy, asyncpg, motor, psycopg, MySQL, Postgres, Redis, SQLite, MongoDB, pymysql, OpenAI, AIOHTTP, FastAPI, uvicorn, Streamlit, Plotly, matplotlib, SQLAlchemy, accelerate, bitsandbytes, opencv-python, safetensors, tavily-python, transformers, scikit-learn, peft, datasets, sentence-transformers, xgboost, parsel, pillow, wordcloud, Pydantic
- Only in qlib: soupsieve, bs4, openpyxl

## Side by side

| | BettaFish | qlib |
|---|---|---|
| Size | 58,909 lines written, 157 code files | 78,929 lines written, 219 code files |
| Who writes it | 0.7% of its commits signed by AI. With Codex and Claude Code | 0.2% of its commits signed by AI. With GitHub Copilot |
| Activity | Last push October 16, 2026, 903 commits, 42,599 stars | Last push November 4, 2026, 1,852 commits, 50,029 stars |
| Tests | 15 test files. 11.5% of its code files have a test that imports them | 56 test files. 36.5% 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, BettaFish or qlib?

qlib, with 78,929 lines written; BettaFish has 58,909.

The proof: [microsoft/qlib's code at commit 5435523](https://github.com/microsoft/qlib/tree/54355232463878d2eebb91fe0ee5fa7fa1f5976c)

### Which has more GitHub stars, BettaFish or qlib?

qlib, with 50,029 stars; BettaFish has 42,599.

The proof: [microsoft/qlib on GitHub](https://github.com/microsoft/qlib)

### Which has more tests, BettaFish or qlib?

qlib, with 56 test files; BettaFish has 15.

The proof: [microsoft/qlib's code at commit 5435523](https://github.com/microsoft/qlib/tree/54355232463878d2eebb91fe0ee5fa7fa1f5976c)

### Which was updated more recently, BettaFish or qlib?

qlib: its last push was on November 4, 2026, and BettaFish's on October 16, 2026.

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

### Which has more commits signed by AI, BettaFish or qlib?

BettaFish: an AI signed 0.7% of its commits, with Codex and Claude Code; in qlib, 0.2%.

## Sources

- 666ghj/BettaFish: Read on November 6, 2026, at commit b67928f (https://github.com/666ghj/BettaFish/tree/b67928ff1ce515dd7672408221fb1e9500d0972d)
- microsoft/qlib: Read on November 5, 2026, at commit 5435523 (https://github.com/microsoft/qlib/tree/54355232463878d2eebb91fe0ee5fa7fa1f5976c)

## 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.
