Skip to main content

No project description provided

Project description

Webwithpy

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()

    # do things bf running the server
    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.3.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

webwithpy-0.3-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file webwithpy-0.3.tar.gz.

File metadata

  • Download URL: webwithpy-0.3.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.2.0-34-generic

File hashes

Hashes for webwithpy-0.3.tar.gz
Algorithm Hash digest
SHA256 3424ce45a2fd0e3bb1df179495e30befbb37f7e0f980d95dcb84b29a506e3c74
MD5 fdb1186a426b6a26b288e9183de58b48
BLAKE2b-256 518a2111aa4011caaf249ba017d96b61d7199e0c48823c3f04ddbf51fbba072b

See more details on using hashes here.

File details

Details for the file webwithpy-0.3-py3-none-any.whl.

File metadata

  • Download URL: webwithpy-0.3-py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.2.0-34-generic

File hashes

Hashes for webwithpy-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e90f7bf560bf1d8a2c65bd59092f57f1f34d21578c4f1d287520a8b159220904
MD5 9612393db1f75be7574437ce1693c01c
BLAKE2b-256 f5e46d183ce64b764c67dcc3040e90d0c80917fff0d22566a99ed47072408c42

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page