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.3.0

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.3.0.tar.gz (16.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.3.0-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pywebfs-0.3.0.tar.gz
  • Upload date:
  • Size: 16.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.3.0.tar.gz
Algorithm Hash digest
SHA256 013a4100d4a8ab989fd1149d77e8c9556c5e398de8b2821742e60fbb8f08e70f
MD5 39cd7fb6a092dcbc3d5f25ebf2fa9db8
BLAKE2b-256 13f59103cc759d2cc0ed85f194af4562e88490fba2c8243d005867fc860600c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywebfs-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 13.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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bba448de60a208fbb5b34976a879d434334c636d3179b5878605ba81282860e9
MD5 5d93ba652cfbb2d25d7a4a549a3e6dea
BLAKE2b-256 d6d3499b73f052047a9563695ab72cab2abefe52c4e6eef628ade0013f6bd6fe

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