{ "info": { "author": "Tufin Solution Engineering", "author_email": "support@tufin.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Pytos\n=====\n\n|Build Status| |Version|\n\n.. |Build Status| image:: https://travis-ci.org/Tufin/pytos.svg?branch=master\n\t:target: https://travis-ci.org/Tufin/pytos\n\t:alt: Build Status\n.. |Version| image:: http://img.shields.io/pypi/v/pytos.svg?style=flat\n\t:target: https://pypi.python.org/pypi/pytos/\n\t:alt: Version\n\nPytos is the Tufin Orchestration Suite (TOS) Software Development Kit (SDK) for Python, which allows Python developers to make use of the services provided by SecureTrack, SecureChange and SecureApp.\n\nCommon Use Cases\n****************\n* Get security rules or ACLs from firewalls\n* Get network objects and services from firewalls\n* Get security groups from cloud platforms\n* Get routing tables and interfaces from routers and firewalls\n* Manage security zones\n* Submit and manage access requests to update firewall policies\n* Manage application connectivity\n\n\nInstallation\n************\n\nInstall the package by running the following command::\n\n\t# pip install pytos\n\nRunning Tests\n~~~~~~~~~~~~~\nThe package can be tested in all supported Python versions using ``tox``. The tested Python version\nmust be installed including ``tox``:\n\n\t$ tox -e py34\n\nYou can also run individual tests with your default Python version by running ``nosetests`` command directly:\n\n\t$ nosetests -v tests/securetrack_test/test_secure_track_helper_unittest.py:TestGeneralSettings\n\nSecureTrack\n***********\n\nConnect to SecureTrack with valid username and password::\n\n\tfrom pytos.securetrack.helpers import Secure_Track_Helper\n\tst_helper = Secure_Track_Helper(\"127.0.0.1\", (\"username\", \"password\"))\n\nSecureChange\n************\n\nConnect to SecureChange with valid username and password::\n\n\tfrom pytos.securechange.helpers import Secure_Change_Helper\n\tsc_helper = Secure_Change_Helper(\"127.0.0.1\", (\"username\", \"password\"))\n\nSecureApp\n*********\n\nConnect to SecureApp with valid username and password::\n\n\tfrom pytos.secureapp.helpers import Secure_App_Helper\n\tsa_helper = Secure_App_Helper(\"127.0.0.1\", (\"username\", \"password\"))\n\nHow to use pytos logger\n***********************\n\nTo use the pytos logging mechanism perform the following steps:\n\nThe following table defines the log levels and messages, in decreasing order of severity.\n\n+---------------------+----------------------------------------------+\n| Parameters | Description |\n+=====================+==============================================+\n| CRITICAL | Only critical messages. |\n+---------------------+----------------------------------------------+\n| ERROR | Messages with error and above. |\n+---------------------+----------------------------------------------+\n| WARNING | Message with warning and above. |\n+---------------------+----------------------------------------------+\n| INFO | Messages with info and above. |\n+---------------------+----------------------------------------------+\n| DEBUG | All levels. |\n+---------------------+----------------------------------------------+\n\nCreate an ini like configuration file with the following sections::\n\n\t[common]\n\tlog_file_path = /var/log/pytos/\n\n\t[log_levels]\n\tcommon = WARNING\n\thelpers = WARNING\n\treports = WARNING\n\trequests = WARNING\n\tmail = WARNING\n\tsql = WARNING\n\txml = WARNING\n\tweb = WARNING\n\tthird_party = WARNING\n\nIn your code call the following methods::\n\n\timport logging\n\tfrom pytos.common.logging.Defines import COMMON_LOGGER_NAME\n\tfrom pytos.common.logging.Logger import setup_loggers\n\tfrom pytos.common.functions.Config import Secure_Config_Parser\n\n\tconf = Secure_Config_Parser(config_file_path=\"/ini/like/configuration/path/pytos.conf\")\n\tlogger = logging.getLogger(COMMON_LOGGER_NAME)\n\tsetup_loggers(conf.dict(\"log_levels\"), log_to_stdout=True)\n\tlogger.info(\"Hello world\")\n\nGetting Help\n************\n\nFor tracking bugs and new feature requests please use GitHub issues. Please also use these community resources for getting\nhelp:\n\n* Join the `Tufin Developer Community `__\n* If you think you found a bug, please `submit an issue `__\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/pytos", "keywords": "", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "pytos", "package_url": "https://pypi.org/project/pytos/", "platform": "", "project_url": "https://pypi.org/project/pytos/", "project_urls": { "Homepage": "http://pypi.python.org/pypi/pytos" }, "release_url": "https://pypi.org/project/pytos/1.2.2/", "requires_dist": [ "netaddr (>=0.7.14)", "paramiko (>=1.15.2)", "requests (>=2.6.0)", "requests-toolbelt (==0.7.1)", "netifaces (==0.10.5)", "dnspython3 (==1.15.0)", "Mako" ], "requires_python": "", "summary": "The Tufin TOS SDK for Python", "version": "1.2.2" }, "last_serial": 5770632, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "bb45b79558289fc03c7e99b25dc6b321", "sha256": "945379b15d0a555c8f50eb70372162dff61721d1f23fad139ac123d1fe16f9de" }, "downloads": -1, "filename": "pytos-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bb45b79558289fc03c7e99b25dc6b321", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 154835, "upload_time": "2017-06-13T17:22:00", "url": "https://files.pythonhosted.org/packages/df/78/16b2e55784b9d5b8aec43aa4b02976501a1668c91f4f246542ff0b6a5b68/pytos-0.0.1-py3-none-any.whl" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "d19563e9a8b8ee38e9814c5c7e91f6cd", "sha256": "ba95bf596e8766e205c754322ab493f62afad8c3439772c7ad89f261b66e309c" }, "downloads": -1, "filename": "pytos-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d19563e9a8b8ee38e9814c5c7e91f6cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 134071, "upload_time": "2017-09-12T15:21:16", "url": "https://files.pythonhosted.org/packages/8e/c6/c5d21d35314e9cc554f506648cf6ed28a819ae5abdba01eeae338e0eb5df/pytos-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "c13b54cfb3c751dc0dd0fff6eb502f5d", "sha256": "8e3c40b3f31d10fd0c3ab843d487c0500f0ae3f01fcd787b13d82d81e62a18f4" }, "downloads": -1, "filename": "pytos-0.0.3.tar.gz", "has_sig": false, "md5_digest": "c13b54cfb3c751dc0dd0fff6eb502f5d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 134134, "upload_time": "2017-11-07T11:20:08", "url": "https://files.pythonhosted.org/packages/57/33/0b7c43fe2b6d7dc9afd7a2f4dfd526f6bd1122605ab9dc89a66a9d8f083e/pytos-0.0.3.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "2d1a0bcfa27f5e620deaad35e9e09162", "sha256": "6d5b318d41d878ff9d04147e7ded57250e14223fee744737c6374c057738b6f7" }, "downloads": -1, "filename": "pytos-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "2d1a0bcfa27f5e620deaad35e9e09162", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 174774, "upload_time": "2018-04-28T22:17:47", "url": "https://files.pythonhosted.org/packages/15/4c/a562b3fd8598a2b558020b629c7720befb7fa9009e7f95bc28913343105a/pytos-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5337578592bd811c87d945265a155339", "sha256": "251106558d70f651ec31850b2d8262fe31cf6ea2997a599178010b8b3de05102" }, "downloads": -1, "filename": "pytos-1.0.0.tar.gz", "has_sig": false, "md5_digest": "5337578592bd811c87d945265a155339", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 150447, "upload_time": "2018-04-28T22:17:49", "url": "https://files.pythonhosted.org/packages/2b/3f/c4e00cd6ff94dab1e3812ff9500e43574d993021b6420894e981ec99f03d/pytos-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "7b0ba2ff40195f2ce309fd20d7ae8447", "sha256": "1e4cd3731f0dfc3bb34c3013fc47d44a28f723d04280facbdbc84e5733d5d5fc" }, "downloads": -1, "filename": "pytos-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7b0ba2ff40195f2ce309fd20d7ae8447", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 171345, "upload_time": "2018-08-01T19:08:05", "url": "https://files.pythonhosted.org/packages/c1/cf/c1d172be8f989c9de702d7dbabd2dc887e9be62a214c9790033bef4eefb4/pytos-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "03bb5e60601df26240eae41c827adf13", "sha256": "61f36fcdc94030c1537f8d40a95f15850db295bb047c82ce61b8a65943e7833e" }, "downloads": -1, "filename": "pytos-1.0.1.tar.gz", "has_sig": false, "md5_digest": "03bb5e60601df26240eae41c827adf13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 147206, "upload_time": "2018-08-01T19:08:07", "url": "https://files.pythonhosted.org/packages/ab/d0/4abba9b282ffed6dc04fedee7144d122645de97c84cb6847bcfdcae634ae/pytos-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "2885c0c795102d6b55bacb0100ff3a93", "sha256": "86609f68157921d7225627bcf358d49f6a70503f2998d93dd043cbc43b582ac6" }, "downloads": -1, "filename": "pytos-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "2885c0c795102d6b55bacb0100ff3a93", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 177689, "upload_time": "2019-01-30T12:21:55", "url": "https://files.pythonhosted.org/packages/9a/93/7dd72949d8e9d152bebaf08ce324c9df4e4f2b193d5f60b78c24353889fb/pytos-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a70ef847dd06a2e43740c4ab2dbf0a5c", "sha256": "8378ee42e0d889370f1444ced2a78af6d8be69aabfb2eda106ab4fc8343078ae" }, "downloads": -1, "filename": "pytos-1.1.0.tar.gz", "has_sig": false, "md5_digest": "a70ef847dd06a2e43740c4ab2dbf0a5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 149458, "upload_time": "2019-01-30T12:21:58", "url": "https://files.pythonhosted.org/packages/cc/9e/3b517b9b567e4073e20da1e9fd104218c659fe88adc1d01dde5209ce684d/pytos-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "32351ad6474746ad34de98b487b4aa4c", "sha256": "117a4ddf8488bb29534563fd5ea26d20f24fcf5fffd63c3d7d9674b730efd668" }, "downloads": -1, "filename": "pytos-1.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "32351ad6474746ad34de98b487b4aa4c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 178246, "upload_time": "2019-05-07T12:32:59", "url": "https://files.pythonhosted.org/packages/de/d5/2f6ccfe8e2e097d6a162da75a971f99a0b2728d98b05d0181d179e6f9d68/pytos-1.2.0-py3-none-any.whl" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "e328ad1dfee783b3efb4b10f612f335c", "sha256": "9b3dbb3b339356933b9aef2f64496e206e1a3fce0205ba3a9fb28fc6dad166ae" }, "downloads": -1, "filename": "pytos-1.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "e328ad1dfee783b3efb4b10f612f335c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 178226, "upload_time": "2019-05-12T12:24:59", "url": "https://files.pythonhosted.org/packages/8b/91/7236e01767b1292e07eee4fe58ad41dc9a6f19451ef1444ef3a3296bb1c6/pytos-1.2.1-py3-none-any.whl" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "a9ce00d53e93a104ab79a7a50e22010c", "sha256": "57cb601df90454ce3a4aa9efc086ee29c82214c0ee924b21af778caa6d68a12f" }, "downloads": -1, "filename": "pytos-1.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a9ce00d53e93a104ab79a7a50e22010c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 178237, "upload_time": "2019-09-02T12:31:20", "url": "https://files.pythonhosted.org/packages/87/67/e1d4653df1245482a23e94ebb3a8245506fb7c2fc2da0bc8e72ec125ca31/pytos-1.2.2-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a9ce00d53e93a104ab79a7a50e22010c", "sha256": "57cb601df90454ce3a4aa9efc086ee29c82214c0ee924b21af778caa6d68a12f" }, "downloads": -1, "filename": "pytos-1.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a9ce00d53e93a104ab79a7a50e22010c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 178237, "upload_time": "2019-09-02T12:31:20", "url": "https://files.pythonhosted.org/packages/87/67/e1d4653df1245482a23e94ebb3a8245506fb7c2fc2da0bc8e72ec125ca31/pytos-1.2.2-py3-none-any.whl" } ] }