Create a simple Flask webserver to keep your Repl online using a pinger. (such as https://up.rdsl.ga/)
Project description
This is a simple package to create a webserver to keep your repl online using a pinger. (such as https://up.rdsl.ga/). With the new version your console won't be spammed with useless error logs.
Usage:
First you need to install the package by going to the shell and pasting: pip install replit-keep-alive in there. Wait until it is finished
Now the actual code:
Recommended version to use:
from replit_keep_alive import WaitressStart
WaitressStart()
- Default
from replit_keep_alive import start
start() #The text argument is optional. So we didn't use it here
- Or with custom text
from replit_keep_alive import start
start("Hello world!") #The text argument is optional.
- Waitress version. (Without debug/development server)
from replit_keep_alive import WaitressStart
WaitressStart() #The text argument is optional. So we didn't use it here.
- Or the waitress version. With custom text
from replit_keep_alive import WaitressStart
WaitressStart("Hello world!") #The text argument is optional. So we didn't use it here.
Paste these codeblocks somewhere in your code to get it working! Thanks for using Replit keep alive ❤️!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file replit_keep_alive-1.2.0-py3-none-any.whl.
File metadata
- Download URL: replit_keep_alive-1.2.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
399e29a2fed2f1307601ec05fa61d7af26fd2db7811fef7a6ebd96dd3b2ed9c0
|
|
| MD5 |
4ae278609763cf384f9a133091f380c8
|
|
| BLAKE2b-256 |
6f46794116469ae9eab7ed42dd1346969545dc4ccbfc3025d6b5c332e7bb7691
|