Declared Python dependencies
Deploy requirements.txt with the production files required by your process.
Deploy FastAPI, Flask, Django, discord.py, python-telegram-bot, Celery or another Python project from GitHub or ZIP/RAR. Choose your runtime and start command, with 10 GB of persistent storage, logs and a free HTTPS address.
From Python project files to an isolated runtime
Python
select Python and its version during app creation
Pip install
dependencies installed automatically
/app
10 GB disk; files persist across restarts
Live
application logs and resource metrics
Shard Cloud runs Python web apps, background workers and long-running bot processes with your project's own runtime and startup configuration.
Explore capabilitiesHost Python HTTP APIs, webhooks and server-rendered sites. Run FastAPI or Flask behind Uvicorn or Gunicorn, or deploy a Django application with its production start command.
Run Python processes that consume queue jobs or perform scheduled tasks. Set the worker entry point or custom start command and follow each process through its logs and resource metrics.
Host a discord.py or python-telegram-bot project. Configure tokens in environment variables and use application logs to follow connections, updates and errors.
Install declared dependencies in an isolated environment and run the Python process that fits your web app, worker or bot.
Deploy requirements.txt with the production files required by your process.
Run the production process for a FastAPI, Flask or Django app, a Celery worker, or a long-running bot.
Keep Python uploads on the 10 GB persistent disk across application restarts.
Every Python web application receives a free HTTPS address under *.shardweb.app. Connect your own domain with Core or higher.
Use logs, memory and CPU metrics to inspect startup, runtime errors and the workload's actual resource use.
Python processes restart automatically; use dashboard logs to investigate a process that stops.
Prepare your Python project, configure the deployment, then verify the web server, worker or bot.
Get startedFrom connection to the first decision, in one flow.
Open step-by-step Shard Cloud documentation for popular projects in this runtime.
Run Selenium browser automation scripts on Shard Cloud.
Read tutorialCreate and host Discord bots with Node.js and Python examples.
Read tutorialCreate and host Telegram bots with Node.js and Python examples.
Read tutorialYes. Shard Cloud supports Python web apps and background processes, including FastAPI and Flask APIs, Django sites, Celery workers and scheduled jobs. Deploy your project with its production files and start command.
Add requirements.txt to your project. Shard Cloud installs the listed dependencies during deployment.
Set MAIN to your entry file in .shardcloud, usually main.py or app.py, and list your dependencies in requirements.txt. Shard Cloud installs them in an isolated environment and runs the file. A web app must listen on port 80.
Usually, no. Gateway or polling bots, including most discord.py bots, do not need a public port. Enable web publication and listen for requests only when your bot uses webhook callbacks or also exposes an API.
Yes. Each Python application has a 10 GB persistent disk at /app. Files stored there persist across application restarts.
Set VERSION=LATEST for the newest supported Python release, or VERSION=recommended for the platform's recommended release. Choose the setting compatible with your project and dependencies.
Every app needs at least 256 MB. Use 512 MB or more for a public website or API, then increase it based on observed usage.
Your server must listen on port 80.
Read the full Python deployment guide
Bring a Python project with its dependency manifest, then choose the production process for its API, worker or bot.
Guided setup with no commitment
Entry point and dependencies ready
Package main.py or app.py, requirements.txt, and the configuration required by the process.
Configuration and environment ready
Add tokens, connection strings and settings without putting secrets in your code.
Deploy your Python project
Connect GitHub or upload a ZIP/RAR, select Python, and start Uvicorn, Gunicorn, Celery or your bot command.
Perfect for freelancers or individuals who need to host applications and bots.
For small teams and startups that need infrastructure for multiple projects.
Built for scaling companies with high project volume and advanced support.