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

Uploaded Source

Built Distribution

webwithpy-0.7-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for webwithpy-0.7.tar.gz
Algorithm Hash digest
SHA256 0c952d82259d88b6c4703a290f9d74247ee16ebaa17fd82bbf8d5849ecf6804d
MD5 fd1eea8927766989589a026568a347d5
BLAKE2b-256 f16e882dd2a09de769bb0b940ab6fec45a36c5883318bc6a5ab5a0e0adc71304

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for webwithpy-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0b4ce2065592bb9397c22246e29cc57a1a20d43f456875312552f37fa32f4784
MD5 72c289d038f03f3bc205acfb0e84944d
BLAKE2b-256 0bde2ee09e595db944f1b7a8a11f6fbd1b26ff62ac450b95bf6c99f3ad011dab

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