pythonanywhere-clis v1.0.0
π pythonanywhere-clis v1.0.0
CLI tool for automating PythonAnywhere deployments. Local project β Live website, one step.
β¨ Features
Account Management
pa initβ Configure account with interactive/CLI modespa registerβ Register a new PythonAnywhere accountpa account list|switch|removeβ Multi-account managementpa account tokenβ Auto-fetch/create API tokenpa account extendβ Extend free tier expirypa account loginβ Store password for crawler operations
File Management
pa files ls|upload|download|rmβ Full remote file managementpa files share|unshare|share-statusβ File sharing control
Console Management
pa console list|create|send|kill|activate|get-or-create
Web App Management
pa webapp create|config|static|reload|delete|enable|disable|logs|ssl|hitspa webapp reload-crawlerβ Reload via browser automation
Deployment
pa deployβ One-click deployment with progress barpa deploy --dry-runβ Preview before executing
System & Tasks
pa status cpu|diskβ System resource monitoringpa tasks list|create|delete|enable|disableβ Scheduled taskspa always-on list|create|deleteβ Always-on tasks
π§ Technical
- Dual auth: Token (API) + Session (crawler) for full coverage
- Custom exception hierarchy for structured error handling
- Encrypted password storage
- Config validation with clear error messages
- 412 tests with 90% coverage
- Progress bar for file operations
- Git Bash (MSYS2) path auto-correction
π¦ Installation
pip install pythonanywhere-clis