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.7.2.tar.gz
(29.7 kB
view details)
Built Distribution
webwithpy-0.7.2-py3-none-any.whl
(42.9 kB
view details)
File details
Details for the file webwithpy-0.7.2.tar.gz
.
File metadata
- Download URL: webwithpy-0.7.2.tar.gz
- Upload date:
- Size: 29.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.1 CPython/3.10.12 Linux/6.5.0-26-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed6bac8477b4c196a721ecf0c4b7c4848f42dd7fab195919f9a262464805dcc5 |
|
MD5 | da146e259c8f6447d175e23fe0f4bbc4 |
|
BLAKE2b-256 | aeaae971f49b9e251272b263edf9df05c3d8937c373db5ddc244686046b0995a |
File details
Details for the file webwithpy-0.7.2-py3-none-any.whl
.
File metadata
- Download URL: webwithpy-0.7.2-py3-none-any.whl
- Upload date:
- Size: 42.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.1 CPython/3.10.12 Linux/6.5.0-26-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbd9e2ca2d64d403e3beacae24c35946208121284556d92f6958e05f91636408 |
|
MD5 | ee765fd5ffb9c628c942de9399e3fd80 |
|
BLAKE2b-256 | 69156778ad10bc696dcd8722eb70b6471ba47fc6ba0c4030724d6739e3fc1227 |