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 coming very soon!!
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.4.tar.gz
(17.7 kB
view details)
Built Distribution
webwithpy-0.4-py3-none-any.whl
(24.4 kB
view details)
File details
Details for the file webwithpy-0.4.tar.gz
.
File metadata
- Download URL: webwithpy-0.4.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.2.0-36-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4ed3d04222c1642a589acbbb8dd2a90d786d3d949006838d0a4c3272ab3aa1b |
|
MD5 | becfc69ab6a57ef6a9e846a29df125ab |
|
BLAKE2b-256 | 8337d9331bbe0c2da7e0bbf399e75c7ae6e071ba6d728ab1a50c627eb418f465 |
File details
Details for the file webwithpy-0.4-py3-none-any.whl
.
File metadata
- Download URL: webwithpy-0.4-py3-none-any.whl
- Upload date:
- Size: 24.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.2.0-36-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cec15936890ec63b2409a4b2027476754f46e210d24689a834e6b05e33fb8a2 |
|
MD5 | cc88b501ef68ec3bbcc42586f23c8e3f |
|
BLAKE2b-256 | 9fd4f4fa8c5ebfc3d569d492cc73b4ce265b4ab85d425481ed461184531592e0 |