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.0.9.tar.gz
(25.7 kB
view details)
Built Distribution
File details
Details for the file webwithpy-0.7.0.9.tar.gz
.
File metadata
- Download URL: webwithpy-0.7.0.9.tar.gz
- Upload date:
- Size: 25.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 | 9a3c9524eaea5be3b3ce9b77f7256da804d8d1ae476c6ba0db711c0cfadf86e3 |
|
MD5 | 31b648ba2aca2a7e1f853f6fe99d130b |
|
BLAKE2b-256 | e73d76f76759c7da25426c2bb57176371f446a643bd620d87eb7099ce12d2a86 |
File details
Details for the file webwithpy-0.7.0.9-py3-none-any.whl
.
File metadata
- Download URL: webwithpy-0.7.0.9-py3-none-any.whl
- Upload date:
- Size: 39.2 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 | 4c5ecd859fac10a097540c7774032300867f949afaf3b1261819e1a5d3d05624 |
|
MD5 | 251d82ffd94341cf3b8b8e21469b876d |
|
BLAKE2b-256 | 9a3328406455d4fd3a57ea0e8f2eff7649c531f454f3190466eb665f12c19378 |