Skip to main content

A lightweight customizable socket server.

Project description



pip install flamingo


simple http server

import json
from flamingo import Flamingo, Response

app = Flamingo()

def homepage():
    return "Hello world"

app.register("/", homepage)
app.register("/text", "this is just a line of text")

data = json.dumps({"code":200, "msg":"hello world"})
app.register("/json", Response(200, data, content_type="application/json"))

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flamingo-server-0.0.2.tar.gz (4.6 kB view hashes)

Uploaded source

Built Distribution

flamingo_server-0.0.2-py3-none-any.whl (6.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page