Skip to main content

A simple, from-scratch web framework for development of RESTful APIs and serving web pages.

Project description

LAWF - Lol, Another Web Framework

A from-scratch web framework written in python allowing one to create simple web servers for hosting RESTful apis or web pages.

This project is currently in pre-alpha. Breaking changes may be introduced at any time with no warning. The project is currently only suitable for providing an extremely simple interface.

Repository

Documentation

Installing

pip install lawf

Creating a simple web application

import lawf

server = lawf.Server(port=8080)


@server.uri_rule("/hello")
def hello_world(request):
    return "Hello World!"


server.run()

Project details


Download files

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

Files for lawf, version 0.0.8
Filename, size File type Python version Upload date Hashes
Filename, size lawf-0.0.8-py3-none-any.whl (10.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size lawf-0.0.8.tar.gz (8.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page