← quik.run
NP@naman-parashar-s-team / python helloPublic

python hello

A PY snippet on QuikRun, callable at quik.run/r/python-hello.

PY· python:3.11· 16 runs· 0 forks· updated 1d ago
Endpointquik.run/r/python-helloRunFork
python hello.js
import sys
import requests
 
 
def handler(req, env):
print("hello from the container")
ip = requests.get("https://api.ipify.org?format=json", timeout=3).json()
return {
"ok": True,
"language": "python",
"version": sys.version.split()[0],
"method": req.get("method"),
"query": req.get("query"),
"egress_ip": ip.get("ip"),
}
 
Fork this and make it yours

Describe a change in plain English and QuikRun deploys it to your own URL.

Fork snippet

Built on QuikRun by @naman-parashar-s-team · plain English in, live URL out

python hello · @naman-parashar-s-team · QuikRun