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

Uploaded Source

Built Distribution

webwithpy-0.7.0.8.5-py3-none-any.whl (39.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for webwithpy-0.7.0.8.5.tar.gz
Algorithm Hash digest
SHA256 3ff0a4a2c9ec2ef4baf20df55c60fc0084936485dcca89c56219ba9f1faa9771
MD5 ecb6127ad2539155b793c2fbdc572d12
BLAKE2b-256 d91e7c66ad941d28fdade4362b9a8ac2149d3bd8a884d597c9485633773d51cc

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for webwithpy-0.7.0.8.5-py3-none-any.whl
Algorithm Hash digest
SHA256 43c8e2f5f3af402834ed5b423fb2fd634e00118f4bdf2f30ef27eecd01e27b4b
MD5 dd8589eca1d44bc861041405eeec6c38
BLAKE2b-256 ba7fdd6aa439f8c9b72d4f355c2d71cb9495dd369a9ebf0c5f6b1729a146a522

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