{ "info": { "author": "R\u00e9my HUBSCHER", "author_email": "remy.hubscher@novapost.fr", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: BSD License", "Programming Language :: Python" ], "description": "================\nInsight-Reloaded\n================\n\nIntroduction\n============\n\nWe are working to find the best solution for our previewer media server.\n\nThe case is simple, we have PDF and we want to preview them (small,\nmedium, large, header).\n\nWe first started with Insight_ which allows people to ask for sync\nand async previews generations from an url with caching.\n\nThe system is able to register engines so that we can manipulate\ndocuments on the flow.\n\nThe idea of Insight-Reloaded is to remove the sync mode and delegate\nit to Nginx with disk or S3 storage.\n\nIf the document preview is not ready, we want a 404 error.\n\nWe will get the document preview url with a callback.\n\nThe API\n=======\n\nSimple example\n++++++++++++++\n\n::\n\n curl -X GET \"http://localhost:8888/?url=http://my_file_url.com/file.pdf&callback=http://requestb.in/12vsewg\"\n {\"insight_reloaded\": \"Job added to queue.\", \"number_in_queue\": 14}\n\n curl -X GET http://localhost:8888/status\n {\"insight_reloaded\": \"There is 14 job in the queue.\", \"number_in_queue\": 14}\n\n curl -X GET http://localhost:8888/\n {\"version\": \"1.5\", \"insight_reloaded\": \"Bonjour\", \"name\": \"insight-reloaded\"}\n\nMulti-queues example\n++++++++++++++++++++\n\nYou must to configure ``REDIS_QUEUE_KEYS`` in your ``settings.py``.\n\n::\n\n REDIS_QUEUE_KEYS = ['urgent', 'normal']\n DEFAULT_REDIS_QUEUE_KEY = 'normal'\n\nThen you can use::\n\n curl -X GET \"http://localhost:8888/urgent?url=http://my_file_url.com/file.pdf&callback=http://requestb.in/12vsewg\"\n {\"insight_reloaded\": \"Job added to queue 'normal'.\", \"number_in_queue\": 14}\n\n curl -X GET http://localhost:8888/urgent/status\n {\"insight_reloaded\": \"There is 14 job in the 'urgent' queue.\", \"number_in_queue\": 14}\n\n curl -X GET http://localhost:8888/\n {\"version\": \"1.5\", \"insight_reloaded\": \"Bonjour\", \"name\": \"insight-reloaded\"}\n\nSet hash\n++++++++\n\nBy default, insight compute preview hash using url (sha1(url)). You can also send it within the request if you want, be sure that each preview has an uniq hash:\n\n::\n\n curl -X GET \"http://localhost:8888/?url=http://my_file_url.com/file.pdf&callback=http://requestb.in/12vsewg?hash=123456789\"\n {\"insight_reloaded\": \"Job added to queue.\", \"number_in_queue\": 14}\n\n\nService architecture\n====================\n\n.. image:: https://raw.github.com/novapost/insight-reloaded/master/docs/_static/InsightReloaded.png\n.. _Insight: https://github.com/novapost/insight\n\nServer provisioning\n===================\n\nYou can find insight-reloaded chef cookbooks here : https://github.com/novapost/insight-installer\n\nThis will helps you install all requirements to run your insight-reloaded server.\n\n\nRun the tests\n=============\n\n::\n\n make test", "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/novapost/insight-reloaded", "keywords": "", "license": "BSD Licence", "maintainer": null, "maintainer_email": null, "name": "insight_reloaded", "package_url": "https://pypi.org/project/insight_reloaded/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/insight_reloaded/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/novapost/insight-reloaded" }, "release_url": "https://pypi.org/project/insight_reloaded/1.6.6/", "requires_dist": null, "requires_python": null, "summary": "A full async docsplit previewer server based on Tornado and Redis", "version": "1.6.6" }, "last_serial": 1158112, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "ad4cd02807b164b820e2cc275b36a0e7", "sha256": "45bc740490104ae5590daf1bc20976476b36cc43a1d6b33696cd2d8a4cfdc181" }, "downloads": -1, "filename": "insight_reloaded-1.0.tar.gz", "has_sig": false, "md5_digest": "ad4cd02807b164b820e2cc275b36a0e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12485, "upload_time": "2013-06-11T12:15:04", "url": "https://files.pythonhosted.org/packages/d6/ae/e8fbf444c5026fed7515b266690178db3e0396e7072a51caec43adfc10ed/insight_reloaded-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "88a90c568ab8d92c2ebd9f7409b16eca", "sha256": "5084b0dd0f7950a5e74191c9ce02deb331cda29dae4890e677e200aa84ccd826" }, "downloads": -1, "filename": "insight_reloaded-1.1.tar.gz", "has_sig": false, "md5_digest": "88a90c568ab8d92c2ebd9f7409b16eca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12513, "upload_time": "2013-06-17T13:26:17", "url": "https://files.pythonhosted.org/packages/9e/e4/e3e0599c08935981a4ed978e3ada1baa47bcddb54644ce9fb7c3ea39e744/insight_reloaded-1.1.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "8278f1c38cebefae21728cac563139ab", "sha256": "ee48b112b99038f28e2f29585586e1af3697ca5162bd421c856646279950c452" }, "downloads": -1, "filename": "insight_reloaded-1.3.tar.gz", "has_sig": false, "md5_digest": "8278f1c38cebefae21728cac563139ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12930, "upload_time": "2013-10-07T16:05:27", "url": "https://files.pythonhosted.org/packages/2a/f2/db216e2581b7b36e3a66af7f4289fb7f20a04c8b9664cabca061cbdc53e9/insight_reloaded-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "23dc5b718c233b1cacd3331760e2e841", "sha256": "add86fe074446d4d8bd2f4611c7bc1ea8649510f1c55838c5780b4c5d9f015d6" }, "downloads": -1, "filename": "insight_reloaded-1.4.tar.gz", "has_sig": false, "md5_digest": "23dc5b718c233b1cacd3331760e2e841", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12969, "upload_time": "2013-10-15T12:09:49", "url": "https://files.pythonhosted.org/packages/f1/7a/0dc90c9649e576d974a70778b47534a9ab0920ffa2274a30838ac60618eb/insight_reloaded-1.4.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "e38034b1ba90f9ff6d73b0cec885323d", "sha256": "35dedd700504a52e0cde41584b8532f61e4520d3d6177cfb99ed4b9cd233482a" }, "downloads": -1, "filename": "insight_reloaded-1.5.zip", "has_sig": false, "md5_digest": "e38034b1ba90f9ff6d73b0cec885323d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20899, "upload_time": "2013-10-15T12:16:22", "url": "https://files.pythonhosted.org/packages/6a/82/ad13d3d2c93b0781a0977229a0d3f06c390bf9e96316c73a3e6376aac100/insight_reloaded-1.5.zip" } ], "1.6": [ { "comment_text": "", "digests": { "md5": "c1bad43089a261d4ea67c6310644d15c", "sha256": "c2cf25df421343986e2d90963b96c5354e07128da116e0b5282b123ec2404712" }, "downloads": -1, "filename": "insight_reloaded-1.6.zip", "has_sig": false, "md5_digest": "c1bad43089a261d4ea67c6310644d15c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21282, "upload_time": "2013-10-18T09:50:31", "url": "https://files.pythonhosted.org/packages/59/a2/2ff93e2176055d3921c341b8f78dea7d2f9eb5d4e896b44761ef6612ebf0/insight_reloaded-1.6.zip" } ], "1.6.1": [ { "comment_text": "", "digests": { "md5": "3a2bcea4b3b15fe2c46b16a866c6c298", "sha256": "ca9e24e626ba191acbc57775f474cb695048945d673a1bee609b8b529d08e5e7" }, "downloads": -1, "filename": "insight_reloaded-1.6.1.zip", "has_sig": false, "md5_digest": "3a2bcea4b3b15fe2c46b16a866c6c298", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38368, "upload_time": "2013-10-22T15:31:25", "url": "https://files.pythonhosted.org/packages/35/95/9722614effdca8473ace8297038f1f94ab76b80f49cb513e8258d5970f73/insight_reloaded-1.6.1.zip" } ], "1.6.2": [ { "comment_text": "", "digests": { "md5": "c8a7ec1a9946794916efe70dd57c7b20", "sha256": "a5bc991a1a5d8733ff9e9d203fc9966dbc0f0ba654dd41f649fc0df5a4bd1e44" }, "downloads": -1, "filename": "insight_reloaded-1.6.2.zip", "has_sig": false, "md5_digest": "c8a7ec1a9946794916efe70dd57c7b20", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39507, "upload_time": "2013-10-22T16:26:18", "url": "https://files.pythonhosted.org/packages/b5/c4/d95ebdf9e685db0266a73437ed7196dfd988b07f535a5ff190cde81c9e7f/insight_reloaded-1.6.2.zip" } ], "1.6.3": [ { "comment_text": "", "digests": { "md5": "a479e493288d3b4fb4499552c1744f9a", "sha256": "8194cbe649b1edc8e460645fc9c8313327f08824eb34da9a66f4cc1f26ebd499" }, "downloads": -1, "filename": "insight_reloaded-1.6.3.zip", "has_sig": false, "md5_digest": "a479e493288d3b4fb4499552c1744f9a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39475, "upload_time": "2013-10-23T17:17:48", "url": "https://files.pythonhosted.org/packages/73/7b/053f1e40cb990b72346a73d944ce3a1ee310c35359757ab2e3c96e466227/insight_reloaded-1.6.3.zip" } ], "1.6.4": [ { "comment_text": "", "digests": { "md5": "3a3d9762e859c707a8b40fd7cace2f24", "sha256": "d78dc393a47815b46378c655aaae1fc1eea006e99e74b945e380aca124f11417" }, "downloads": -1, "filename": "insight_reloaded-1.6.4.tar.gz", "has_sig": false, "md5_digest": "3a3d9762e859c707a8b40fd7cace2f24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31886, "upload_time": "2013-12-05T10:22:43", "url": "https://files.pythonhosted.org/packages/1c/c2/a1731fe450383e839e3833095a372d87f2923f101b7fff2f2cc33faaf7f4/insight_reloaded-1.6.4.tar.gz" } ], "1.6.5": [ { "comment_text": "", "digests": { "md5": "a45d555db6e538e9aaf9a5e2b2fab0cf", "sha256": "403a6dad8f32925d87270b1b0b4196d681418847a51700c537bc1e423b4862ab" }, "downloads": -1, "filename": "insight_reloaded-1.6.5.zip", "has_sig": false, "md5_digest": "a45d555db6e538e9aaf9a5e2b2fab0cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39598, "upload_time": "2013-12-05T17:26:07", "url": "https://files.pythonhosted.org/packages/f0/da/74439846d2300d78ad3dcdd74b8e8f535bd460ae230e3bcfbd6a14624ace/insight_reloaded-1.6.5.zip" } ], "1.6.6": [ { "comment_text": "", "digests": { "md5": "caf8912f2096e404c7ceb637d57f5c93", "sha256": "66635a8e88cdc87acb0452caf2045ad8372143994cf6c101df511f9109f36e3c" }, "downloads": -1, "filename": "insight_reloaded-1.6.6.zip", "has_sig": false, "md5_digest": "caf8912f2096e404c7ceb637d57f5c93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39884, "upload_time": "2014-07-15T09:04:46", "url": "https://files.pythonhosted.org/packages/ea/3a/765377b82e298ff41995bacc6e8275c4a04a474a81482829d5d533a72902/insight_reloaded-1.6.6.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "caf8912f2096e404c7ceb637d57f5c93", "sha256": "66635a8e88cdc87acb0452caf2045ad8372143994cf6c101df511f9109f36e3c" }, "downloads": -1, "filename": "insight_reloaded-1.6.6.zip", "has_sig": false, "md5_digest": "caf8912f2096e404c7ceb637d57f5c93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39884, "upload_time": "2014-07-15T09:04:46", "url": "https://files.pythonhosted.org/packages/ea/3a/765377b82e298ff41995bacc6e8275c4a04a474a81482829d5d533a72902/insight_reloaded-1.6.6.zip" } ] }