Py4jdbc
Py4jdbc is a (mostly) dbapi 2.0 compliant interface to JDBC. It’s similar to JayDeBeAPI, but uses a much more efficient JVM backend process implemented with Py4j instead of JPype.
Install with pip
pip install py4jdbc
Install from source tarball
tar -zxf py4jdbc-V.X.Y.Z.tar.gz cd py4jdbc-V.X.Y.Z python setup.py install
Example
A simple example that starts a JVM subprocess:
from py4jdbc import connect
conn = connect("jdbc:postgresql://localhost/postgres, user="cow", password="moo")
cur = conn.cursor()
cur.execute("select 1 as cow;")
Metadata
Release files for py4jdbc 0.1.6.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py4jdbc-0.1.6.8.tar.gz | 22.9 kB | Without provenance | Details for py4jdbc-0.1.6.8.tar.gz |
Release files / py4jdbc-0.1.6.8.tar.gz
| Download URL | py4jdbc-0.1.6.8.tar.gz |
|---|---|
| Size | 22.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4992e4670bd5807dca7ef829e01c3f20516a7bd919b361a662940a01d9dbf12
|
|
BLAKE2b-256 checksum How to use checksums |
e650f60a9a70625c6d925f6992ea60b125728b224174d525436dc687dc277fd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for py4jdbc 0.1.6.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.