weppy is a full-stack python web framework designed with simplicity in mind.
It takes some components from web2py and has a syntax inspired by Flask.
The aim of weppy is to be clearly understandable, easy to be learned and to be
used, so you can focus completely on your product's features:
Based on the "Web Frameworks" category.
Alternatively, view weppy alternatives based on common mentions on social networks and blogs.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of weppy or a related project?
Emmett
Emmett is a full-stack Python web framework designed with simplicity in mind.
The aim of Emmett is to be clearly understandable, easy to be learned and to be used, so you can focus completely on your product's features:
from emmett import App, request, response
from emmett.orm import Database, Model, Field
from emmett.tools import service, requires
class Task(Model):
name = Field.string()
is_completed = Field.bool(default=False)
app = App(__name__)
app.config.db.uri = "postgres://user:password@localhost/foo"
db = Database(app)
db.define_models(Task)
app.pipeline = [db.pipe]
def is_authenticated():
return request.headers["Api-Key"] == "foobar"
def not_authorized():
response.status = 401
return {'error': 'not authorized'}
@app.route(methods='get')
@service.json
@requires(is_authenticated, otherwise=not_authorized)
async def todo():
page = request.query_params.page or 1
tasks = Task.where(
lambda t: t.is_completed == False
).select(paginate=(page, 20))
return {'tasks': tasks}
pip version Tests Status
The documentation is available at https://emmett.sh/docs. The sources are available under the docs folder.
The bloggy example described in the Tutorial is available under the examples folder.
Emmett is production ready and is compatible with Python 3.7 and above versions.
Emmett follows a semantic versioning for its releases, with a {major}.{minor}.{patch} scheme for versions numbers, where:
Deprecations are kept in place for at least 3 minor versions, and the drop is always communicated in the upgrade guide.
We would be very glad if you contributed to the project in one or all of these ways:
Emmmett is released under the BSD License.
However, due to original license limitations, some components are included in Emmett under their original licenses. Please check the LICENSE file for more details.
*Note that all licence references and agreements mentioned in the weppy README section above
are relevant to that project's source code only.
Do not miss the trending, packages, news and articles with our weekly report.