{{response.files.append(URL('static','css/artwork.css'))}} {{extend 'layout.html'}} {{import os}} {{version = request.env.web2py_version.split('(')}}
Current (for everybody)
{{=version[0]}}
({{=version[1]}}Nightly Built (for testers) Trunk (for developers) The source code version works on all supported platforms, including Linux, but it requires Python 2.4, 2.5, 2.6, or 2.7. It runs on Windows and most Unix systems, including Linux and BSD.
After download, unzip it and click on web2py.exe (windows) or web2py.app (osx). To run from source type:
{{=CODE("python2.5 web2py.py",language=None,counter='>',_class='boxCode')}}or for more info type:
{{=CODE("python2.5 web2py.py -h",language=None,counter='>',_class='boxCode')}}After installation, every time you run it, web2py asks you to choose a password. This password is your administrative password. If the password is left blank, the administrative interface is disabled. The administrative interface /admin/default/index is only accessible via localhost and always requires a password.
Any url /a/b/c maps into a call to application a, controller b.py and function c in that controller.
You are strongly advised to also use Apache with mod_proxy or mod_wsgi to access applications in the framework. This allows better security and concurrency.
Web2py code is released under LGPLv3 License. This license does not extend to third party libraries distributed with web2py (which can be MIT, BSD or Apache type licenses) nor does it extend to applications built with web2py (under the terms of the LGPL.
Applications built with web2py can be released under any license the author wishes as long they do not contain web2py code. They can link unmodified web2py libraries and they can be distributed with official web2py binaries. In particular web2py applications can be distributed in closed source. The admin interface provides a button to byte-code compile.
It is fine to distribute web2py (source or compiled) with your applications as long as you make it clear in the license where your application ends and web2py starts.
web2py is copyrighted by Massimo Di Pierro. The web2py trademark is owned by Massimo Di Pierro.
[read more]You can find many free and ready to use web2py applications with source code here.