{ "info": { "author": "Julian Hammer", "author_email": "julian.hammer@fau.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: MacOS", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Internet", "Topic :: Scientific/Engineering", "Topic :: Software Development", "Topic :: Utilities" ], "description": "drop\n====\n\nUploads data to a remote www directory via scp and returns a public url.\n\nInstall\n-------\nEasiest way is to install via pip::\n\n pip install drop\n\nthere are currently no dependencies other than python 2.7 or python 3.4.\n\nTo install manually: copy drop/drop.py to any location of your preference\n\nConfigure\n---------\nA configuration file is required, it can be located at /etc/drop.cfg, ~/.drop.cfg or it's location passed via command line option --config-file.\n\nA sample config file would be::\n \n [DEFAULT]\n # reference to the default destination (section name):\n destination = hawo\n\n # You can set the following defaults:\n # Location of the scp command, can be relative or absolute path:\n scp = scp\n # default length (in characters) for hashfilenames (max. 28)\n hashlength = 28\n # default chmod to apply to uploaded files (already applied localy and uploaded with -p)\n # 436 this is 0o644\n chmod = 436\n\n # Destinations:\n [hawo]\n # remote server dns or alias from .ssh/config and may also include username (user@server):\n remoteserver = ente\n # remote directory can be relative (to home directory) or absolute:\n remotedir = public_html/d/\n # publishing url, this must represent the above directory:\n url = http://hawo.net/~sijuhamm/d/\n # all defaults can be overwritten for any destination. For example the hashlength:\n hashlength = 10\n\nThe DEFAULT section configures default values for all other sections and the default destination. All other sections are so called destination sections. They can be selected via the --destination command line parameter.\n\n\nUsage\n-----\nYou can pase a file by argument::\n\n $ drop defaults.cfg\n http://hawo.net/~sijuhamm/d/NcT0jFb5.cfg\n \nor any content via stdin::\n\n $ date | ./drop.py\n http://hawo.net/~sijuhamm/d/ephtK9DY\n\nThe filename at the remote location is actually a partial sha1 checksum of the file. The length of the checksum can be set in the configuration file. The extension is preserved when possible and can also be overwritten with the --extension parameter.\n\nThe full help message reads as follows::\n\n usage: drop [-h] [--destination DESTINATION] [--list-destinations]\n [--preserve-name] [--extension EXTENSION] [--config-file CONFIG_FILE]\n [--test] infile [infile ...]\n\n Uploads data to a remote www directory via scp and returns a public url.\n\n positional arguments:\n infile File to upload. If multiple are passed, they will be\n archived and compressed before uploading.\n\n optional arguments:\n -h, --help show this help message and exit\n --destination DESTINATION, -d DESTINATION\n Name of destination as found in configuration file.\n --list-destinations, -l\n List all destinations defined in configuration file.\n --preserve-name, -p Will preserve original filename at remote location, by\n adding an intermediate directory.\n --extension EXTENSION, -e EXTENSION\n Overwrites extension on uploaded file.\n --config-file CONFIG_FILE, -c CONFIG_FILE\n --test Runs a test on destination.\n\nTODOs\n-----\nUpcoming features:\n * (maybe) support for other upload destinations\n * support more compression/archiving formats\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cod3monk/drop", "keywords": "", "license": "AGPLv3", "maintainer": "", "maintainer_email": "", "name": "drop", "package_url": "https://pypi.org/project/drop/", "platform": "", "project_url": "https://pypi.org/project/drop/", "project_urls": { "Homepage": "https://github.com/cod3monk/drop" }, "release_url": "https://pypi.org/project/drop/0.4.0/", "requires_dist": null, "requires_python": "", "summary": "Uploads data to a remote www directory via scp and returns a public url.", "version": "0.4.0" }, "last_serial": 3798014, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "93df0350a78b822c68d6639f18ee639d", "sha256": "2d43e9e3724d2b84738974fc9c526da8c4db3051f80d4d1e86cdacc104df50ac" }, "downloads": -1, "filename": "drop-0.1.macosx-10.10-x86_64.tar.gz", "has_sig": false, "md5_digest": "93df0350a78b822c68d6639f18ee639d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6138, "upload_time": "2015-02-15T22:49:07", "url": "https://files.pythonhosted.org/packages/e4/3a/611ddde54fc82a0a99ff876cfe880591c01e18602e9c63c4da66f43cdd23/drop-0.1.macosx-10.10-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "eb4bb65f4bd26045b8da680a02d0f95e", "sha256": "f78189d6116f03028b59f6cd828ec694b3e45b6def9562055453bd52545909c3" }, "downloads": -1, "filename": "drop-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "eb4bb65f4bd26045b8da680a02d0f95e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6947, "upload_time": "2015-02-15T22:49:05", "url": "https://files.pythonhosted.org/packages/06/90/982803a728689d5b2a1bcce1efd2c9ced7a3c54ca067f9e3c98c782f8a27/drop-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7c86154e46c805bb39a29a36b1f336fb", "sha256": "b902f5ec2c57a0c1af93a6dd94bf3b3ccc4b48048b8254ea7dad390a7fe26469" }, "downloads": -1, "filename": "drop-0.1.tar.gz", "has_sig": false, "md5_digest": "7c86154e46c805bb39a29a36b1f336fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5315, "upload_time": "2015-02-15T22:49:11", "url": "https://files.pythonhosted.org/packages/37/23/21826c7f24942e0315376d2e3ec33a1972059186f977aeed644440c71c28/drop-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "5713dd7765dda95d5c505fccbf8d747e", "sha256": "08a0e28de5a405b21ffc66d9d202549fac9b39a16cf7b634fb8dafc98f185c2f" }, "downloads": -1, "filename": "drop-0.1.1.macosx-10.10-x86_64.tar.gz", "has_sig": false, "md5_digest": "5713dd7765dda95d5c505fccbf8d747e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6150, "upload_time": "2015-02-15T22:52:17", "url": "https://files.pythonhosted.org/packages/a8/59/31e1c575fc2b0eb41dc3a718b77a69ab33405ac488ac1603f5a322e9006e/drop-0.1.1.macosx-10.10-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "8f93ab6df1e0b174441a73dd76649b11", "sha256": "a0a33034b67948cb995e4c14f99dacb808920dc813d9cf65db957a747503a9ae" }, "downloads": -1, "filename": "drop-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8f93ab6df1e0b174441a73dd76649b11", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6978, "upload_time": "2015-02-15T22:52:14", "url": "https://files.pythonhosted.org/packages/7b/fe/6e41e3492dda4c6f0fced7a617cdbaf1de65df97a9911045dbb0571f5240/drop-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8ad9344a7ab1aa05603b529b6e4c4d2c", "sha256": "1c0b1782f467d7631bf679db1394bda44bd650f973460d56cc0d0b00f1a5eb38" }, "downloads": -1, "filename": "drop-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8ad9344a7ab1aa05603b529b6e4c4d2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5348, "upload_time": "2015-02-15T22:52:19", "url": "https://files.pythonhosted.org/packages/76/9a/4c87d125fdb84e08d3b5a1f62aa852f308f653578434b80e98a1f7dcfff8/drop-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "built for Darwin-14.1.0", "digests": { "md5": "d5b6061f62c628fdd40a9462d46f8eb1", "sha256": "b35ccee4ccf1527ba301f50a770a961f0210730d2b379219f10286f03dd32048" }, "downloads": -1, "filename": "drop-0.1.2.macosx-10.10-x86_64.tar.gz", "has_sig": false, "md5_digest": "d5b6061f62c628fdd40a9462d46f8eb1", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 6075, "upload_time": "2015-02-18T15:05:50", "url": "https://files.pythonhosted.org/packages/e3/1c/237ed22d4ca8d08cb148ea396401b858e83b936e597549452b0b64aae0b2/drop-0.1.2.macosx-10.10-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "44bda193468f3b39cf2ba1a57e591356", "sha256": "765f7e3c1b5574096bc5bc92fae7a43125a42b6fedaf7e50e9916ea67a6c053a" }, "downloads": -1, "filename": "drop-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "44bda193468f3b39cf2ba1a57e591356", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7007, "upload_time": "2015-02-18T15:05:55", "url": "https://files.pythonhosted.org/packages/38/d8/31203adb9f8ce37984d229c02f288418058b32a884f535fbea85cc888f05/drop-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c8954bc387da03fab9dfc141d7d8ab5d", "sha256": "6664033b8be9d2292f5814181c6e97f7363ef61162bfb3751c78b68bdc3a05f8" }, "downloads": -1, "filename": "drop-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c8954bc387da03fab9dfc141d7d8ab5d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5353, "upload_time": "2015-02-18T15:05:52", "url": "https://files.pythonhosted.org/packages/fd/45/07b9ff6ca5dc56f991ec555af1babd0acbade200cddadca5308df6943a9f/drop-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "built for Darwin-14.1.0", "digests": { "md5": "c787b00e01e5671863ec45e9f3082c62", "sha256": "0c723655f592d916addae96896c17911fb370c912acc3ef9b25533fb88913210" }, "downloads": -1, "filename": "drop-0.2.0.macosx-10.10-x86_64.tar.gz", "has_sig": false, "md5_digest": "c787b00e01e5671863ec45e9f3082c62", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 5913, "upload_time": "2015-02-19T13:38:07", "url": "https://files.pythonhosted.org/packages/6b/a3/9e089935b408788393fa5c8e5276ba09e1dd2fafe9e9a4c48948316d7b3d/drop-0.2.0.macosx-10.10-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "7294e585e321afc85facf453d27817e9", "sha256": "76d22600f870f069cd91f763076e7ddf89329cda595df1ff580e0ac1185b0510" }, "downloads": -1, "filename": "drop-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7294e585e321afc85facf453d27817e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5443, "upload_time": "2015-02-19T13:38:09", "url": "https://files.pythonhosted.org/packages/50/e5/fb3d2c7189c344e2d0b9009aa997c3b2028bdf6dab61f02642cc1fceeacb/drop-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "93b0063726df7e772e245ecd2347ec09", "sha256": "a1edb84729580f42002459d52e0002857ac45a518e2fc6684590b1b5e89de51d" }, "downloads": -1, "filename": "drop-0.3.0.tar.gz", "has_sig": false, "md5_digest": "93b0063726df7e772e245ecd2347ec09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6021, "upload_time": "2015-05-24T21:47:36", "url": "https://files.pythonhosted.org/packages/96/e4/b4a387097895a2db069fc403a2f04242250261df7e2ad555168e4d49821a/drop-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "a59bbf51623aa302be472c21bf6604d2", "sha256": "9d18e66eac8e4295e6af4e5ba7fcbfa382a5f1240e58ada6be17c1c7ab25550d" }, "downloads": -1, "filename": "drop-0.4.0.tar.gz", "has_sig": false, "md5_digest": "a59bbf51623aa302be472c21bf6604d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6505, "upload_time": "2018-04-23T11:15:18", "url": "https://files.pythonhosted.org/packages/a0/c8/bf66bea4f8816f9ce1f89fa3eee01de1687e5d509905ae6e97d1e9ea1467/drop-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a59bbf51623aa302be472c21bf6604d2", "sha256": "9d18e66eac8e4295e6af4e5ba7fcbfa382a5f1240e58ada6be17c1c7ab25550d" }, "downloads": -1, "filename": "drop-0.4.0.tar.gz", "has_sig": false, "md5_digest": "a59bbf51623aa302be472c21bf6604d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6505, "upload_time": "2018-04-23T11:15:18", "url": "https://files.pythonhosted.org/packages/a0/c8/bf66bea4f8816f9ce1f89fa3eee01de1687e5d509905ae6e97d1e9ea1467/drop-0.4.0.tar.gz" } ] }