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.pyin 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
treksfolder in your project directory:python handle.py rendertreks
-
After render your changes in
treksfolder u have to use this command to trek your changes to database:python handle.py trek
[!NOTE]
webnest framework supportsqlite3only in this version , It will support another type of DB in Upcoming releases , Allah willings
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8d54bf96956a66bfa17697ef1f24bf5adc97f2234a26f111832268741de7d75
|
|
| MD5 |
67de3b523ae04fac4a85f25e564742f1
|
|
| BLAKE2b-256 |
7ca5e29eaca17bac5935d59ac616120976bb63a6567a09beb377ea4549a4f3f7
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e251aaa5e4bc1b19eb838fcdfec564e7669cb4a4f24c31bc5ead4a02aadfaedd
|
|
| MD5 |
ad4856355b859015092081b71d60088c
|
|
| BLAKE2b-256 |
0154578029c7220c752b71b2d71df9823297af07df2e458d31b5f8f48e33dfa7
|