Installation¶
Get Xeepy up and running in under 2 minutes.
Quick Install¶
Install Browser¶
Xeepy uses Playwright for browser automation. Install the browser:
First-time setup
This downloads a Chromium browser (~150MB). It's a one-time operation.
Verify Installation¶
Expected output:
Xeepy v1.0.0
✓ Python 3.10+
✓ Playwright installed
✓ Chromium browser ready
✓ All systems operational
Optional Dependencies¶
Install additional features based on your needs:
System Requirements¶
Minimum Requirements¶
| Component | Requirement |
|---|---|
| Python | 3.10 or higher |
| RAM | 512MB available |
| Disk | 500MB for browser |
| OS | Linux, macOS, Windows |
Recommended Setup¶
| Component | Recommendation |
|---|---|
| Python | 3.11+ (faster async) |
| RAM | 2GB+ for heavy scraping |
| Disk | SSD for database caching |
| Network | Stable connection |
Platform-Specific Notes¶
# Install system dependencies (Ubuntu/Debian)
sudo apt-get update
sudo apt-get install -y python3-pip
# Install Xeepy
pip3 install xeepy
playwright install chromium
# Install browser dependencies
playwright install-deps chromium
Headless servers
Xeepy works perfectly on headless Linux servers. Use headless=True (default) in your scripts.
# Using Homebrew Python
brew install python@3.11
# Install Xeepy
pip3 install xeepy
playwright install chromium
Apple Silicon
Xeepy fully supports M1/M2/M3 Macs natively.
Virtual Environment Setup¶
We recommend using a virtual environment:
# Create virtual environment
python -m venv xeepy-env
# Activate it
source xeepy-env/bin/activate # Linux/macOS
# or
xeepy-env\Scripts\activate # Windows
# Install Xeepy
pip install xeepy[all]
playwright install chromium
Development Installation¶
For contributing or modifying Xeepy:
# Clone the repository
git clone https://github.com/xeepy/xeepy.git
cd xeepy
# Create dev environment
python -m venv .venv
source .venv/bin/activate
# Install in editable mode with dev dependencies
pip install -e ".[dev]"
# Install pre-commit hooks
pre-commit install
# Run tests
pytest
Troubleshooting¶
Error: playwright not found
Make sure playwright is installed:
Error: browser closed unexpectedly
Install browser dependencies:
Slow installation on Linux
The browser download can be slow. Use a mirror:
Import errors after installation
Ensure you're using the correct Python:
Upgrading¶
# Upgrade Xeepy
pip install --upgrade xeepy
# Upgrade browser (occasionally needed)
playwright install chromium
Uninstalling¶
Next: Set up authentication →