A Python web framework to help you with your development #Python web framework #Web server #Python database engine #Karrigell #Web framework #Database
Karrigell is a flexible Python web framework, with a clear and intuitive syntax.
Karrigell is independent from any ORM, database or templating engine, and will let the programmer choose between a variety of coding styles.
The package includes a powerful built-in web server, so there's no need to download, install and configure a separate one, and a pure-Python database engine, PyDbLite, which is used for the demos.
Karrigell can be configured to work with external web servers (Apache, Xitami, LightTPD); the scripts can use all the databases for which a Python API exists (sqlite, mySql, PostGreSQL, ZODB, etc)
A new application, InstantSite, is provided to easily create and edit MySQL databases and generate scripts that handle the usual CRUD operations on database tables. Take a look at the online Flash demo
To create dynamic pages, all you need to know is HTML and Python. You have the choice between different ways of mixing them.
In short : · You can use ordinary Python scripts · Karrigell services are Python scripts where each function matches a different URL : foo.ks/bar matches the function bar() in the script foo.ks (if no function is specified, the function index() is used) · HTML inside Python is another form of Python script, where lines beginning by a string are sent to the browser as if there were a print statement · Python Inside HTML is very much like PHP or JSP, HTML pages with Python code inserted between the tags · You can use plain CGI scripts : see the documentation for the cgi module in the standard documentation · Python code is executed in a "clean" namespace including HTTP environment, form fields and custom exceptions. When a form includes the field , the value is available in the script under the name _myfield
For authentication and session, two functions (unsurprisingly named Authentication and Session) can be used in scripts. Authentication takes an authentication test function as first argument, which checks if the AUTH_USER and AUTH_PASSWORD are accepted. Session() is used to initialize or retrieve a session object to which attributes can be set or read
The Include(file_or_script) function inserts the output of the script or file inside the output of current script ; this is useful for headers or footers for instance. If it's a script it is executed in the current namespace.
System requirements
Karrigell 3.1.1
add to watchlist add to download basket send us an update REPORT- runs on:
- Windows All
- file size:
- 3.7 MB
- main category:
- Programming
- developer:
- visit homepage
Microsoft Teams
calibre
Bitdefender Antivirus Free
Windows Sandbox Launcher
Context Menu Manager
ShareX
Zoom Client
IrfanView
4k Video Downloader
7-Zip
- IrfanView
- 4k Video Downloader
- 7-Zip
- Microsoft Teams
- calibre
- Bitdefender Antivirus Free
- Windows Sandbox Launcher
- Context Menu Manager
- ShareX
- Zoom Client