Skip to main content

Minimalist Python web framework

Project description

Drakken

A minimalist WSGI web framework written in Python. Uses the SQLAlchemy database toolkit and the Mako template engine.

Install

pip3 install drakken

Quickstart

  1. Create a file demo.py and paste the following code into it:

     from drakken.core import Drakken
     app = Drakken()
    
     @app.route('/')
     def home(request, response):
         response.text = 'Hello from the HOME page'
    
     if __name__ == "__main__":
         app.runserver()
    
  2. Launch demo.py:

     python3 demo.py
    
  3. Visit the demo app's home page. You should see a web page with the message Hello from the HOME page.

Links

License

MIT License.

Contact Me

Send bug reports and patches to craig@seagrape.us.

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

drakken-3.1.3.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

drakken-3.1.3-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file drakken-3.1.3.tar.gz.

File metadata

  • Download URL: drakken-3.1.3.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for drakken-3.1.3.tar.gz
Algorithm Hash digest
SHA256 70e405858d9eb39184b39b527e16372b3d1e1085f067ee3951f1dca3d23b46e3
MD5 0eabf9e02fa4f003b8e4490c7a90b5cd
BLAKE2b-256 6b263ee3bf63c08b03e1300e3b87cfb846ea678662a91a64d4d57d04c8e0dfee

See more details on using hashes here.

File details

Details for the file drakken-3.1.3-py3-none-any.whl.

File metadata

  • Download URL: drakken-3.1.3-py3-none-any.whl
  • Upload date:
  • Size: 20.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for drakken-3.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5f77cc874124281f844c5c2acd82d8598e97d4b8f775f4f3334d0e2f0e7039c5
MD5 e2adfc5c6d5720d99d57f08851c7a5a8
BLAKE2b-256 771fb9ce84a2c8ad20e48dce97a7cf021222bed38a7e0f5b3daf0f1732e76bc2

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