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 some: webwithpy.readthedocs.io
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.5.tar.gz
(151.9 kB
view details)
Built Distribution
webwithpy-0.5-py3-none-any.whl
(159.3 kB
view details)
File details
Details for the file webwithpy-0.5.tar.gz
.
File metadata
- Download URL: webwithpy-0.5.tar.gz
- Upload date:
- Size: 151.9 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 | 8b3ea2c8bc26a4b4f51a467f4aff90be94eff78595cc400dc0acf51bd2f4b39e |
|
MD5 | 9e5a68cd1abaa690fec50831b68569d4 |
|
BLAKE2b-256 | 7408e4febbfb07f1959b39b77c23ff7a8afced2ba834ca297c03d673cf4ac291 |
File details
Details for the file webwithpy-0.5-py3-none-any.whl
.
File metadata
- Download URL: webwithpy-0.5-py3-none-any.whl
- Upload date:
- Size: 159.3 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 | d5be1b1ed47b77e9622289a037b766a9e13206feb3754fb43d339ec35ffa6b1d |
|
MD5 | d6ef18a422109415c85ec00aee0ac6c1 |
|
BLAKE2b-256 | 7a44026be4409fcc88c3333f2245d8c1e33592b77a9b704d3823ef2ab68763a1 |