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

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.1.tar.gz (17.2 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.1-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pywebfs-0.4.1.tar.gz
  • Upload date:
  • Size: 17.2 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.1.tar.gz
Algorithm Hash digest
SHA256 35569bd4ab76a9488d41d4c153d56e4ad9cd1297ea0652a34dba4381efcba4ea
MD5 c5e2f19c8f214531108b79dcdf75cf9e
BLAKE2b-256 1a3cd6a795e0fbaaee93a7ee5ea2bc98151a9897f7a96bb9ac039128274f8b72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywebfs-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 14.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ac78a1ab437f72e64b3b73e59a5e6e22b544b38dd6ca2d23e8d5ce18ac8a5d9
MD5 ad025dae5ce9dea2cea4e9938b4406fc
BLAKE2b-256 e63974e0c08c0ac9c2819c6fe33b078b6dcb0a7b292e5f922e26ad2f4f2a9202

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