# PyRunner

> Self-hosted Python script automation platform to upload, schedule, and monitor scripts from a browser with isolated environments, secrets, AI integration, and webhooks.

- **Category:** Automation
- **Licence:** MIT
- **Latest version:** v2.0.0
- **Open source:** oss
- **Languages:** Python, HTML
- **Platforms:** Docker, Docker Compose, Coolify
- **Tags:** Automation, Workflow Automation, Scheduler, Cron, Scripting, Secrets Management, Docker, Python, Django, Self Hosted, Webhook, Ai integration, Apis, Orchestrator Engine, Python Automation, Script Management, Virtual Environments

## Description

PyRunner runs in a single Docker container and provides a web dashboard for managing Python scripts. You can create and edit scripts in a built-in code editor, schedule them with cron expressions or intervals, and run each in its own virtual environment with custom pip packages. Secrets are stored encrypted and injected as environment variables at runtime. The platform integrates with AI providers including Anthropic Claude, OpenRouter, Ollama, and custom Anthropic-compatible endpoints. Scripts can be triggered via HTTP webhooks from services like GitHub, Slack, or Stripe. Every execution captures full stdout/stderr for debugging. The backend uses Django with django-q2 for background tasks, SQLite by default with optional PostgreSQL, and Tailwind CSS for the frontend.

## Links

- [Homepage](https://github.com/hassancs91/PyRunner)
- [Website](https://pyrunner.dev)
- [Docker](hasanaboulhasan/pyrun)
- [GitHub Repository](https://github.com/hassancs91/PyRunner)
- [Documentation](https://pyrunner.dev/pyrunner/docs/)
- [Discord Community](https://discord.gg/BjkmTn7XSd)
- [Getting Started Guide](https://learnwithhasan.com/pyrunner/docs/)
- [Coolify Installation Guide](https://learnwithhasan.com/guide/install-pyrunner-on-coolify/)

---
Source: https://selfhost.directory/project/pyrunner