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

    # run the server when you're done creating views and databases
    run_server()

Documentation

for more detailed information about what the framework can do please goto: 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.5.2.tar.gz (28.7 kB view details)

Uploaded Source

Built Distribution

webwithpy-0.7.5.2-py3-none-any.whl (43.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: webwithpy-0.7.5.2.tar.gz
  • Upload date:
  • Size: 28.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.1 CPython/3.10.12 Linux/6.5.0-27-generic

File hashes

Hashes for webwithpy-0.7.5.2.tar.gz
Algorithm Hash digest
SHA256 565df5ab30417775a9e2bbb4785464ee89a15fc062eb96a3d7738fa5188c8327
MD5 753eff51bb41dd3211b34bd8e17a6e8b
BLAKE2b-256 f9fc3c4e74aba366527b0b6dc92c5f0fa8df75cd846be8c3f5367635cfd96a70

See more details on using hashes here.

File details

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

File metadata

  • Download URL: webwithpy-0.7.5.2-py3-none-any.whl
  • Upload date:
  • Size: 43.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.1 CPython/3.10.12 Linux/6.5.0-27-generic

File hashes

Hashes for webwithpy-0.7.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6a66aaf70408f87f2d5ce54567a87a605f7855217f283db1b7d3aa23be832de2
MD5 c2bd8fff1382f58194e3eb4fb997cd45
BLAKE2b-256 d84df7875f5a63315a32ed5b9077c76a72541dc411076d919d7f87051a370d42

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