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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pywebfs-0.4.2.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.2.tar.gz
Algorithm Hash digest
SHA256 28976c1eabebd000a9fcb8a54d6bae1b1ebc4e663185e639d54b602b66dab976
MD5 81f49a22cdcc6b258b607008158ec56d
BLAKE2b-256 1a4e453f41b3683daf3d5a1f6f88863b98476f0f50c4aaa27268bd51829c39c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywebfs-0.4.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 873a36b3073fd8ed160b50084d74c61400227dda9502aba760b6ba5559c82b71
MD5 f8b08d7dc50e82144efcf0b671ce8447
BLAKE2b-256 0d5bceb692856df422a16fb69c373a24e8dd48b3ba52ef76b98db0743b044b41

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