SkillAgentSearch skills...

Simpleapi

A Python web framework.

Install / Use

/learn @adhamsalama/Simpleapi
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

SimpleAPI

banner SimpleAPI is a minimalistic, unopinionated web framework for Python, inspired by FastAPI & Flask.

SimpleAPI is a WSGI compliant framework.

This is a hobby project made for educational purposes because I want to try learning writing a web server framework.

So, this is obviously not meant for production environments.

Development of SimpleAPI is tracked at this GitHub project.

Installation

pip install simplestapi

Usage

An example of using SimpleAPI:

Copy the following code to a file called app.py

from simpleapi import SimpleAPI

app = SimpleAPI()

@app.get("/hello")
def hello():
    return "Hello, world!"

Run it with gunicorn app:app

More examples can be found in tests

Documentation

https://adhamsalama.github.io/simpleapi


django_kofta

Related Skills

View on GitHub
GitHub Stars22
CategoryDevelopment
Updated2y ago
Forks1

Languages

Python

Security Score

80/100

Audited on Feb 13, 2024

No findings