![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
pgpasslib is a library for retrieving passwords from a PostgreSQL password
file, either from a location specified in the PGPASSFILE
environment
variable or in the .pgpass
file in the current user's home directory.
|Version| |Downloads| |Status| |Coverage| |CodeClimate|
pgpasslib may be installed via the Python package index with the tool of your choice. I prefer pip:
.. code:: bash
pip install pgpasslib
https://pgpasslib.readthedocs.org
There are no requirements outside of the Python standard library.
The following example will attempt to get the password for PostgreSQL running
on localhost:5432
to the postgres
database as the postgres
user.
.. code:: python
import pgpasslib
password = pgpasslib.getpass('localhost', 5432, 'postgres', 'postgres')
if not password:
raise ValueError('Did not find a password in the .pgpass file')
Available at https://pgpasslib.readthedocs.org
.. |Version| image:: https://img.shields.io/pypi/v/pgpasslib.svg? :target: https://pypi.python.org/pypi/pgpasslib
.. |Status| image:: https://img.shields.io/travis/gmr/pgpasslib.svg? :target: https://travis-ci.org/gmr/pgpasslib
.. |Coverage| image:: https://img.shields.io/codecov/c/github/gmr/pgpasslib.svg? :target: https://codecov.io/github/gmr/pgpasslib?branch=master
.. |Downloads| image:: https://img.shields.io/pypi/dm/pgpasslib.svg? :target: https://pypi.python.org/pypi/pgpasslib
.. |CodeClimate| image:: https://codeclimate.com/github/gmr/pgpasslib/badges/gpa.svg :target: https://codeclimate.com/github/gmr/pgpasslib :alt: Code Climate
FAQs
Library for getting passwords from PostgreSQL password files
We found that pgpasslib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.