{ "info": { "author": "zrthstr", "author_email": "zrth1k@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Python Software Foundation License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Communications :: File Sharing", "Topic :: Internet :: WWW/HTTP :: HTTP Servers", "Topic :: System :: Archiving", "Topic :: Utilities" ], "description": "tarball_httpd\n==============\n\nServes directories as .TARs (tarball archives) over http - to be downloaded by a web browser\n\n- tarball\\_httpd extends pythons http.server/SimpleHTTPServer to serve\n directories as tarballs\n- the goal is to do this without creating the tarball in memory at one\n time\n- as much code as possible has been borrowed from python3's http.server\n\nTodo\n----\n\n- doublecheck for XSS, LFI, directory traversal vulnerabilities\n- add more supported archive files: zip, non compressed zip, gz/gz2, ..\n- test on bsd, mac and windows\n\nInstall\n-------\n\n::\n\n % pip install tarball_httpd\n\nUsage\n-----\n\n::\n\n % python -m tarball_httpd\n Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...\n\n % python -m tarball_httpd 12345 --bind 127.0.0.1 --directory /tmp\n Serving HTTP on 127.0.0.1 port 12345 (http://127.0.0.1:12345/) ..\n\n % python -m tarball_httpd -h \n usage: tarball_httpd.py [-h] [--bind ADDRESS] [--directory DIRECTORY] [port]\n\n positional arguments:\n port Specify alternate port [default: 8000]\n\n optional arguments:\n -h, --help show this help message and exit\n --bind ADDRESS, -b ADDRESS\n Specify alternate bind address [default: all interfaces]\n --directory DIRECTORY, -d DIRECTORY\n Specify alternative directory [default:current directory]\n\nUsage without installation\n--------------------------\n\n::\n\n % git clone git@github.com:zrthstr/tarball_httpd.git\n % cd tarball_httpd\n % ./tarball_httpd.py\n Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...\n\nTesting\n-------\n\n::\n\n % ./tests/test.sh\n\nLicense\n-------\nThis project is licensed under the PSF License - see the `LICENSE <./LICENSE>`_ file for details\n\n\nAuthors and Acknowledgments\n---------------------------\nLargs parts of its code are based on or copied from python3/lib/http/server\n\ntarball_httpd was written by zrth1k@gmail.com\n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/zrth1k/tarball_httpd", "keywords": "web http server tarball archive download filesharing stream", "license": "PSFL", "maintainer": "", "maintainer_email": "", "name": "tarball-httpd", "package_url": "https://pypi.org/project/tarball-httpd/", "platform": "", "project_url": "https://pypi.org/project/tarball-httpd/", "project_urls": { "Homepage": "https://github.com/zrth1k/tarball_httpd" }, "release_url": "https://pypi.org/project/tarball-httpd/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Simple http server, streaming directories as tarballs.", "version": "0.0.2" }, "last_serial": 5009959, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "afe9a31f6dfcad18716784c94fc30528", "sha256": "51e58409733fce5d5fb20a7f2a2fef65629d542cce25a8b2b5bd65be5f054c23" }, "downloads": -1, "filename": "tarball_httpd-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "afe9a31f6dfcad18716784c94fc30528", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10030, "upload_time": "2019-01-31T13:08:37", "url": "https://files.pythonhosted.org/packages/4d/02/ac1eedcd13c32427476cfb3b5eef984b9b146ff6613670b9ca545d286add/tarball_httpd-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3e5d84f636e5c85494e55eba9a945fa0", "sha256": "a3f347c788a234283ba1230951e3bad6bb532e78c481a2968dd8c295f579f097" }, "downloads": -1, "filename": "tarball_httpd-0.0.1.tar.gz", "has_sig": false, "md5_digest": "3e5d84f636e5c85494e55eba9a945fa0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4758, "upload_time": "2019-01-31T13:08:39", "url": "https://files.pythonhosted.org/packages/55/9d/52631285904ce405cc2604f3c09f125463badcb5d845fc78de68a5b13a44/tarball_httpd-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "be19400f18565187216462e4af60e5d8", "sha256": "67d8cc5b22f011e96919275bcc6974acc45bb572e5e33438d29231aa3e989958" }, "downloads": -1, "filename": "tarball_httpd-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "be19400f18565187216462e4af60e5d8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6567, "upload_time": "2019-03-31T17:27:03", "url": "https://files.pythonhosted.org/packages/c8/4e/5f0668c182e5e70cab3b2408e36c2947054943be3c75ef9b246789190881/tarball_httpd-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4e903964fa125fd97849757037850363", "sha256": "a30a91bb78c14bfa262fa0d675ba63eca149c2115456715a280952faf59885d0" }, "downloads": -1, "filename": "tarball_httpd-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4e903964fa125fd97849757037850363", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4738, "upload_time": "2019-03-31T17:27:04", "url": "https://files.pythonhosted.org/packages/ae/5b/866718edb736fefbc4928f79b634036c4d3542cb6a6a0e352a178ca425fd/tarball_httpd-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "be19400f18565187216462e4af60e5d8", "sha256": "67d8cc5b22f011e96919275bcc6974acc45bb572e5e33438d29231aa3e989958" }, "downloads": -1, "filename": "tarball_httpd-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "be19400f18565187216462e4af60e5d8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6567, "upload_time": "2019-03-31T17:27:03", "url": "https://files.pythonhosted.org/packages/c8/4e/5f0668c182e5e70cab3b2408e36c2947054943be3c75ef9b246789190881/tarball_httpd-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4e903964fa125fd97849757037850363", "sha256": "a30a91bb78c14bfa262fa0d675ba63eca149c2115456715a280952faf59885d0" }, "downloads": -1, "filename": "tarball_httpd-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4e903964fa125fd97849757037850363", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4738, "upload_time": "2019-03-31T17:27:04", "url": "https://files.pythonhosted.org/packages/ae/5b/866718edb736fefbc4928f79b634036c4d3542cb6a6a0e352a178ca425fd/tarball_httpd-0.0.2.tar.gz" } ] }