Servefile
=========
Serve files from shell via a small HTTP server. The server redirects all HTTP
requests to the file, so only IP and port must be given to another user to
access the file. Its main purpose is to quickly send a file to users in your
local network, independent of their current setup (OS/software). Besides that
it also supports uploads, SSL, HTTP basic auth and directory listings.
Features:
* serve single file
* serve a directory with directory index
* file upload via webinterface
* HTTPS with on the fly generated self signed SSL certificates
* HTTP basic authentication
* serving files/directories as on request generated tar files
Install
-------
Via pip
```shell
pip install servefile
```
After installation either execute `servefile --help` or `python -m servefile --help`
Standalone:
If you don't have pip available just copy `servefile/servefile.py` onto the target machine, make it executable and you are ready to go.
```shell
$ wget https://raw.githubusercontent.com/sebageek/servefile/master/servefile/servefile.py -O servefile
$ chmod +x servefile
$ ./servefile --help
```
Raw data
{
"_id": null,
"home_page": "https://github.com/sebageek/servefile/",
"name": "servefile",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Sebastian Lohff",
"author_email": "seba@someserver.de",
"download_url": "https://files.pythonhosted.org/packages/37/e3/1a99dfaa6311e38236f6ce436e7f6c0f9b9ccef93643e33bd66e1727ef9b/servefile-0.5.4.tar.gz",
"platform": "posix",
"description": "Servefile\n=========\n\nServe files from shell via a small HTTP server. The server redirects all HTTP\nrequests to the file, so only IP and port must be given to another user to\naccess the file. Its main purpose is to quickly send a file to users in your\nlocal network, independent of their current setup (OS/software). Besides that\nit also supports uploads, SSL, HTTP basic auth and directory listings.\n\nFeatures:\n * serve single file\n * serve a directory with directory index\n * file upload via webinterface\n * HTTPS with on the fly generated self signed SSL certificates\n * HTTP basic authentication\n * serving files/directories as on request generated tar files\n\nInstall\n-------\n\nVia pip\n```shell\npip install servefile\n```\nAfter installation either execute `servefile --help` or `python -m servefile --help`\n\nStandalone:\nIf you don't have pip available just copy `servefile/servefile.py` onto the target machine, make it executable and you are ready to go.\n```shell\n$ wget https://raw.githubusercontent.com/sebageek/servefile/master/servefile/servefile.py -O servefile\n$ chmod +x servefile\n$ ./servefile --help\n```\n",
"bugtrack_url": null,
"license": "GPLv3 or later",
"summary": "Serve files from shell via a small HTTP server",
"version": "0.5.4",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bf37fc904b61328032d453802416e820112626434501cfc5dc68b52446c1602e",
"md5": "6b50d2194cac2e05a565fa6b00869bdf",
"sha256": "4e154791dec70b280cfd3d4e0ad8ba13bfd1f676bc77b5ce0b73b54f65ace770"
},
"downloads": -1,
"filename": "servefile-0.5.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6b50d2194cac2e05a565fa6b00869bdf",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 16032,
"upload_time": "2023-01-23T22:59:54",
"upload_time_iso_8601": "2023-01-23T22:59:54.556392Z",
"url": "https://files.pythonhosted.org/packages/bf/37/fc904b61328032d453802416e820112626434501cfc5dc68b52446c1602e/servefile-0.5.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "37e31a99dfaa6311e38236f6ce436e7f6c0f9b9ccef93643e33bd66e1727ef9b",
"md5": "e7774760cde37501389017436519f930",
"sha256": "5b080683c573e057db5e9ad9af800b4a2681c059ca0ba5537aff2ddfbf1bae00"
},
"downloads": -1,
"filename": "servefile-0.5.4.tar.gz",
"has_sig": false,
"md5_digest": "e7774760cde37501389017436519f930",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 19151,
"upload_time": "2023-01-23T22:59:56",
"upload_time_iso_8601": "2023-01-23T22:59:56.222181Z",
"url": "https://files.pythonhosted.org/packages/37/e3/1a99dfaa6311e38236f6ce436e7f6c0f9b9ccef93643e33bd66e1727ef9b/servefile-0.5.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-23 22:59:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "sebageek",
"github_project": "servefile",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "servefile"
}