{ "info": { "author": "Gavin M. Roy", "author_email": "gavinmroy@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 6 - Mature", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: OS Independent", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Database", "Topic :: Software Development :: Libraries" ], "description": "pgpasslib\r\n=========\r\npgpasslib is a library for retrieving passwords from a PostgreSQL password\r\nfile, either from a location specified in the ``PGPASSFILE`` environment\r\nvariable or in the ``.pgpass`` file in the current user's home directory.\r\n\r\n|Version| |Downloads| |Status| |Coverage| |CodeClimate|\r\n\r\nInstallation\r\n------------\r\npgpasslib may be installed via the Python package index with the tool of\r\nyour choice. I prefer pip:\r\n\r\n.. code:: bash\r\n\r\n pip install pgpasslib\r\n\r\nDocumentation\r\n-------------\r\n\r\nhttps://pgpasslib.readthedocs.org\r\n\r\nRequirements\r\n------------\r\nThere are no requirements outside of the Python standard library.\r\n\r\nExample\r\n-------\r\nThe following example will attempt to get the password for PostgreSQL running\r\non ``localhost:5432`` to the ``postgres`` database as the ``postgres`` user.\r\n\r\n.. code:: python\r\n\r\n import pgpasslib\r\n\r\n password = pgpasslib.getpass('localhost', 5432, 'postgres', 'postgres')\r\n if not password:\r\n raise ValueError('Did not find a password in the .pgpass file')\r\n\r\nVersion History\r\n---------------\r\nAvailable at https://pgpasslib.readthedocs.org\r\n\r\n.. |Version| image:: https://img.shields.io/pypi/v/pgpasslib.svg?\r\n :target: https://pypi.python.org/pypi/pgpasslib\r\n\r\n.. |Status| image:: https://img.shields.io/travis/gmr/pgpasslib.svg?\r\n :target: https://travis-ci.org/gmr/pgpasslib\r\n\r\n.. |Coverage| image:: https://img.shields.io/codecov/c/github/gmr/pgpasslib.svg?\r\n :target: https://codecov.io/github/gmr/pgpasslib?branch=master\r\n\r\n.. |Downloads| image:: https://img.shields.io/pypi/dm/pgpasslib.svg?\r\n :target: https://pypi.python.org/pypi/pgpasslib\r\n\r\n.. |CodeClimate| image:: https://codeclimate.com/github/gmr/pgpasslib/badges/gpa.svg\r\n :target: https://codeclimate.com/github/gmr/pgpasslib\r\n :alt: Code Climate", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pgpasslib.readthedocs.io", "keywords": "PostgreSQL", "license": "Copyright (c) 2014 Gavin M. Roy\r\n\r\nAll rights reserved.\r\n\r\nRedistribution and use in source and binary forms, with or without modification,\r\nare permitted provided that the following conditions are met:\r\n\r\n * Redistributions of source code must retain the above copyright notice, this\r\n list of conditions and the following disclaimer.\r\n * Redistributions in binary form must reproduce the above copyright notice,\r\n this list of conditions and the following disclaimer in the documentation\r\n and/or other materials provided with the distribution.\r\n * Neither the name of the pgpasslib nor the names of its\r\n contributors may be used to endorse or promote products derived from this\r\n software without specific prior written permission.\r\n\r\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\r\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\r\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\r\nIN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\r\nINDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\r\nBUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\r\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\r\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\r\nOR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\r\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", "maintainer": "", "maintainer_email": "", "name": "pgpasslib", "package_url": "https://pypi.org/project/pgpasslib/", "platform": "", "project_url": "https://pypi.org/project/pgpasslib/", "project_urls": { "Homepage": "http://pgpasslib.readthedocs.io" }, "release_url": "https://pypi.org/project/pgpasslib/1.1.0/", "requires_dist": null, "requires_python": "", "summary": "Library for getting passwords from PostgreSQL password files", "version": "1.1.0" }, "last_serial": 2101867, "releases": { "0.1.0": [], "1.0.0": [ { "comment_text": "", "digests": { "md5": "c4f2c7600a051f058a420e4016498894", "sha256": "1889e0d818fa439e96755d79c9b45d0c5905b072b9a5f838c2bcf3f80d0e8b96" }, "downloads": -1, "filename": "pgpasslib-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c4f2c7600a051f058a420e4016498894", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7437, "upload_time": "2014-11-07T17:09:38", "url": "https://files.pythonhosted.org/packages/2f/52/a1eb0d4b72fb3dfa843ea78f356959d898d882e2f658ba41a74f895f7ec1/pgpasslib-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "abe73376a89f737afa34c3b94e7a8e1e", "sha256": "ef5b39b7a3997298c00ddddd2837b7652e2e3d2b1efa65f398b8a4ea761b1ee2" }, "downloads": -1, "filename": "pgpasslib-1.0.0.tar.gz", "has_sig": false, "md5_digest": "abe73376a89f737afa34c3b94e7a8e1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4891, "upload_time": "2014-11-07T17:09:36", "url": "https://files.pythonhosted.org/packages/3d/af/ffd8f2aad4e055b64df27d2f1eb5b05c1f6754cd8a02f5a84e53af4583a9/pgpasslib-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "3bce4cadef844b868e56cd3e6c6a8225", "sha256": "a4853ac4c872fb8256e69ec38fbb0cdf43d5b3d1820f8213b93bb51eef09a170" }, "downloads": -1, "filename": "pgpasslib-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3bce4cadef844b868e56cd3e6c6a8225", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7456, "upload_time": "2014-12-15T19:44:43", "url": "https://files.pythonhosted.org/packages/19/35/6d75e9d37ad332acb71dbffe8f401039b7b637bfac3235e1c00e60210d9c/pgpasslib-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "59340a35bebbec45ef6ec500e312a58d", "sha256": "c4459ba81fafaeeee56d268efead5b6b5638e451ee83e8c98f90e912cc5fbd14" }, "downloads": -1, "filename": "pgpasslib-1.0.1.tar.gz", "has_sig": false, "md5_digest": "59340a35bebbec45ef6ec500e312a58d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4897, "upload_time": "2014-12-15T19:44:41", "url": "https://files.pythonhosted.org/packages/c5/23/98c6ffde7204541fd5fbff0528ca795823148f7efc225d64d997e762eeba/pgpasslib-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "102b88a355f94e7b3e031122683a4d35", "sha256": "76bb16a82d8c9aac4ecccedc6976e6515e2dcb104ef884f1644df007fb4faa63" }, "downloads": -1, "filename": "pgpasslib-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "102b88a355f94e7b3e031122683a4d35", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7465, "upload_time": "2016-04-19T19:03:16", "url": "https://files.pythonhosted.org/packages/e3/10/0fd9b22a3762670ca74f830115fcad3366d4631bc7d4915609d8da1d9d45/pgpasslib-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "18ebe9f1e560136880492abd90b54a61", "sha256": "fa04e9ae773e1c59544d4097f19c5c64594351968e3e8a96fd6d61e1fd21768c" }, "downloads": -1, "filename": "pgpasslib-1.0.2.tar.gz", "has_sig": false, "md5_digest": "18ebe9f1e560136880492abd90b54a61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4915, "upload_time": "2016-04-19T19:03:35", "url": "https://files.pythonhosted.org/packages/7c/e5/a2ad62c1118272304d921b1959e01e439fa31f6352c190d346b203f515ab/pgpasslib-1.0.2.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "b41dd22e30b60c91e2be6c52798c49c4", "sha256": "290084d524d07b8414d3457545c14ba7761cdcdc86350e9c9efbcb58210b77fc" }, "downloads": -1, "filename": "pgpasslib-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b41dd22e30b60c91e2be6c52798c49c4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7785, "upload_time": "2016-05-06T00:45:24", "url": "https://files.pythonhosted.org/packages/ef/7e/d93aaeac229141956853c282e94da3c3db3d592224344501e962b9485f4b/pgpasslib-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7ac6913e43548acadd3444ef7cac7cb1", "sha256": "f523050cb466f43526b2f4877bf2b1a1f09dfd7c7310e1e836c773f48bc10d27" }, "downloads": -1, "filename": "pgpasslib-1.1.0.tar.gz", "has_sig": false, "md5_digest": "7ac6913e43548acadd3444ef7cac7cb1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5228, "upload_time": "2016-05-06T00:45:30", "url": "https://files.pythonhosted.org/packages/25/f4/dadd63a080573bca4cc5b53882997207604810ebe12373d04d5a0c687237/pgpasslib-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b41dd22e30b60c91e2be6c52798c49c4", "sha256": "290084d524d07b8414d3457545c14ba7761cdcdc86350e9c9efbcb58210b77fc" }, "downloads": -1, "filename": "pgpasslib-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b41dd22e30b60c91e2be6c52798c49c4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7785, "upload_time": "2016-05-06T00:45:24", "url": "https://files.pythonhosted.org/packages/ef/7e/d93aaeac229141956853c282e94da3c3db3d592224344501e962b9485f4b/pgpasslib-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7ac6913e43548acadd3444ef7cac7cb1", "sha256": "f523050cb466f43526b2f4877bf2b1a1f09dfd7c7310e1e836c773f48bc10d27" }, "downloads": -1, "filename": "pgpasslib-1.1.0.tar.gz", "has_sig": false, "md5_digest": "7ac6913e43548acadd3444ef7cac7cb1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5228, "upload_time": "2016-05-06T00:45:30", "url": "https://files.pythonhosted.org/packages/25/f4/dadd63a080573bca4cc5b53882997207604810ebe12373d04d5a0c687237/pgpasslib-1.1.0.tar.gz" } ] }