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.
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:
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/
Metadata
Release files for god-like 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| god-like-1.0.1.tar.gz | 6.1 kB | Without provenance | Details for god-like-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| god_like-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for god_like-1.0.1-py3-none-any.whl |
Total release size: 13.1 kB
Release files / god-like-1.0.1.tar.gz
| Download URL | god-like-1.0.1.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
270c7f8ee9023c8b6368f3ce37ab8d5287eb7ea621145ad21e3cf75dae92bd8a
|
|
BLAKE2b-256 checksum How to use checksums |
1cddcb1d3883201e436095fccb6880b93282a19e750b76613adb7fce3f233bc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.6 CPython/3.9.0 Windows/10
|
Release files / god_like-1.0.1-py3-none-any.whl
| Download URL | god_like-1.0.1-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52eb6b1f601f0167b0643c029b18e7647f8c6ae9c4d231c4d532ef0cb26d4fc1
|
|
BLAKE2b-256 checksum How to use checksums |
d0f1d8fa0113d07cbf3aed6915f767bd0c60121fee937cb6f046fa76092ab927
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.6 CPython/3.9.0 Windows/10
|
Security for god-like 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.