my simple python framework is in development
Before run the framework install all packages:
pip install -r requirements.txt
Starting simple framework
run command
gunicorn app:app --bind 127.0.0.1:8010
"--bind" helps to start localhost with port 8010,
you can change port, if it already is used
Here are the links, that are implemented:
http://127.0.0.1:8010/home
http://127.0.0.1:8010/about
http://127.0.0.1:8010/hello/yourname
http://127.0.0.1:8010/tell/100
http://127.0.0.1:8010/books
http://127.0.0.1:8010/sample
http://127.0.0.1:8010/template
http://127.0.0.1:8010/json
http://127.0.0.1:8010/text
Unit tests
run command
pytest test_framework.py
for coverage percentage:
pytest --cov=. test_framework.py
Just testing WSGI files
run command
python WSGI.py
in framework dir and open
http://localhost:8005/
for reversed response:
run command
python WSGI_reverse.py
in framework dir and open
http://localhost:8006/
Release files for winz-simple-webframework 0.1.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| winz_simple_webframework-0.1.15.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| winz_simple_webframework-0.1.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.5 kB
Release files / winz_simple_webframework-0.1.15.tar.gz
| Download URL | winz_simple_webframework-0.1.15.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e54aa406a7de92b1f1b8652ff6690d216ac4688aa663dcff409edd39dd31ae03
|
|
BLAKE2b-256 checksum How to use checksums |
2e63dcffb91a990a2ba0f1b1d06a7515cdf44a8eecd374c64318c9a4404755d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / winz_simple_webframework-0.1.15-py3-none-any.whl
| Download URL | winz_simple_webframework-0.1.15-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
993b462028cbcbea70077aaa51c50d068294c7e972e9b1cbdffef6ac7d2c8793
|
|
BLAKE2b-256 checksum How to use checksums |
e595eddc53a581ebee0ab4b395a5f6f12b7b4219d1d34c83a62a4417a932a080
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|