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
The documentation is not fully done yet however it is something for now: 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.6.2.6.tar.gz
(175.0 kB
view hashes)
Built Distribution
webwithpy-0.6.2.6-py3-none-any.whl
(184.6 kB
view hashes)
Close
Hashes for webwithpy-0.6.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cee13229329838d34663c7de743b1c539d62ad3167f1189ffbd3bc5b30d89485 |
|
MD5 | ed9bcf30c76bd6196b2474e0f7e5f2e2 |
|
BLAKE2b-256 | 05f20bcabdd7294f0f6d9ba53dcba8eb7621ff2d4b25e8a46d8dbb45a053806c |