Skip to main content

A tiny WSGI web framework

Project description

Build Coverage PyPI version

A tiny WSGI web framework.

features

  • router

  • orm

  • request and response

  • cookies and session

  • template engine

  • wsgi server

install

pip install bustard
pip install psycopg2      # if you need orm feature

Getting Started

from bustard.app import Bustard

app = Bustard()


@app.route('/')
def helloword(request):
    return 'hello world'

if __name__ == '__main__':
    app.run()

Just save it as hello.py and run it

$ python hello.py
WSGIServer: Serving HTTP on ('127.0.0.1', 5000) ...

Now visit http://localhost:5000, and you should see hello world.

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

bustard-0.1.5.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

bustard-0.1.5-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

Details for the file bustard-0.1.5.tar.gz.

File metadata

  • Download URL: bustard-0.1.5.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bustard-0.1.5.tar.gz
Algorithm Hash digest
SHA256 d7251f0fc98cb3e3088abfe23ada92fa0d11a8720c3f6f73830f8a0d0b14c6f4
MD5 7ab85be05079f16bded329dfef6a7c6f
BLAKE2b-256 f4bb08b46db0b28f95228c6df3605b412eec7355132d6ae5be17bca7fee00fb2

See more details on using hashes here.

File details

Details for the file bustard-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for bustard-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bd8d3cdb77f161d80a9744b82737382c94145b033f594f71e970220413c207a1
MD5 3b498da2f40976f0cfe8b39d7dd7c966
BLAKE2b-256 d797cb5cedc404eea7f3d7bdf48a5e25729919b0ef323376bf3b21e382bf326f

See more details on using hashes here.

Supported by

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