{ "info": { "author": "James Brown", "author_email": "jbrown@uber.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Security" ], "description": "[![Build Status](https://travis-ci.org/uber/pyrehol.svg)](https://travis-ci.org/uber/pyrehol)\n\n**pyrehol** is a python library for generating [FireHOL](http://firehol.org) config files. It's perfect if you want to combine the human-readable, reproductable, and reliable nature of FireHOL with some kind of automated cluster management system (for example, [clusto](http://clusto.org)) without having to write super-complicated Bash.\n\n### Usage\n```python\nfrom pyrehol import Pyrehol\nfrom somewhere_else import clusto\n\n\nmy_clusto_object = clusto.get_by_name(socket.gethostname())\n\np = Pyrehol()\nwith p.add_interface(\"public\", \"eth0\") as i:\n i.set_protection('strong')\n for service in my_clusto_object.attr_values(key='firehol', subkey='allowed-services'):\n i.add_server(service, 'accept')\n\nwith p.add_interface(\"private\", \"eth1\") as i:\n i.add_server('ssh', 'accept')\n\nwith open('/etc/firehol/firehol.conf', 'w') as f:\n p.emit(f)\n```\n\n\n### License\nThis software is Copyright © 2014 Uber Technologies, Inc.\n\nThis software is licensed under the Expat (MIT) license. More information can be found in [LICENSE.txt]().\n\n\n### FAQ\n\n#### When is FireHOL 2.0 support coming?\nReal soon now", "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/uber/pyrehol", "keywords": null, "license": "MIT (Expat)", "maintainer": null, "maintainer_email": null, "name": "pyrehol", "package_url": "https://pypi.org/project/pyrehol/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyrehol/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/uber/pyrehol" }, "release_url": "https://pypi.org/project/pyrehol/0.3/", "requires_dist": null, "requires_python": null, "summary": "Python library for generating FireHOL config", "version": "0.3" }, "last_serial": 1393939, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "dd075a446d8611b8097c83543157d109", "sha256": "b37c61a1b008533a3eebbe43db9ce3118496c12bb89b52824e2a4155e5de29f9" }, "downloads": -1, "filename": "pyrehol-0.1.tar.gz", "has_sig": false, "md5_digest": "dd075a446d8611b8097c83543157d109", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6096, "upload_time": "2015-01-12T18:51:10", "url": "https://files.pythonhosted.org/packages/78/63/2330ffccd0f5cc18da93be0932b552ef90a3f9793124db5388c01a7f74a0/pyrehol-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "54288de392aebddf775e31f6c97ba246", "sha256": "a29cdc410c4f49c6d43b4389724655ecf872fd9915a08735ee05d819e6cc11f2" }, "downloads": -1, "filename": "pyrehol-0.2.tar.gz", "has_sig": false, "md5_digest": "54288de392aebddf775e31f6c97ba246", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6139, "upload_time": "2015-01-15T22:20:05", "url": "https://files.pythonhosted.org/packages/3c/0f/e6457c8cccdafa14acaff7d82475af93be3a062be27e41c9ddb46b02c863/pyrehol-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "3391166a3cd36eae5a9a284a50cba5b7", "sha256": "2cc5905f7d7e16c60188f604316bb15245f72784bf8fa16ac094c21a68043331" }, "downloads": -1, "filename": "pyrehol-0.3.tar.gz", "has_sig": false, "md5_digest": "3391166a3cd36eae5a9a284a50cba5b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6148, "upload_time": "2015-01-23T20:44:31", "url": "https://files.pythonhosted.org/packages/c5/e8/2dfcf427c7587ef56df5de90ca6f1528b927297dd59ce6b298fabd2f8402/pyrehol-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3391166a3cd36eae5a9a284a50cba5b7", "sha256": "2cc5905f7d7e16c60188f604316bb15245f72784bf8fa16ac094c21a68043331" }, "downloads": -1, "filename": "pyrehol-0.3.tar.gz", "has_sig": false, "md5_digest": "3391166a3cd36eae5a9a284a50cba5b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6148, "upload_time": "2015-01-23T20:44:31", "url": "https://files.pythonhosted.org/packages/c5/e8/2dfcf427c7587ef56df5de90ca6f1528b927297dd59ce6b298fabd2f8402/pyrehol-0.3.tar.gz" } ] }