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

This version

0.4.3

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.3.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.3-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pywebfs-0.4.3.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.3.tar.gz
Algorithm Hash digest
SHA256 91a9874b3f1b77ebc06d558e137a4b41c86b311378a72545635a74078bf3bdd6
MD5 0d0863907c2855d2bd64c97fe9d36f4d
BLAKE2b-256 18e662a8d7eff5f5a8c4f2eec1baee5ebffb097e1570e983f83400e3cf86e835

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywebfs-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 14.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c2025d7f56fb5edeee90da82bf8f0cc82098afb099a4dbed4cfd245cd3d8075d
MD5 161f807dc5f81df82f3945995fe881ea
BLAKE2b-256 4a02d59bfedcb3706de54aaa74cba2406e3cf66d8f3038f2e01903cec84cf95f

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