Installation¶
crawley requires Python 3.9+.
From PyPI¶
The core install pulls in httpx, lxml, pyquery and cssselect — enough
for crawling and the scraping API.
Optional extras¶
Some features need extra dependencies. Install only what you use:
| Extra | Installs | Enables |
|---|---|---|
sql |
SQLAlchemy 2.x | Relational persistence (SQLite/PG/MySQL) |
mongo |
pymongo | MongoDB storage |
shell |
IPython | A nicer crawley shell |
gui |
PySide6 | The visual scraping browser |
http2 |
h2 | HTTP/2 support in httpx |
dev |
pytest, ruff, ... | Running the test suite |
docs |
mkdocs-material | Building this documentation |