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.4.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

bustard-0.1.4-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bustard-0.1.4.tar.gz
Algorithm Hash digest
SHA256 b7cfed2493cbab04695968de23512198be414e9b19a7e4a23e0cdfaaa16314b2
MD5 69ef977855d11b91e7ad61e4a43edbfb
BLAKE2b-256 dd38d5ae91c0d8b22c7304f3b01f5871ff2b073b15a2666e3d4168c60b353a0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bustard-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4e2a3708f184f6262864ddce41bdf3fdfb2ccf059725df7270bac7a4a14f2c50
MD5 e59b22334e18c018cb3dd07baabeed28
BLAKE2b-256 7ddc3b1925956e782a672dae36bad6d020b1702178865f67732d7860994417f1

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