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.2.tar.gz
(29.8 kB
view details)
Built Distribution
File details
Details for the file webwithpy-0.7.2.2.tar.gz
.
File metadata
- Download URL: webwithpy-0.7.2.2.tar.gz
- Upload date:
- Size: 29.8 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 | 643bb225b7906bef23b5cc396be272ca7d9ed445004a23cca4ee7cf569026e68 |
|
MD5 | 842f743e68aefc614f199561eb675389 |
|
BLAKE2b-256 | 81f3c5b5d3441059dfc586310f74d6f79645ab58db08e3f00527f4c391cbf330 |
File details
Details for the file webwithpy-0.7.2.2-py3-none-any.whl
.
File metadata
- Download URL: webwithpy-0.7.2.2-py3-none-any.whl
- Upload date:
- Size: 43.0 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 | 0aa40eb2b2440e99b91976f1e2274af4e8da976661d402ccb6b546d0a429f7d8 |
|
MD5 | 6fa0ba7312f192c7ff63d74435de7eb1 |
|
BLAKE2b-256 | 7ea7fdcd80b38fa0b5030fd0c7b577f723e87337c541993bceee5435589d0d93 |