Metadata-Version: 2.1
Name: god-like
Version: 1.0.1
Summary: Flask for humans.
Home-page: https://github.com/hostedposted/god-like/
License: MIT
Author: hostedposted
Author-email: hostedpostedsite@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: Flask (>=2.0.1,<3.0.0)
Requires-Dist: Werkzeug (>=2.0.1,<3.0.0)
Project-URL: Documentation, https://hostedposted.github.io/god-like/latest/
Project-URL: Repository, https://github.com/hostedposted/god-like/
Description-Content-Type: text/markdown

# GodLike

Normally when I work on a web server I use express with JavaScript instead of flask with Python.
Even though I like python, I don't like flask.
Express is a great tool for web development, it's in JavaScript though.
So I decided to write a version of express in Python.

I came up with the name "god-like" because of how god like it would be to use express in Python.

Lets see how it works.

```py
from god_like import GodLike

app = GodLike()

@app.post("/")
def index(req, res):
    res.send(f"The body is {req.body}")

app.listen(port=8080)
```

Flask equivalent:

```py
from flask import Flask, request

app = Flask(__name__)

@app.route("/", methods["POST"])
def index():
    return f"The body is {request.data.decode('utf-8')}"

app.run(port=8080)
```

Documentation: https://hostedposted.github.io/god-like/latest/

