{ "info": { "author": "Patrick Pierson", "author_email": "patrick.pierson@ionchannel.io", "bugtrack_url": null, "classifiers": [], "description": "PyIonic\n========================\n\n.. image:: https://readthedocs.org/projects/pyionic/badge/?version=latest\n :target: http://pyionic.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://travis-ci.org/ion-channel/pyionic.svg?branch=master\n :target: https://travis-ci.org/ion-channel/pyionic\n\n.. image:: https://img.shields.io/pypi/v/pyionic.svg\n :target: https://pypi.python.org/pypi/pyionic\n\nPyIonic is a Python library to interact with Ion Channel's API.\nWith PyIonic it should be very easy for a user to interact with\nIon Channel and get their data.\n\n\nDocumentation\n=================\nRead up on the docs here: http://pyionic.readthedocs.io/\n\nQuick Start\n==================\n\nInstall PyIonic:\n\n.. code-block:: console\n\n pip install pyionic\n\nSet the IONCHANNEL_SECRET_KEY:\n\n.. code-block:: console\n\n export IONCHANNEL_SECRET_KEY=####IONCHANNEL_SECRET_KEY####\n\nExamples\n=================\n\nSample code to report the name, id, and source of all of the projects in a team.\n\n.. code-block:: python\n\n from pyionic import core\n users = core.Users()\n team_id = list(users.get_self()['data']['teams'].keys())[0]\n projects = core.Projects()\n print('--------------------------------')\n for project in projects.get_projects(team_id)['data']:\n print('Name: %s' % project['name'])\n print('ID: %s' % project['id'])\n print('Source: %s' % project['source'])\n print('--------------------------------')\n\n\nSample code to get an analysis for all projects in a team. Reports the name, id,\nsource and if the project passed the last analysis.\n\n.. code-block:: python\n\n from pyionic import core\n users = core.Users()\n team_id = list(users.get_self()['data']['teams'].keys())[0]\n projects = core.Projects()\n analysis = core.Analysis()\n print('--------------------------------')\n for project in projects.get_projects(team_id)['data']:\n print('Name: %s' % project['name'])\n print('ID: %s' % project['id'])\n print('Source: %s' % project['source'])\n analysis_id = analysis.get_analysis_summery(\n team_id=team_id,\n project_id=project['id']\n )['data']['id']\n if analysis.get_analysis(\n team_id=team_id,\n project_id=project['id'],\n analysis_id=analysis_id\n )['data']['status'] == 'finished':\n print('Scan is good!')\n print('--------------------------------')\n\nSample code to count all of the vulnerabilities for Python 3.4\n\n.. code-block:: python\n\n from pyionic import core\n vuln = core.Vulnerability()\n vulnerabilities = vuln.get_vulnerabilities('python', '3.4')\n print('%s total vulnerabilities found.' % vulnerabilities['meta']['total_count'])\n\n\nTests\n==================\n\nTo setup tests you must first export a valid token for the pyionic test team:\n\n.. code-block:: console\n\n export IONCHANNEL_SECRET_KEY=####IONCHANNEL_SECRET_KEY####\n\n\nThen run:\n\n.. code-block:: console\n\n pipenv run python setup.py test\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ion-channel/pyionic", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "pyionic", "package_url": "https://pypi.org/project/pyionic/", "platform": "", "project_url": "https://pypi.org/project/pyionic/", "project_urls": { "Homepage": "https://github.com/ion-channel/pyionic" }, "release_url": "https://pypi.org/project/pyionic/0.0.9/", "requires_dist": [ "requests (>=2.18.4)" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "summary": "Python package for the Ion Channel API", "version": "0.0.9" }, "last_serial": 3738747, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "73c629d4ccc639c6afe584a086299ad2", "sha256": "8635b65f551635e33bc223adb86b97e8d477ce655f3ff12d350907a7526daaf9" }, "downloads": -1, "filename": "pyionic-0.0.1-py2.7.egg", "has_sig": false, "md5_digest": "73c629d4ccc639c6afe584a086299ad2", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 5324, "upload_time": "2018-03-21T02:00:55", "url": "https://files.pythonhosted.org/packages/95/20/f62ca3535de81690e2da34a9515bd2d952401e86e875fd65204b9f87a760/pyionic-0.0.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "702a57d52c8edf81f0b1473c7e77aa91", "sha256": "0d09d70c8923d6da2caffa69a06be5d79c9cc086f17a30f80908f80dbb78ffd6" }, "downloads": -1, "filename": "pyionic-0.0.1.tar.gz", "has_sig": false, "md5_digest": "702a57d52c8edf81f0b1473c7e77aa91", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2647, "upload_time": "2018-03-21T02:00:57", "url": "https://files.pythonhosted.org/packages/72/3c/bc969517e1acaee163ede893d475624e95afa9bc9897155927c5c26cbc10/pyionic-0.0.1.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "4373bd195a170078ff7df173bc6b486c", "sha256": "8be50dba536f56e680ca314a013b3c47e2740c7f6942ef5706a8a0046b5eadfd" }, "downloads": -1, "filename": "pyionic-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4373bd195a170078ff7df173bc6b486c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6129, "upload_time": "2018-03-21T13:15:57", "url": "https://files.pythonhosted.org/packages/5c/2b/bc8f35e783abb41d8cf880aaeaedae4d8626537504f7383492d5094734b4/pyionic-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "38840c77c770b182f0fe781d80e102f7", "sha256": "7f119ebd70c26681c909431e55273882954fb1c472f5590707ffbcce087e2dbd" }, "downloads": -1, "filename": "pyionic-0.0.3.tar.gz", "has_sig": false, "md5_digest": "38840c77c770b182f0fe781d80e102f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3038, "upload_time": "2018-03-21T13:15:58", "url": "https://files.pythonhosted.org/packages/51/3e/d8fdcf7af70e16298c3246339a86c36adc759eb2cec64826f17cd87dee5a/pyionic-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "62480cb01899de83de9f927cc411aae7", "sha256": "fd8b3ca0152eed0c731523d4b6a89fa3c8e0747cb888b831daf4f01f01a1973e" }, "downloads": -1, "filename": "pyionic-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "62480cb01899de83de9f927cc411aae7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 5842, "upload_time": "2018-03-23T01:34:57", "url": "https://files.pythonhosted.org/packages/fb/9f/46dc0eae81bbf30264d73a77fe741645de89cfc74e4ef3c0b01d0941daad/pyionic-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "af09eef0cba6e5290c5cc55a681a0c88", "sha256": "73d74371675b7ecb9789eee244727c4da51e5648c54e560d49641d9bb40c5848" }, "downloads": -1, "filename": "pyionic-0.0.4.tar.gz", "has_sig": false, "md5_digest": "af09eef0cba6e5290c5cc55a681a0c88", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 3673, "upload_time": "2018-03-23T01:33:18", "url": "https://files.pythonhosted.org/packages/1a/ff/a51ad73548a0cd85a0ede1bbbbe008410beb03957e5a896664782846bd17/pyionic-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "02de7e243bbd22deee1f9608e9dd49a7", "sha256": "3ebe3248549cc2839907d036c1140bbf9681cdb1dd947653986d51a38ac326f0" }, "downloads": -1, "filename": "pyionic-0.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "02de7e243bbd22deee1f9608e9dd49a7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 7095, "upload_time": "2018-03-24T02:43:40", "url": "https://files.pythonhosted.org/packages/39/55/cb7bfbbc797c3b1346d5819a53ba52f50042f843618accb4bf9ba0510f35/pyionic-0.0.5-py2.py3-none-any.whl" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "e8ee22d7aee7cb98165a0aaf842d6d35", "sha256": "e76b7de435a4143bfeddf260804f77c2bfc27b8bd9c8b07110fe65c0bb8b5d9e" }, "downloads": -1, "filename": "pyionic-0.0.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e8ee22d7aee7cb98165a0aaf842d6d35", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 7106, "upload_time": "2018-03-27T18:54:01", "url": "https://files.pythonhosted.org/packages/65/74/c2aa65e6acf84d2fd6375719575b8ac57b78d0878cecbf4b63f95f519510/pyionic-0.0.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7e72ec27c6634b873b1315471f7b697d", "sha256": "885ef1093be13cfa32949754d4dd7887247ea6ab759e10d84f99bdf75a0f9fc8" }, "downloads": -1, "filename": "pyionic-0.0.6.tar.gz", "has_sig": false, "md5_digest": "7e72ec27c6634b873b1315471f7b697d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 4699, "upload_time": "2018-03-27T18:54:02", "url": "https://files.pythonhosted.org/packages/b3/62/a466bddebf3ab5521acf288db882c79d388ebd9dd60f4e6fb78739985363/pyionic-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "b3fa3ab470e0ecee3a3918d27d5e091d", "sha256": "d7e0ecd6596d6b6c9f146ce04f1b8941395c51b5b35ab4d98dc97fca7ab23ad4" }, "downloads": -1, "filename": "pyionic-0.0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b3fa3ab470e0ecee3a3918d27d5e091d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 7398, "upload_time": "2018-03-27T22:42:52", "url": "https://files.pythonhosted.org/packages/34/43/b77ccbd4258ac33ee1d12264131785b1beb79c2ae56cf5aaec8c21b87d6b/pyionic-0.0.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "05a8d225d683c0bf66a6dcbf8eadcd42", "sha256": "f8a4657413e8674918c5701e345d3fc1e4177c5bf221036a2f0b4f1c951f5176" }, "downloads": -1, "filename": "pyionic-0.0.7.tar.gz", "has_sig": false, "md5_digest": "05a8d225d683c0bf66a6dcbf8eadcd42", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 5008, "upload_time": "2018-03-27T22:42:53", "url": "https://files.pythonhosted.org/packages/6e/f6/913ffeb963829e4346b1d2527009d8c770d8c045d32088d793ee9e750b4f/pyionic-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "7e5c5cf9b2837daf8cfb3be15f482f85", "sha256": "548e269a96f6b5c738039e75670187667414b2dcf567884b0d800443ff3167c6" }, "downloads": -1, "filename": "pyionic-0.0.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7e5c5cf9b2837daf8cfb3be15f482f85", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 7392, "upload_time": "2018-03-27T23:17:06", "url": "https://files.pythonhosted.org/packages/46/b2/564e6299a7dcc01a5babcd2c956b53cc385386cad4108cbb9a7700c71683/pyionic-0.0.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8e4bd46b34ac6be19ac0e0cacd3c3430", "sha256": "f60ce20598bfc22fc38ff15bf27b8543679771136c6ef707673675c0504ea428" }, "downloads": -1, "filename": "pyionic-0.0.8.tar.gz", "has_sig": false, "md5_digest": "8e4bd46b34ac6be19ac0e0cacd3c3430", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 5011, "upload_time": "2018-03-27T23:17:07", "url": "https://files.pythonhosted.org/packages/a9/fe/486718189c1322ede021f0899e88bcd034ac82a2c018c2e6e85ab91360e2/pyionic-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "6b1206ba6f85fdfb41db93eb7838d190", "sha256": "4f885cac220196694eb89bda36c682c4a92ad2fcfd9ea61717c15d5894935084" }, "downloads": -1, "filename": "pyionic-0.0.9-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6b1206ba6f85fdfb41db93eb7838d190", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 10964, "upload_time": "2018-04-05T19:31:28", "url": "https://files.pythonhosted.org/packages/f0/a1/98dcbea5d2d4eab924c3e3f6e230a71511ff7b289b431f39f7d361ee6e75/pyionic-0.0.9-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "abac5d8a5a50766a67367887de44f924", "sha256": "239138568f3996ba3d0ca880e05a79d6572a5c3e7cc24d81b8e58a78678dda55" }, "downloads": -1, "filename": "pyionic-0.0.9.tar.gz", "has_sig": false, "md5_digest": "abac5d8a5a50766a67367887de44f924", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 8510, "upload_time": "2018-04-05T19:31:29", "url": "https://files.pythonhosted.org/packages/6a/ac/8250c95236d3710cd39784fa7e570054dd10ec9241fc35dae2e80b422115/pyionic-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6b1206ba6f85fdfb41db93eb7838d190", "sha256": "4f885cac220196694eb89bda36c682c4a92ad2fcfd9ea61717c15d5894935084" }, "downloads": -1, "filename": "pyionic-0.0.9-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6b1206ba6f85fdfb41db93eb7838d190", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 10964, "upload_time": "2018-04-05T19:31:28", "url": "https://files.pythonhosted.org/packages/f0/a1/98dcbea5d2d4eab924c3e3f6e230a71511ff7b289b431f39f7d361ee6e75/pyionic-0.0.9-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "abac5d8a5a50766a67367887de44f924", "sha256": "239138568f3996ba3d0ca880e05a79d6572a5c3e7cc24d81b8e58a78678dda55" }, "downloads": -1, "filename": "pyionic-0.0.9.tar.gz", "has_sig": false, "md5_digest": "abac5d8a5a50766a67367887de44f924", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 8510, "upload_time": "2018-04-05T19:31:29", "url": "https://files.pythonhosted.org/packages/6a/ac/8250c95236d3710cd39784fa7e570054dd10ec9241fc35dae2e80b422115/pyionic-0.0.9.tar.gz" } ] }