Skip to main content

A web tools by Python.

Project description

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.

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

webit-0.0.3.tar.gz (66.6 kB view details)

Uploaded Source

File details

Details for the file webit-0.0.3.tar.gz.

File metadata

  • Download URL: webit-0.0.3.tar.gz
  • Upload date:
  • Size: 66.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for webit-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1c7b6b3642752531c01c01b9c6a800ffa1205ccaafce44911dc9c8b45b4f77aa
MD5 b7bae06b63bea372771009d6679ac97b
BLAKE2b-256 4ffcd63d71294a7ab761e8ef1ce482d0e90aed0987c2ae134e1b6062367bb846

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