No project description provided
Project description
Webwithpy is a free to use fullstack web framework mainly focussed on performance and ease of use. The goal of webwithpy is to have an easy-to-use web framework whilst still maintaining high performance.
A clear example of the use of webwithpy:
from webwithpy import run_server
from webwithpy.routing import GET
from webwithpy.orm import DB, Table, Field
db = DB('databases/db.sqlite')
class User(Table):
table_name = "user"
name = Field("string")
email = Field("string")
profile_picture = Field("image")
@GET('/')
def view_users():
# user logic goes here
return (db.user.id >= 0).select()
if __name__ == "__main__":
# all tables that are defined before this statement will be initialized
db.create_tables()
# run the server when you're done creating views and databases
run_server()
Documentation
for more detailed information about what the framework can do please goto: webwithpy docs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
webwithpy-0.7.4.3.tar.gz
(27.4 kB
view hashes)
Built Distribution
Close
Hashes for webwithpy-0.7.4.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98477f67b4c4abfe1731065d0340d205fb013689844d217bc79b7c806917e41b |
|
MD5 | f0601a2c37b41592b715f02bf9008f32 |
|
BLAKE2b-256 | cb4092189e8ff7c511797c5208aa249583ab93362114447a293a1dfdd2fbe46a |