{ "info": { "author": "20tab S.r.l.", "author_email": "info@20tab.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Operating System :: OS Independent", "Programming Language :: JavaScript", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "uwsgiit_console\n===============\n\nA django app to simplify the use of uWSGI.it api with a few extras.\n\nReal-time notification system for alarms!\n\nYou can take a look at the metrics of your containers, domains or all of the metrics of your domains and containers with the same tag!\n\n![alt tag](https://github.com/20tab/uwsgiit_console/blob/master/demo/screens/screen.png)\n\nINSTALLATION\n============\n## Installation\n\nUse the following command:\n```sh\n pip install uwsgiit-console\n```\n\nYou should install this [uwsgi plugin](https://github.com/unbit/uwsgi-gif) too if you want to get colored gifs for real-time alarms.\n\n## Configuration\n\nOpen settings.py and add select2 and console to your INSTALLED_APPS:\n\n- settings.py\n\n```py\nINSTALLED_APPS = {\n ...,\n 'select2',\n 'console',\n ...\n}\n```\n\nAdd 'console.template_context.context_processors.console_context' to TEMPLATE_CONTEXT_PROCESSORS:\n\n```py\nTEMPLATE_CONTEXT_PROCESSORS = (\n ...,\n 'console.template_context.context_processors.console_context',\n ...\n)\n```\n\nIn the end you can set a few variables:\n\n```py\nCONSOLE_TITLE = 'Whatever You Want' #Default 'uWSGI.it Console'\nCONSOLE_SUBTITLE = 'Whatever You Want' #Default ''\nDEFAULT_API_URL = 'https://whatever.you.want/' #Default 'https://api.uwsgi.it/api/'\n```\n\n- urls.py\n\n```py\nurlpatterns = patterns('',\n ... ,\n (r'whatever/you/want', include('console.urls')),\n ...\n)\n\n```\n\n- Static files\n\nRun collectstatic command or map static directory.\n\n\n- Add an uwsgi.it api in the database\n\nIn order to make it work you have to add one UwsgiItApi instance in the database containing the url you put in DEFAULT_API_URL.\n\n- uwsgi-gif\n\nIf you installed uwsgi-gif you have to add those lines to your vassals:\n\n```ini\n[uwsgi]\nplugin = gif\nroute = ^/foo_(\\d+)_(\\d+)_(\\d+)\\.gif$ gif:width=80,height=80,red=$1,green=$2,blue=$3\n```\n\n\nTEST\n====\nTo launch test you should install tox (pip install tox) and you need to add a few variable into [console/tests/test_settings.py](https://github.com/20tab/uwsgiit_console/blob/master/console/tests/test_settings.py):\n\n```py\n TEST_USER = 'USER_EXAMPLE'\n TEST_PASSWORD = 'PASSWORD_EXAMPLE'\n TEST_CONTAINER = '12345'\n TEST_DOMAIN = '123'\n TEST_TAG = 'TAG_EXAMPLE'\n```\n\nNow you can launch the tests with::\n\n```sh\n ./run_tests\n```\n\nNow, since this project relies on third party API... you have to be patience, normally it takes around 1 minute.", "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/20tab/uwsgiit_console", "keywords": "uwsgit.it,console", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "uwsgiit-console", "package_url": "https://pypi.org/project/uwsgiit-console/", "platform": "OS Independent", "project_url": "https://pypi.org/project/uwsgiit-console/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/20tab/uwsgiit_console" }, "release_url": "https://pypi.org/project/uwsgiit-console/0.3.4/", "requires_dist": null, "requires_python": null, "summary": "A django app to simplify the use of uWSGI.it API", "version": "0.3.4" }, "last_serial": 1409342, "releases": { "0.2.2": [ { "comment_text": "", "digests": { "md5": "1ebf19457a3b48dede4dde77bfb28502", "sha256": "942eafa99a65da6a3465055e61877cbb4953998dd9925d05c43b047bf82a553a" }, "downloads": -1, "filename": "uwsgiit-console-0.2.2.tar.gz", "has_sig": false, "md5_digest": "1ebf19457a3b48dede4dde77bfb28502", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19209, "upload_time": "2014-09-22T18:24:08", "url": "https://files.pythonhosted.org/packages/9a/2e/7c17491275498e9f97ff5b755fc5ab0a2c8f8a35cd224fb7abfd6e0f7ea6/uwsgiit-console-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "128745bf25a3b6d24d1a67541cb29e24", "sha256": "2c82b04ce13d97a4d2b9e9709c72674fed2a4202baa3340e32118092462dc4f8" }, "downloads": -1, "filename": "uwsgiit-console-0.2.3.tar.gz", "has_sig": false, "md5_digest": "128745bf25a3b6d24d1a67541cb29e24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 333152, "upload_time": "2014-09-24T09:14:59", "url": "https://files.pythonhosted.org/packages/41/5c/4f23a7d916c47fe5e509551e842136c0c8bc01f9b3792a2140c6261b7a2c/uwsgiit-console-0.2.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "78edb4a461f98bc1d1e78a88e8ffadd5", "sha256": "f642bd33e9ca6a5bd6f0bdd55e8733b38e1e595d49a85b98b5446a2e8a98eabc" }, "downloads": -1, "filename": "uwsgiit-console-0.3.1.tar.gz", "has_sig": false, "md5_digest": "78edb4a461f98bc1d1e78a88e8ffadd5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 339645, "upload_time": "2014-11-05T12:41:47", "url": "https://files.pythonhosted.org/packages/92/12/2012e653ff730a779b6c20025dddd2e2867fe86ec7adb7bf0c5dcb84f407/uwsgiit-console-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "d9f950a8dd8e4086ee789d5fbe2a3ddc", "sha256": "11c1cfa62702f2fee64a1d7ac1df00a8a47fd94b845ac59de939e85cfcad666a" }, "downloads": -1, "filename": "uwsgiit-console-0.3.2.tar.gz", "has_sig": false, "md5_digest": "d9f950a8dd8e4086ee789d5fbe2a3ddc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 340848, "upload_time": "2014-12-23T09:33:35", "url": "https://files.pythonhosted.org/packages/f4/2f/5b22a1e7c011518d1508a5847828406981278903bbaeee1de2e3aa2090d4/uwsgiit-console-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "616c4b2981567da88e52f5ae11e91268", "sha256": "5bde35f3ec2f0c75a80a97dec44f65e3c110925878396d80651c477537406ec8" }, "downloads": -1, "filename": "uwsgiit-console-0.3.3.tar.gz", "has_sig": false, "md5_digest": "616c4b2981567da88e52f5ae11e91268", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 340882, "upload_time": "2015-01-26T14:27:36", "url": "https://files.pythonhosted.org/packages/b9/89/7fd07dc10379e50ce619e2d67d9a6ba8773f2dfa13b1f3a6ba635d3dea46/uwsgiit-console-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "0657937636363a1740dcda26971ccf0a", "sha256": "31c6417d6e0c52c7fdfc05c72b936944bac0887cd8443bcebb363c11e1dfcae6" }, "downloads": -1, "filename": "uwsgiit-console-0.3.4.tar.gz", "has_sig": false, "md5_digest": "0657937636363a1740dcda26971ccf0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 340777, "upload_time": "2015-02-04T12:24:44", "url": "https://files.pythonhosted.org/packages/fd/c7/3be5c76b195ac3572f031462b3f42cf52b7bfb1dcf18c8c8db050e3e6c5b/uwsgiit-console-0.3.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0657937636363a1740dcda26971ccf0a", "sha256": "31c6417d6e0c52c7fdfc05c72b936944bac0887cd8443bcebb363c11e1dfcae6" }, "downloads": -1, "filename": "uwsgiit-console-0.3.4.tar.gz", "has_sig": false, "md5_digest": "0657937636363a1740dcda26971ccf0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 340777, "upload_time": "2015-02-04T12:24:44", "url": "https://files.pythonhosted.org/packages/fd/c7/3be5c76b195ac3572f031462b3f42cf52b7bfb1dcf18c8c8db050e3e6c5b/uwsgiit-console-0.3.4.tar.gz" } ] }