Skip to content

juceling/weppy

 
 

Repository files navigation

logo

pip version build status

weppy is a full-stack python framework that includes everything needed to easily create fast, scalable and secure web applications. It takes some components from web2py and has a syntax inspired to Flask.

The aim of weppy is to be clearly understandable, easy to be learnt and to be used, in order to let you completely focus on your product's features:

@app.route()
@service.json
@requires(auth.is_logged_in, otherwise=not_authorized)
def todos():
    page = request.params.page or 1
    return {'todos': auth.user.todos.select(paginate=page)}

def not_authorized:
    response.status = 401
    return {'error': 'not authorized'}

Installation

You can install weppy using pip:

pip install weppy

Documentation

The documentation is available at http://weppy.org/docs. The sources are available under the docs folder.

Examples

The "bloggy" example described in the Tutorial is available under the examples folder. While we're still populating this folder with more examples, you can take a look also at H-Funding, which can give you a deepen view on weppy's features.

Benchmarks

Some benchmarks including weppy were published by Kirill Klenov who tested several frameworks with Python 3.

This is an extract from the results for a simple JSON serialization:

framework req/s ms/req performance
weppy 10853 18.46 2.5x
flask 6831 29.38 1.6x
django 4330 46.61 1x

Status of the project

weppy is currently released in beta stage. What does it mean?

  • That the code may contain noteworthy bugs
  • That you can use it on production but cannot blame the developers if something goes wrong

weppy provides support for python 2.7, 3.3, 3.4 and 3.5 versions.

How can I help?

We are very glad if you contribute to the project in one or all of these ways:

  • Talking about weppy with firends and on the web
  • Paticipating on weppy users group
  • Adding issues and features requests here on github
  • Participating in discussions about new features and issues here on github
  • Improving the documentation
  • Forking the project and writing beautiful code

License

weppy is released under the BSD License.

However, due to original licenses limitations, some components are included in weppy under their original licenses, please check the LICENSE file for more details.

About

The web framework for humans

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.0%
  • CSS 1.2%
  • Other 0.8%