{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3" ], "description": "[Iris](http://iris.claims) [![Build Status](https://circleci.com/gh/linkedin/iris.svg?style=shield)](https://circleci.com/gh/linkedin/iris) [![License](https://img.shields.io/badge/License-BSD%202--Clause-orange.svg)](https://opensource.org/licenses/BSD-2-Clause) [![Gitter chat](https://badges.gitter.im/irisoncall/Lobby.png)](https://gitter.im/irisoncall/Lobby)\n========\n\nIris core, API, UI and sender service. For third-party integration support, see [iris-relay](https://github.com/linkedin/iris-relay), a stateless proxy designed to sit at the edge of a production network and allow external traffic to pass through.\n\n

\n\n\nSetup database\n--------------\n\n1. remove `ONLY_FULL_GROUP_BY` from MySQL config `sql_mode`\n1. create mysql schema: `mysql -u USER -p < ./db/schema_0.sql`\n1. import dummy data: `mysql -u USER -p -o iris < ./db/dummy_data.sql`\n\n`dummy_data.sql` contains the following entities:\n * user `demo` with password `demo`\n * team `demo_team`\n * application `Autoalerts` with key: `a7a9d7657ac8837cd7dfed0b93f4b8b864007724d7fa21422c24f4ff0adb2e49`\n\n\nSetup dev environment\n---------------------\n\n1. create & source your virtualenv\n1. install build dependencies: `libssl-dev libxml2-dev libxslt1-dev libsasl2-dev python-dev libldap2-dev`\n1. run `pip install -e '.[dev,kazoo]'`\n1. edit ./configs/config.dev.yaml to setup database credential and other settings\n\nTo install iris with extra features, you can pass in feature flag with pip:\n\n```bash\npip install -e '.[prometheus]'\n```\n\nFor list of extra features, please see `extras_require` setting in `setup.py`.\n\n\nRun everything\n--------------\n\n```bash\nforego start\n```\n\n\nRun web server\n--------------\n\n```bash\nmake serve\n```\n\n\nRun sender\n---------\n\n```bash\niris-sender configs/config.dev.yaml\n```\n\nTests\n-----\n\nRun tests:\n\n```bash\nmake test # all tests, e2e + unit\nmake e2e # e2e tests\nmake unit # unit tests\n```\n\nGenerate test coverage reports:\n\n```bash\nmake e2e-cov\nmake unit-cov\n```\n\n\nAdding new plugins\n------------------\n\n1. create the plugin file under `src/iris/plugins` dir\n1. edit `src/iris/plugins/__init__.py` to add plugin module to `__all__` list\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/linkedin/iris", "keywords": "", "license": "bsd-2-clause", "maintainer": "", "maintainer_email": "", "name": "irisapi", "package_url": "https://pypi.org/project/irisapi/", "platform": "", "project_url": "https://pypi.org/project/irisapi/", "project_urls": { "Homepage": "https://github.com/linkedin/iris" }, "release_url": "https://pypi.org/project/irisapi/0.0.5/", "requires_dist": [ "streql (==3.0.2)", "dnspython (==1.16.0)", "phonenumbers (==7.4.1)", "twilio (==6.25.0)", "google-api-python-client (==1.4.2)", "oauth2client (==1.4.12)", "slackclient (==0.16)", "PyYAML (==3.13)", "gevent (==1.4.0)", "falcon (==1.4.1)", "falcon-cors (==1.1.2)", "ujson (==1.35)", "requests (==2.20.0)", "PyMySQL (==0.9.3)", "SQLAlchemy (==1.3.0)", "Jinja2 (==2.10.1)", "Markdown (==2.4.1)", "click (==6.6)", "msgpack-python (==0.4.5)", "cssmin (==0.2.0)", "beaker (==1.10.0)", "cryptography (==2.3)", "webassets (==0.12.1)", "python-ldap (==3.1.0)", "exchangelib (==1.10.0)", "setproctitle (==1.1.8)", "pyfcm (==1.4.3)", "oncallclient (==1.0.0)", "idna (==2.7)", "pyqrcode (==1.2.1)", "gunicorn ; extra == 'dev'", "Sphinx (==1.5.6) ; extra == 'dev'", "sphinxcontrib-httpdomain ; extra == 'dev'", "sphinx-rtd-theme ; extra == 'dev'", "mock (==2.0.0) ; extra == 'dev'", "pytest (==4.1.0) ; extra == 'dev'", "pytest-mock (==1.5.0) ; extra == 'dev'", "pytest-cov ; extra == 'dev'", "flake8 (==3.5.0) ; extra == 'dev'", "tox ; extra == 'dev'", "requests-mock (==1.1.0) ; extra == 'dev'", "influxdb ; extra == 'influxdb'", "kazoo (==2.6.1) ; extra == 'kazoo'", "prometheus-client ; extra == 'prometheus'" ], "requires_python": "", "summary": "Iris core, API, UI and sender service", "version": "0.0.5" }, "last_serial": 5547273, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "32210d361e4ccdf682429dd7721f9d86", "sha256": "e86ea1831e9de4767626122fa02d26803c72d56281e2b175754d3b5d1036b6b3" }, "downloads": -1, "filename": "irisapi-0.0.3.tar.gz", "has_sig": false, "md5_digest": "32210d361e4ccdf682429dd7721f9d86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 900412, "upload_time": "2019-07-16T20:04:54", "url": "https://files.pythonhosted.org/packages/bc/2c/09bb1e27ecb5ac1dcd8f18e355276d008de1ce166b40728bad66b7dda180/irisapi-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "09f785b438773a9b6c65ab52ca9aed39", "sha256": "4aa677c1a39c6d257dea62e2d4ad858364051cb92f6d913d485473a77f7013ad" }, "downloads": -1, "filename": "irisapi-0.0.4-py2-none-any.whl", "has_sig": false, "md5_digest": "09f785b438773a9b6c65ab52ca9aed39", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 937383, "upload_time": "2019-07-16T23:03:29", "url": "https://files.pythonhosted.org/packages/08/66/d2e2d615237993cbbc4cc12f683532c390f051b1888816a1ef7879681e19/irisapi-0.0.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ca39e23f4dc9a647c04e492ecafb3993", "sha256": "6c1647300c40301130d2ceec4f61a59a427198e484983d6b5ec3c5ae72938b92" }, "downloads": -1, "filename": "irisapi-0.0.4.tar.gz", "has_sig": false, "md5_digest": "ca39e23f4dc9a647c04e492ecafb3993", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 900483, "upload_time": "2019-07-16T23:03:31", "url": "https://files.pythonhosted.org/packages/7b/d8/cf9ceb80af5e17400dd926d2c62f6c73481df70140b7b82aa4b3d42dd82e/irisapi-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "e9df95d6d34d5b625f045b5dc9254e9c", "sha256": "81e598d5dcce6ed587033f4d08de09ff400313b91f6852d12e380fce5a07b367" }, "downloads": -1, "filename": "irisapi-0.0.5-py2-none-any.whl", "has_sig": false, "md5_digest": "e9df95d6d34d5b625f045b5dc9254e9c", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 937385, "upload_time": "2019-07-17T18:56:34", "url": "https://files.pythonhosted.org/packages/cd/2b/1378a8c1b9af0334874fa920a4bb4440995e058fe1bc507d2b5b9d535e95/irisapi-0.0.5-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c2c0a00b848c898b97b6eb1a8dc0fbb9", "sha256": "8b601114a7fb9b710fc1cb82c7e1546a32232a1b39167bd76e0c39922bb7d73f" }, "downloads": -1, "filename": "irisapi-0.0.5.tar.gz", "has_sig": false, "md5_digest": "c2c0a00b848c898b97b6eb1a8dc0fbb9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 900497, "upload_time": "2019-07-17T18:56:36", "url": "https://files.pythonhosted.org/packages/f0/1b/fc6308c8c9476b07510778e0a6b3baade06785c422da13b28b1a103e1fdc/irisapi-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e9df95d6d34d5b625f045b5dc9254e9c", "sha256": "81e598d5dcce6ed587033f4d08de09ff400313b91f6852d12e380fce5a07b367" }, "downloads": -1, "filename": "irisapi-0.0.5-py2-none-any.whl", "has_sig": false, "md5_digest": "e9df95d6d34d5b625f045b5dc9254e9c", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 937385, "upload_time": "2019-07-17T18:56:34", "url": "https://files.pythonhosted.org/packages/cd/2b/1378a8c1b9af0334874fa920a4bb4440995e058fe1bc507d2b5b9d535e95/irisapi-0.0.5-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c2c0a00b848c898b97b6eb1a8dc0fbb9", "sha256": "8b601114a7fb9b710fc1cb82c7e1546a32232a1b39167bd76e0c39922bb7d73f" }, "downloads": -1, "filename": "irisapi-0.0.5.tar.gz", "has_sig": false, "md5_digest": "c2c0a00b848c898b97b6eb1a8dc0fbb9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 900497, "upload_time": "2019-07-17T18:56:36", "url": "https://files.pythonhosted.org/packages/f0/1b/fc6308c8c9476b07510778e0a6b3baade06785c422da13b28b1a103e1fdc/irisapi-0.0.5.tar.gz" } ] }