{"library":"pyjdbc","title":"pyjdbc","description":"A Python library that provides a DB-API 2.0 interface using JDBC drivers, enabling Python applications to connect to databases via JDBC bridges. Current version 0.2.2, with infrequent releases.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install pyjdbc"],"cli":null},"imports":["from pyjdbc import connect","from pyjdbc.drivers import apache_hive_driver"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from pyjdbc import connect\n\nconn = connect('jdbc:postgresql://localhost:5432/mydb', driver='/path/to/postgresql.jar', user='user', password='pass')\ncursor = conn.cursor()\ncursor.execute('SELECT 1')\nprint(cursor.fetchone())\ncursor.close()\nconn.close()","lang":"python","description":"Basic usage: connect using a JDBC URL and driver JAR path, then execute SQL.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}