Skip to main content

Python SQLAlchemy Dialect for JDBCAPI.

Project description

https://img.shields.io/pypi/dm/sqlalchemy-jdbcapi.svg

The primary purpose of this dialect is provide JDBC connection using required driver.

Installation

Installing the dialect is straightforward:

python3 -m pip install sqlalchemy-jdbcapi

Usage

PostgressSQL:

Set an environment variable  `PG_JDBC_DRIVER_PATH`
from sqlalchemy import create_engine
create_engine('jdbcapi+pgjdbc://{}:{}@{}/{}'.format(username, password, <ip:host>', <database name>))

Oracle:

Set an environment variable `ORACLE_JDBC_DRIVER_PATH`
create_engine("jdbcapi+oraclejdbc://username:password@HOST:1521/Database")

GenericJDBCConnection:

Set an environment variable `JDBC_DRIVER_PATH`

Supported databases

In theory every database with a suitable JDBC driver should work.

  • SQLite

  • Hypersonic SQL (HSQLDB)

  • IBM DB2

  • IBM DB2 for mainframes

  • Oracle

  • Teradata DB

  • Netezza

  • Mimer DB

  • Microsoft SQL Server

  • MySQL

  • PostgreSQL

  • many more…

Contributing

Please submit bugs and patches. All contributors will be acknowledged. Thanks!

Changelog

  • 1.1.0 - 2020-08-4 - Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqlalchemy_jdbcapi-1.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sqlalchemy_jdbcapi-1.1.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file sqlalchemy_jdbcapi-1.1.0.tar.gz.

File metadata

  • Download URL: sqlalchemy_jdbcapi-1.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9

File hashes

Hashes for sqlalchemy_jdbcapi-1.1.0.tar.gz
Algorithm Hash digest
SHA256 b58930e8fad5f114d86ad9d31be8e69080389343e9cc135ba79e2a72a8538c39
MD5 2ea7562dbe668122e298b532a5e0d7a5
BLAKE2b-256 1f14c5065ad3cf0e9b3fa91360e0cd795070a49875c964eb7ff7797b0202e4d4

See more details on using hashes here.

File details

Details for the file sqlalchemy_jdbcapi-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: sqlalchemy_jdbcapi-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9

File hashes

Hashes for sqlalchemy_jdbcapi-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9b6e1654bce02b09a65c3a960e89613ec91e54d16788095cf894d1bd27568adc
MD5 ad7e61676d290ea78fad059b71e1cada
BLAKE2b-256 1d659aa18cdad89f5c2061d70b71e3fbb5aa5552b910962fc2aa7c0aa5ebcd1b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page