Skip to main content

Python web microframework

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

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

Uploaded Source

Built Distribution

drakken-3.1.4-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for drakken-3.1.4.tar.gz
Algorithm Hash digest
SHA256 1ce0df835b243b91d64af9ca239aef62e3712897f7dcf8afbe9b5fc18fd82756
MD5 e619f93338e2f9db9395b6455909f757
BLAKE2b-256 0a9a636ab3da9c5ff292bd804a95bad0bc83dc986b27bb8de1fd56f0857334be

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for drakken-3.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 50efa2321a85e4ee394cbc797fcbffe95137c1244fa131466fa9c743cb6663ae
MD5 1d6391a4ebb748f22de41e3e8ba9074d
BLAKE2b-256 b6e083046eb7eae6111fd61069ed1c3b293cac20f75aaed672ae7c74adba6500

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