webit
A web tools by Python.
Install
pip install webit
Use
cd to you working directory and run command:
webit.bat
if can’t find webit command, try:
python -m webit
open broswer with url http://127.0.0.1:8000, add shell script and run it.
Other tips
1.set http port 80
webit 80
2.authenticate with username and password (admin admin)
webit -u admin -p admin
3.set the working directory (/tmp)
webit -d /tmp
4.bind address with 127.0.0.1
webit 127.0.0.1:8000
5.use as wsgi
# set username and passwor export WSGI_PARAMS="-u admin -p admin" # run wsgi with gunicorn gunicorn -b 0.0.0.0:8000 webit.wsgi:application
CHANGES
0.0.1
init version.
0.0.2
fix command error.
0.0.3
fix static file error.
Metadata
Release files for webit 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| webit-0.0.3.tar.gz | 66.6 kB | Details |
Release files / webit-0.0.3.tar.gz
| Download URL | webit-0.0.3.tar.gz |
|---|---|
| Size | 66.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c7b6b3642752531c01c01b9c6a800ffa1205ccaafce44911dc9c8b45b4f77aa
|
|
BLAKE2b-256 checksum How to use checksums |
4ffcd63d71294a7ab761e8ef1ce482d0e90aed0987c2ae134e1b6062367bb846
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |