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.1.tar.gz
(174.6 kB
view details)
Built Distribution
webwithpy-0.6.1-py3-none-any.whl
(184.0 kB
view details)
File details
Details for the file webwithpy-0.6.1.tar.gz
.
File metadata
- Download URL: webwithpy-0.6.1.tar.gz
- Upload date:
- Size: 174.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.2.0-37-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45acce7f1b5456fe30eb51128f4b0be96316200ca46d42e6cbeba60556059068 |
|
MD5 | c39e21f0a5216e450ba29d9773a8c495 |
|
BLAKE2b-256 | 4f2a05c0f410ed5a74e10f91eea3aa9d7cba7607ce275fc93016a5603ea8a336 |
File details
Details for the file webwithpy-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: webwithpy-0.6.1-py3-none-any.whl
- Upload date:
- Size: 184.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.2.0-37-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9678e8a914f42204ba98e8388e54a8d5d8de6dd1365bfb7be1488e4083b81905 |
|
MD5 | 7b35f433c7e44210e3fde373aa973be9 |
|
BLAKE2b-256 | ae5674dcc5e65571866e84062fd9ea9effe3d3d7db9c65f0ed0d7bf4d2683b3e |