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

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.5.6.tar.gz (155.2 kB view details)

Uploaded Source

Built Distribution

webwithpy-0.5.6-cp310-cp310-manylinux_2_35_x86_64.whl (163.6 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.35+ x86-64

File details

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

File metadata

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

File hashes

Hashes for webwithpy-0.5.6.tar.gz
Algorithm Hash digest
SHA256 15f4f1e91a11309fce97fd7ba6cc33c52dbabf5e78d42b06abd09cdc9f1d353d
MD5 06668cc159deac9577c9d0c689d5fce7
BLAKE2b-256 5ffa796596210ba40e27b34b9ddcea31fa10a7b9304510b7e8b1214d2bf4fc28

See more details on using hashes here.

File details

Details for the file webwithpy-0.5.6-cp310-cp310-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for webwithpy-0.5.6-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 aed2fa7ac5d4f110f0954de80164e6f4eb6b5620ca1bdacbe1b03eef7d495391
MD5 60e2733502c84d09d11c08fffa313d44
BLAKE2b-256 c8447f30c77211ac55c0c0d25c283f13d9f57b3d7565d3bdb201bfed58c168f3

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