{ "info": { "author": "Ronald van Zon", "author_email": "rvzon84+django-pypuppetdb@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: POSIX", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Topic :: Software Development :: Libraries" ], "description": "#################\r\ndjango-pypuppetdb\r\n#################\r\n\r\n.. image:: https://api.travis-ci.org/nedap/django-pypuppetdb.png\r\n :target: https://travis-ci.org/nedap/django-pypuppetdb\r\n\r\n.. image:: https://coveralls.io/repos/nedap/django-pypuppetdb/badge.png\r\n :target: https://coveralls.io/r/nedap/django-pypuppetdb\r\n\r\n.. image:: https://pypip.in/d/django_pypuppetdb/badge.png\r\n :target: https://pypi.python.org/pypi/django_pypuppetdb\r\n\r\n.. image:: https://pypip.in/v/django_pypuppetdb/badge.png\r\n :target: https://crate.io/packages/django-pypuppetdb\r\n\r\ndjango-pypuppetdb is a library that handles authentication\r\nby using the PuppetDB's REST API to get Users that are registrated\r\nin PuppetDB. It is implemented using the `requests`_ library.\r\n\r\n.. _requests: http://docs.python-requests.org/en/latest/\r\n\r\nTo use this library you will need:\r\n * Python 2.7+\r\n * Python 3.3+\r\n * Django 1.8\r\n * pypuppetdb\r\n\r\nInstallation\r\n============\r\n\r\nYou can install this package from source or from PyPi.\r\n\r\n.. code-block:: bash\r\n\r\n $ pip install django-pypuppetdb\r\n\r\n.. code-block:: bash\r\n\r\n $ git clone https://github.com/nedap/django-pypuppetdb\r\n $ python setup.py install\r\n\r\nDjango\r\n------\r\n\r\nTo let django connect to puppetdb in order to get your user\r\nadd the following line to you settings.\r\n\r\n * add \"django_pypuppetdb\" to INSTALLED_APPS.\r\n * add \"django_pypuppetdb.django_authentication.PuppetDBAuthentication\" to AUTHENTICATION_BACKENDS\r\n\r\n * add the followin settings\r\n\r\n.. code-block:: python\r\n\r\n PUPPETDB_HOST = 'localhost',\r\n PUPPETDB_PORT = 8080,\r\n PUPPETDB_NODE = 'node',\r\n PUPPETDB_KEY = None,\r\n PUPPETDB_CERT = None,\r\n PUPPETDB_SSL_VERIFY = False\r\n PUPPETDB_ADMIN_GROUP = 'admins'\r\n\r\nTastypie\r\n--------\r\n\r\nIf you are using tastypie as API framework and want to use pypuppetdb to\r\nvalidate the user you can add the following line to your resource file\r\n\r\n.. code-block:: python\r\n\r\n from django_pypuppetdb.tastypie_authentication import PuppetDBAuthentication\r\n\r\n in your class Meta add:\r\n authentication = PuppetDBAuthentication()\r\n\r\nif you would like to use multiple authentications you can use\r\n\r\n.. code-block:: python\r\n\r\n authentication = MultiAuthentication(ApiKeyAuthentication(), PuppetDBAuthentication())\r\n\r\nGetting Help\r\n============\r\nThis project is still very new so most likely there will be issues\r\nyou'll run into.\r\n\r\nFor bug reports you can file an `issue`_. If you need help with something\r\nfeel free to hit up `@eagllus`_ by e-mail.\r\n\r\n.. _issue: https://github.com/nedap/pypuppetdb/issues\r\n.. _@eagllus: https://github.com/eagllus\r\n\r\n#########\r\nChangelog\r\n#########\r\n\r\n0.0.1\r\n=====\r\nInitial release. Implements most of authorization for django.\r\n\r\n0.0.2\r\n=====\r\nSeparating Django and Tastypie dependency.\r\n\r\n0.0.3\r\n=====\r\nRenaming Django authenticaton and updated all tests\r\nRenaming Tastyie authentication and updated all tests\r\n\r\n0.1.0\r\n=====\r\nDjango and Tastypie fully tested\r\n\r\n0.1.1\r\n=====\r\nAdding check for puppet group that will check if the user\r\nis in the group defined in PUPPETDB_ADMIN_GROUP. This will give the\r\nuser admin rights allowing the user to login django-admin.\r\n\r\n0.2.0\r\n=====\r\nUpdating files to make it django 1.8 compatible.\r\n\r\n0.2.1\r\n=====\r\nUpdating requirements file to newest versions.", "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/nedap/django-pypuppetdb", "keywords": "puppet puppetdb django authorization tastypie", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "django_pypuppetdb", "package_url": "https://pypi.org/project/django_pypuppetdb/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django_pypuppetdb/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/nedap/django-pypuppetdb" }, "release_url": "https://pypi.org/project/django_pypuppetdb/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Handles authorization for Django by using puppetdb users", "version": "0.2.1" }, "last_serial": 1718675, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "26d0ddf27d3436cab961db0d179c0c0f", "sha256": "d27c4c93c343adf138e6b04d1d25a0445060112348fbe582515c80623297a19a" }, "downloads": -1, "filename": "django_pypuppetdb-0.1.0.tar.gz", "has_sig": false, "md5_digest": "26d0ddf27d3436cab961db0d179c0c0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7848, "upload_time": "2014-06-03T06:13:09", "url": "https://files.pythonhosted.org/packages/65/64/72289b77f78ae2cd0139b500d519a4a46b53a131125acbcd32998ed0a026/django_pypuppetdb-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "46ea463cc55abb9f5d33b5ee97a37606", "sha256": "bbfc65a5dc41767fb932a8213d02505d6314d07bd7e34b9bf1300858ff2061bb" }, "downloads": -1, "filename": "django_pypuppetdb-0.1.1.tar.gz", "has_sig": false, "md5_digest": "46ea463cc55abb9f5d33b5ee97a37606", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8082, "upload_time": "2014-06-10T13:24:47", "url": "https://files.pythonhosted.org/packages/a9/ce/a1699105def9107cf603fb5a0945a545b86a4adf537fefc8c354b573871c/django_pypuppetdb-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "512d8de80bc3855073c5c4605b8ab03b", "sha256": "81bc02152419af232a4c3853ff08bc9e2e003e69525797a8b48cb08548f407e8" }, "downloads": -1, "filename": "django_pypuppetdb-0.1.2.tar.gz", "has_sig": false, "md5_digest": "512d8de80bc3855073c5c4605b8ab03b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8104, "upload_time": "2014-12-02T10:38:54", "url": "https://files.pythonhosted.org/packages/58/dd/7bb86732cd4b151b5bd50bd0512bb4a995a6f7ce0f9c43f71e93738603c9/django_pypuppetdb-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "80251c774dcc63023acdee5d582fa133", "sha256": "f329070f86a66f6cab1847cc42e5a09875d92a99c8081cdd343da06e57574246" }, "downloads": -1, "filename": "django_pypuppetdb-0.1.3.tar.gz", "has_sig": false, "md5_digest": "80251c774dcc63023acdee5d582fa133", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8144, "upload_time": "2014-12-02T10:44:49", "url": "https://files.pythonhosted.org/packages/8a/59/999f30346677990d3ca6076df267214b45071fbe09b46bda858d86e709e2/django_pypuppetdb-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "d155801d1ae8dc636319eba184920b42", "sha256": "daae7bfa7dff229529ac94c5eca70cade4617112aa736449b466830d47dadac3" }, "downloads": -1, "filename": "django_pypuppetdb-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d155801d1ae8dc636319eba184920b42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8131, "upload_time": "2015-04-08T09:47:46", "url": "https://files.pythonhosted.org/packages/e1/e7/c8a0c5fd2772d901cc919bda10652be31318aca00aef7e1d587982bc10cf/django_pypuppetdb-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "e41e49f507da2aebcab4d51422ea728c", "sha256": "ca8fdb0a1112c11623f4959acf685540cec80e8a525db4582860882d1e774685" }, "downloads": -1, "filename": "django_pypuppetdb-0.2.1.tar.gz", "has_sig": false, "md5_digest": "e41e49f507da2aebcab4d51422ea728c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8153, "upload_time": "2015-09-11T09:56:53", "url": "https://files.pythonhosted.org/packages/70/ca/1f7d0ad397c4b190d58c9088cef3220943892fbd9e51fde3ddba498d33aa/django_pypuppetdb-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e41e49f507da2aebcab4d51422ea728c", "sha256": "ca8fdb0a1112c11623f4959acf685540cec80e8a525db4582860882d1e774685" }, "downloads": -1, "filename": "django_pypuppetdb-0.2.1.tar.gz", "has_sig": false, "md5_digest": "e41e49f507da2aebcab4d51422ea728c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8153, "upload_time": "2015-09-11T09:56:53", "url": "https://files.pythonhosted.org/packages/70/ca/1f7d0ad397c4b190d58c9088cef3220943892fbd9e51fde3ddba498d33aa/django_pypuppetdb-0.2.1.tar.gz" } ] }