{ "info": { "author": "Andriy Kushnir (Orhideous)", "author_email": "orhideous@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: No Input/Output (Daemon)", "Framework :: Flask", "Intended Audience :: Developers", "License :: OSI Approved", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: WWW/HTTP :: WSGI", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", "Topic :: Utilities" ], "description": "=====================\nSimple image uploader\n=====================\n\nAbout\n=====\n\nMicroservice for uploading all insecure images to Imgur by url.\n\nUse Redis as cache backend and metadata storage.\n\nInstallation\n============\n\nInstall uwsgi and python3 plugin::\n\n sudo apt-get install uwsgi uwsgi-plugin-python3\n\nMake virtualenv::\n\n cd /opt\n pyvenv-3.4 img_service\n source img_service/bin/activate\n\nInstall from PyPI::\n\n pip install imgtohttps\n\nCreate config file for app::\n\n [uwsgi]\n plugins = python34\n master = true\n enable-threads = true\n processes = 4\n module = imgtohttps.application:app\n virtualenv = /opt/img_service\n chdir = /opt/img_service\n touch-reload = /opt/img_service/reload\n env=APP_SETTINGS=settings.Production\n\nConnect to nginx::\n\n server {\n listen\t\t127.0.0.1:2100;\n access_log off;\n location / {\n uwsgi_pass\tunix:/run/uwsgi/app/img_service/socket;\n include\t\tuwsgi_params;\n }\n }\n\nUsage\n=====\n\nRequest::\n\n curl -X POST -H \"Content-Type: application/json\" -d '{\"url\": \"http://example.com/image.png\"}' http://localhost:2100\n\nResponse::\n\n {\"url\": \"https://i.imgur.com/AxQwu0h.png\"}\n\nError::\n\n {\"error\": \"Some error message\"}", "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/Orhideous/imgtohttps", "keywords": "Imgur", "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "imgtohttps", "package_url": "https://pypi.org/project/imgtohttps/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/imgtohttps/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Orhideous/imgtohttps" }, "release_url": "https://pypi.org/project/imgtohttps/0.5.2/", "requires_dist": null, "requires_python": null, "summary": "Simple image uploader", "version": "0.5.2" }, "last_serial": 1578813, "releases": { "0.3": [ { "comment_text": "", "digests": { "md5": "39b4f5fa29ae21f9c1e012f538677ea4", "sha256": "eb5dfc14c493907486a99fc3288d6899f9326726166ed332ff9b515f34c96086" }, "downloads": -1, "filename": "imgtohttps-0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "39b4f5fa29ae21f9c1e012f538677ea4", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 6340, "upload_time": "2015-05-18T21:57:10", "url": "https://files.pythonhosted.org/packages/58/40/13771caace4502369b6ec1592bad4c56eb6ca952d7507ec038b4f9f10e9c/imgtohttps-0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b637c11c9518710d1a44d47bb8473f60", "sha256": "5abdbdd7ba1ba26020d94be98a19bdb4f5b455ef61c84ae8ad731e26b3c72387" }, "downloads": -1, "filename": "imgtohttps-0.3.tar.gz", "has_sig": false, "md5_digest": "b637c11c9518710d1a44d47bb8473f60", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16423, "upload_time": "2015-05-18T21:57:05", "url": "https://files.pythonhosted.org/packages/55/8e/52760c11aad6e754c80786dfb87b1b10eb2f43675c91bdf903a1f452b80f/imgtohttps-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "65878fa5ef57dd870133acefbbdeeac0", "sha256": "3d5787a6bbed7fbf94c59ec66cb1d0b53e3506bbbdaf2c143215344a2c3c5dad" }, "downloads": -1, "filename": "imgtohttps-0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "65878fa5ef57dd870133acefbbdeeac0", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 6859, "upload_time": "2015-06-03T23:23:01", "url": "https://files.pythonhosted.org/packages/db/b0/409ddd9efd195c568abb08b1ba6c501aebc9cc288b361fe0d69a97a1b968/imgtohttps-0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "554aeeac819dac076a57ed5bac2b1c56", "sha256": "f1f7e9348f0b4f76fc372149e5fd19987adc443d19cfbb00ce6d522e05d364c0" }, "downloads": -1, "filename": "imgtohttps-0.4.tar.gz", "has_sig": false, "md5_digest": "554aeeac819dac076a57ed5bac2b1c56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16761, "upload_time": "2015-06-03T23:22:56", "url": "https://files.pythonhosted.org/packages/ac/84/9a40530210ea8074c3d246f3b70d8b3697f48e4d94b8d165269fd5c187b4/imgtohttps-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "1cd4c99f5d41daf7b6c7ba1093f17400", "sha256": "d2528c441f48935e759274cf308937889543f13d0f7e4632876f0c87aefaa8b8" }, "downloads": -1, "filename": "imgtohttps-0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1cd4c99f5d41daf7b6c7ba1093f17400", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 6968, "upload_time": "2015-06-04T20:17:54", "url": "https://files.pythonhosted.org/packages/47/42/0f6a48c1e89fa80597832a08bc0dbab7f301d2efd7d77972232ed12e94bb/imgtohttps-0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6e9e5ef5f658d66567fd96f6fcbd478a", "sha256": "ae017a59f81d8d3e6ddc314aa431c725bf7a7ca6341024ac744055e0e0ee19c6" }, "downloads": -1, "filename": "imgtohttps-0.5.tar.gz", "has_sig": false, "md5_digest": "6e9e5ef5f658d66567fd96f6fcbd478a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16843, "upload_time": "2015-06-04T20:17:50", "url": "https://files.pythonhosted.org/packages/1b/ab/467f63b7cd5d24f5e456d47a0d53d933f8cbb5c709451e5f01811054a0e7/imgtohttps-0.5.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "1bb2dbc9ecd5da06b772a85e32ab9bb4", "sha256": "2eeb0613fe3f53f0d0eff1f3b89f9a8e45df59e32c8549a78ab3f178bdb30d2c" }, "downloads": -1, "filename": "imgtohttps-0.5.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1bb2dbc9ecd5da06b772a85e32ab9bb4", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 7004, "upload_time": "2015-06-04T20:29:28", "url": "https://files.pythonhosted.org/packages/95/49/02c705922ae27d87a7eddf1b2199ea162f95b618640eb88a0df116f888db/imgtohttps-0.5.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0bdc7dc799a783dbdc370f0b44a988bb", "sha256": "4d2b9a19d55e3a0891db01c087dc3330d4292871ba659c8e5b0b470e1db6dfbd" }, "downloads": -1, "filename": "imgtohttps-0.5.1.tar.gz", "has_sig": false, "md5_digest": "0bdc7dc799a783dbdc370f0b44a988bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16856, "upload_time": "2015-06-04T20:29:24", "url": "https://files.pythonhosted.org/packages/a5/b3/02a6cba8ef104acf20f3617bca3a9f690181875936f3609553a4752db364/imgtohttps-0.5.1.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "942cec0b101a5081a342943fca555ef9", "sha256": "f43008a90b155407392ed5a3cdb85f5fdb92aee51997c8debc1b6081cff17a90" }, "downloads": -1, "filename": "imgtohttps-0.5.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "942cec0b101a5081a342943fca555ef9", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 7103, "upload_time": "2015-06-04T20:58:17", "url": "https://files.pythonhosted.org/packages/c3/cc/4c57b51ed3bfe5f848701bb9158ca181efd5223d4204342416a92e609e99/imgtohttps-0.5.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "16afe3c45b2315ec020c99a1349063c6", "sha256": "fd0c2eb35d1cdd26494d0e022338d67261fd6eab076413b5ac599ce3bfb1a971" }, "downloads": -1, "filename": "imgtohttps-0.5.2.tar.gz", "has_sig": false, "md5_digest": "16afe3c45b2315ec020c99a1349063c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16932, "upload_time": "2015-06-04T20:58:12", "url": "https://files.pythonhosted.org/packages/f5/7d/3f8109a235b29d7c0e2d5b20ffec50efcafce72bd8e8360ac0b366561957/imgtohttps-0.5.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "942cec0b101a5081a342943fca555ef9", "sha256": "f43008a90b155407392ed5a3cdb85f5fdb92aee51997c8debc1b6081cff17a90" }, "downloads": -1, "filename": "imgtohttps-0.5.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "942cec0b101a5081a342943fca555ef9", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 7103, "upload_time": "2015-06-04T20:58:17", "url": "https://files.pythonhosted.org/packages/c3/cc/4c57b51ed3bfe5f848701bb9158ca181efd5223d4204342416a92e609e99/imgtohttps-0.5.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "16afe3c45b2315ec020c99a1349063c6", "sha256": "fd0c2eb35d1cdd26494d0e022338d67261fd6eab076413b5ac599ce3bfb1a971" }, "downloads": -1, "filename": "imgtohttps-0.5.2.tar.gz", "has_sig": false, "md5_digest": "16afe3c45b2315ec020c99a1349063c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16932, "upload_time": "2015-06-04T20:58:12", "url": "https://files.pythonhosted.org/packages/f5/7d/3f8109a235b29d7c0e2d5b20ffec50efcafce72bd8e8360ac0b366561957/imgtohttps-0.5.2.tar.gz" } ] }