Skip to main content

BizAPI is a personal project aimed at enhancing my skills and understanding of Python web framework development. It is a simple and lightweight framework built for learning and experimentation purposes.

Project description

BizAPI

A Lightweight Web Framework for Python


A Simple Example

from bizapi import BizAPI
from bizapi.types import Request, Response

app = BizAPI()


@app.route('/home')
def home(request: Request, response: Response):
    response.text = 'This is the home page'

    
@app.route('/say-hello/{name}')
def sayhello(request: Request, response: Response, name: str):
    response.text = f"Assalawma áleykum {name}"
gunicorn main:app

Features (To-Do)

Here's a list of upcoming features that will be included in BizAPI:

  • Function-Based Routing
  • Parameterized Routing
  • Class-Based Handlers
  • Allowed Methods
  • Django Routes Compatibility
  • Exception Handler
  • Templates
  • Static Folder
  • Custom Response
  • Middleware

License
This project is licensed under the MIT License.


Community of Lazy People

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

bizapi-0.0.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

BizAPI-0.0.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file bizapi-0.0.2.tar.gz.

File metadata

  • Download URL: bizapi-0.0.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for bizapi-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3194108d45497b0115302fe41bd86e5d046772ca57e2e979f64578f5f07411a7
MD5 2cf147fe5bd7386b446c44e96a21cc3c
BLAKE2b-256 a7f394539464b8cb7ade1f84e81b15d11659235f51590ea30f2242625bf4dfff

See more details on using hashes here.

File details

Details for the file BizAPI-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: BizAPI-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for BizAPI-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 37a2dd9d562a7b8db275ece6c09def311cb8909fbb90332112ac44368b57fe40
MD5 a2f9f8384b9e236d315d9230a5dbe1f8
BLAKE2b-256 95dcb0ac18b2e1b82e564b8cc5077e4702a7fd56c4153d9c0598e65b878bd311

See more details on using hashes here.

Supported by

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