{ "info": { "author": "Kay Zheng", "author_email": "l04m33@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.4" ], "description": "###############\nWhat's Filehub?\n###############\n\nWhat do you do if you want to quickly share a file in your local network? You\nmay want to:\n\n1. Set up a file server, such as an FTP server, or\n\n2. Install point-to-point file transfer software, such as IP Messenger,\n on all the machines you want to share files.\n\nThe first way needs you to wait for the shared file to be completely\nuploaded before you can start downloading, if the file was not on the file\nserver already. And it also needs vast caching space on the file server.\n\nThe second way needs you to install the software on all the machines. It's\ncumbersome indeed. And what if there's an incompatible platform that you\ncannot install the software on?\n\nFilehub solves all these problems. If you want to share a file quickly,\nFilehub is the choice.\n\nFilehub is actually an HTTP server that accepts file uploading via POST\nmethods. But it's different from a regular file server in that it relays the\nuploaded data **directly** to the downloader. This means that you don't need\nto wait for the upload to be completed before downloading.\n\n#####\nUsage\n#####\n\nInstall Filehub:\n\n.. code-block:: sh\n\n pip install filehub\n\nStart it on your local server:\n\n.. code-block:: sh\n\n filehub\n\nFilehub listens on :8000 by default. Now you can use any HTTP\nclient to access Filehub's interface. For example, uploading a file using\ncurl:\n\n.. code-block:: sh\n\n curl --form f=@FILENAME http://ip.addr.for.filehub:8000/hub\n\nOr you can also use Filehub's bundled HTML5 client at\nhttp://ip.addr.for.filehub:8000 . It has a nicer look, and supports\ndrag & drop operations.\n\nThe files being uploaded will be shown in the bottom part of the HTML5 page.\nSimply clicking the file name will start downloading.\n\n##########\nAdvantages\n##########\n\n1. HTTP protocol is quite popular. Most machines and smart devices already\n have a client installed, you don't need other stuff.\n\n2. Filehub does not cache any data at all, so it can be run on devices with\n limited resources, such as a Raspberry Pi or an NAS box, as long as you\n have Python installed on them.\n\n3. Filehub streams the shared files on-the-fly, so you don't need to wait for\n the files to be uploaded first. This makes it extremely suitable for\n one-shot sharing of large files.\n\n#######\nLicense\n#######\n\nFilehub is licensed under the terms of the MIT license. See LICENSE.txt.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/l04m33/filehub", "keywords": null, "license": "http://l04m33.mit-license.org/", "maintainer": null, "maintainer_email": null, "name": "filehub", "package_url": "https://pypi.org/project/filehub/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/filehub/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/l04m33/filehub" }, "release_url": "https://pypi.org/project/filehub/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "A relay server for sharing files via HTTP", "version": "0.1.4" }, "last_serial": 1689400, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "914329845aa58e25bf6f375b97e69021", "sha256": "a24c5255cf035fb0264996328365977fedb0c4d7dbe92d5d93d03f8f0f522008" }, "downloads": -1, "filename": "filehub-0.1.0.tar.gz", "has_sig": false, "md5_digest": "914329845aa58e25bf6f375b97e69021", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9997, "upload_time": "2015-05-07T14:54:39", "url": "https://files.pythonhosted.org/packages/b1/be/fe119ee34a91ea16dea3ef00a58bade21842f574a0f255eeafec78a3155e/filehub-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "dee04c4340f82bc42f0074a9bf8e72c8", "sha256": "5f8da3caf73f3ff70015c2cfb3868ffa082bf19c578bd9ebd693c9f625a14d6f" }, "downloads": -1, "filename": "filehub-0.1.1.tar.gz", "has_sig": false, "md5_digest": "dee04c4340f82bc42f0074a9bf8e72c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10052, "upload_time": "2015-05-08T02:35:08", "url": "https://files.pythonhosted.org/packages/d4/4c/e59947c7bc124835f6a620f228a2285f03c6e1a3c0bceab379012cbb019a/filehub-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "ed1b35e1a815c570aa0609378592b3e5", "sha256": "f63992d2977f2262dbac173fdf9546887e14ebdb92b6d400551300fafc2bbe5f" }, "downloads": -1, "filename": "filehub-0.1.2.tar.gz", "has_sig": false, "md5_digest": "ed1b35e1a815c570aa0609378592b3e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10225, "upload_time": "2015-08-01T03:12:02", "url": "https://files.pythonhosted.org/packages/ef/8f/6147fa4f387e158331f4796dd0ff1c5810132c3fb22be27a34027695114b/filehub-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "77324c20d5d511417c58d0ae4816e4d4", "sha256": "9462e2958abca3fcfd491adecf3ea09c8499d587a4e2a6eb53976113793ea620" }, "downloads": -1, "filename": "filehub-0.1.3.tar.gz", "has_sig": false, "md5_digest": "77324c20d5d511417c58d0ae4816e4d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10733, "upload_time": "2015-08-23T07:15:54", "url": "https://files.pythonhosted.org/packages/50/d3/86d09948066df369cec93bdd117339fca37a23cb4cc909d60f3c9c75e52a/filehub-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "34df042f1dda1f19640bcdb991e255c5", "sha256": "6151e054a7776cea60646d88b94133d159799946a84e2c1fb39f06fb18bb5a01" }, "downloads": -1, "filename": "filehub-0.1.4.tar.gz", "has_sig": false, "md5_digest": "34df042f1dda1f19640bcdb991e255c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10718, "upload_time": "2015-08-23T07:46:42", "url": "https://files.pythonhosted.org/packages/dd/da/62b6db9c442e65c1043d0fd77ddabb11cae73dca4f22d394743901649b52/filehub-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "34df042f1dda1f19640bcdb991e255c5", "sha256": "6151e054a7776cea60646d88b94133d159799946a84e2c1fb39f06fb18bb5a01" }, "downloads": -1, "filename": "filehub-0.1.4.tar.gz", "has_sig": false, "md5_digest": "34df042f1dda1f19640bcdb991e255c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10718, "upload_time": "2015-08-23T07:46:42", "url": "https://files.pythonhosted.org/packages/dd/da/62b6db9c442e65c1043d0fd77ddabb11cae73dca4f22d394743901649b52/filehub-0.1.4.tar.gz" } ] }