Skip to main content

Simple Python HTTP File Server

Project description

Pypi version example Licence Python versions

pywebfs

Simple Python HTTP(S) File Server

Quick start

$ pywebfs -d /mydir -t "my fileserver" -s 0.0.0.0 -p 8080
  • Browse/Download/Search files using browser http://<yourserver>:8080 image

  • search text in files (grep) image

basic auth

$ pywebfs --dir /mydir --user myuser [--password mypass]
$ pywebfs -d /mydir -u myuser [-P mypass]

Generated password is given if no --pasword option

https server

  • Generate auto-signed certificate and start https server
$ pywebfs --dir /mydir --gencert myserver 192.169.1.11
$ pywebfs -d /mydir --g myserver 192.169.1.11
  • Start https server using existing certificate
$ pywebfs --dir /mydir --cert /pathto/host.cert --key /pathto/host.key
$ pywebfs -d /mydir -c /pathto/host.cert -k /pathto/host.key

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

pywebfs-0.4.5.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

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

pywebfs-0.4.5-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file pywebfs-0.4.5.tar.gz.

File metadata

  • Download URL: pywebfs-0.4.5.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for pywebfs-0.4.5.tar.gz
Algorithm Hash digest
SHA256 bd14ed8b946f2db98b144771e37084fe64a5be0684db62e87c351281b7db0daa
MD5 a3a8b8d24775d3efb42a5e83c934f358
BLAKE2b-256 8f786bdb79c7fe51e5b07cbc917f4a546b0f310111c54ed775e7a95a1b27989f

See more details on using hashes here.

File details

Details for the file pywebfs-0.4.5-py3-none-any.whl.

File metadata

  • Download URL: pywebfs-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for pywebfs-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5f95bd4b17068f4d594dd25cb956bd3010f8581f615bca210736bd75a541a71d
MD5 3f270a3d49914f2cdaadf6f42084e157
BLAKE2b-256 0c3b921366241937b8ed05cc7e4bd252be4c849550457a2be7d93bc9c36e7324

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