Skip to main content

webnest (yahia web app package or framework) is a simple framework to create web application

Project description

webnest

webnest framework for making web app using python

Installation

You can install the package using pip:

pip install webnest

Project

For create new project:

webnest createproject 'project-name'

Every action in project runs from handle.py in your project directory

Available Commands

In the project directory, you can run server using this command:

python handle.py runserver

Open http://127.0.0.1:8000 to view it in your browser.

If you want to connect to database and migrate table and columns :

  • Go to models.py in your project directory then add your model , It will be somthing like this:

    class User (Model):
        name = Model.Fields.TextField(verbose_name='username')
        password = Model.Fields.TextField(verbose_name='password')
        age = Model.Fields.IntField(verbose_name='password')   
    
  • Then run this commnad to render your changes in treks folder in your project directory:

    python handle.py rendertreks
    
  • After render your changes in treks folder u have to use this command to trek your changes to database:

    python handle.py trek
    

[!NOTE]
webnest framework support sqlite3 only in this version , It will support another type of DB in Upcoming releases , Allah willings

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

webnest-0.1.1.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

webnest-0.1.1-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file webnest-0.1.1.tar.gz.

File metadata

  • Download URL: webnest-0.1.1.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for webnest-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a8d54bf96956a66bfa17697ef1f24bf5adc97f2234a26f111832268741de7d75
MD5 67de3b523ae04fac4a85f25e564742f1
BLAKE2b-256 7ca5e29eaca17bac5935d59ac616120976bb63a6567a09beb377ea4549a4f3f7

See more details on using hashes here.

File details

Details for the file webnest-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: webnest-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 20.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for webnest-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e251aaa5e4bc1b19eb838fcdfec564e7669cb4a4f24c31bc5ead4a02aadfaedd
MD5 ad4856355b859015092081b71d60088c
BLAKE2b-256 0154578029c7220c752b71b2d71df9823297af07df2e458d31b5f8f48e33dfa7

See more details on using hashes here.

Supported by

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