$npx skillfedfor your agent

pyathenajdbc

Amazon Athena JDBC driver wrapper for the Python DB API 2.0 (PEP 249)

SkipPyPI Front-EndsReleased Dec 2020608.4K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — PyAthenaJDBC-3.0.1-py3-none-any.whl
v3.0.1 · released 2020-12-31 · Python >=3.6.1,<4.0.0 · 1 runtime deps: jpype1

No—not for new projects. The package is abandoned (last release 2020-12-31, repository archived 2023-09-20) and supports only Python 3.6–3.9, making it incompatible with modern Python versions. AWS Athena and its JDBC driver have evolved significantly since the last update, and there is no active maintenance to address compatibility issues. For current Athena access from Python, use boto3 with the AWS SDK or a maintained third-party driver.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Java >= 8 (JDBC 4.2) installed and accessible to jpype1; Python 3.6–3.9 only.
  • Installation is low-friction (pure Python wheel), but the package is abandoned as of 2023-09-20 with no active maintenance.
  • The repository is archived and the latest release dates to 2020-12-31.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and imposes no significant restrictions on use or redistribution.

last release 2020-12-31 (2052 days) · last repo commit 2023-09-20 · 94 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 608,404 downloads/mo, #5,780 on PyPI

Verify before relying

from pyathenajdbc import connect

conn = connect(S3OutputLocation='s3://YOUR_S3_BUCKET/path/to/',
               AwsRegion='us-west-2')
try:
    with conn.cursor() as cursor:
        cursor.execute('SELECT * FROM one_row')
        print(cursor.fetchall())
finally:
    conn.close()
  • Whether jpype1 dependency is compatible with modern Python versions beyond 3.9.
  • Current compatibility with recent AWS Athena JDBC driver versions and changes to Athena API.
  • Whether the package works reliably with modern Java versions (17+).
Same gist for agents: .md · .json

What it is and what it does

PyAthenaJDBC is a Python wrapper around the Amazon Athena JDBC driver that implements the DB API 2.0 standard (PEP 249). It allows you to execute SQL queries against Amazon Athena tables directly from Python code, handling the bridge between Python and the Java-based JDBC driver through jpype1.

The package supports basic query execution, cursor iteration, parameterized queries (using PyFormat style with named placeholders), and optional integration with SQLAlchemy (versions 1.0.0–1.x) and Pandas for result handling. You configure connections by specifying an S3 output location for query results and an AWS region, and can pass JVM options or JDBC driver configuration as keyword arguments. However, the project has been abandoned since late 2023 and is no longer maintained, meaning compatibility with current AWS Athena versions, modern Java runtimes, and Python versions beyond 3.9 is uncertain.

Use it for

  • Execute ad-hoc SQL queries against Athena tables from a Python script without setting up a separate database connection layer.
  • Integrate Athena query results into a Pandas DataFrame for data analysis workflows.
  • Build a Python application that uses SQLAlchemy ORM or query builder with Athena as the backend (SQLAlchemy 1.x only).
  • Automate batch data extraction from Athena into Python for ETL or reporting pipelines.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No—not for new projects.

The package is abandoned (last release 2020-12-31, repository archived 2023-09-20) and supports only Python 3.6–3.9, making it incompatible with modern Python versions. AWS Athena and its JDBC driver have evolved significantly since the last update, and there is no active maintenance to address compatibility issues. For current Athena access from Python, use boto3 with the AWS SDK or a maintained third-party driver.

Install

pyathenajdbc on PyPI

Before you install

Installation is low-friction (pure Python wheel), but the package is abandoned as of 2023-09-20 with no active maintenance. The repository is archived and the latest release dates to 2020-12-31. Relies on jpype1 to bridge to Java, which requires a working JVM (Java >= 8 for JDBC 4.2).

Requires Java >= 8 (JDBC 4.2) installed and accessible to jpype1; Python 3.6–3.9 only.

License in practice

MIT license is permissive and imposes no significant restrictions on use or redistribution.

Quickstart

from pyathenajdbc import connect

conn = connect(S3OutputLocation='s3://YOUR_S3_BUCKET/path/to/',
               AwsRegion='us-west-2')
try:
    with conn.cursor() as cursor:
        cursor.execute('SELECT * FROM one_row')
        print(cursor.fetchall())
finally:
    conn.close()

Verify before relying

  • Whether jpype1 dependency is compatible with modern Python versions beyond 3.9.
  • Current compatibility with recent AWS Athena JDBC driver versions and changes to Athena API.
  • Whether the package works reliably with modern Java versions (17+).

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.6.1,<4.0.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
jpype1
MaintenanceAbandoned 2,052 days since the last release
Last repo commit repository archived
First released
Downloads608,404 / month, #5,780 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: JavaProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Database :: Front-Ends

Evidence: PyAthenaJDBC-3.0.1-py3-none-any.whl

Tags

Capabilities
amazon athena python driverathena jdbc python wrapperdb api athena connectionpython athena sql queriesjdbc driver python interface
Topics
abandonedjava-bridgeaws-athena

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “amazon athena python driver”

  • pyathenajdbcPyAthenaJDBC wraps the Amazon Athena JDBC driver to provide a Python…
  • PyAthenaPyAthena is a Python DB API 2.0 client for Amazon Athena that lets…
  • dbt-athenadbt-athena is a dbt adapter that enables data transformation…

Give your agent the search over MCP, or paste the wish link into any chat.

More Front-Ends packages

SQLAlchemy Worth it
PyPI · Front-Ends · released Aug 2026

SQLAlchemy is a Python SQL toolkit and Object Relational Mapper (ORM) that provides both a high-level ORM layer for declarative object persistence and a Core SQL construction system for direct database abstraction and query building.

permissive licensepure Python · 3.7+
422.7Mdownloads / mo
psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
alembic Worth it
PyPI · Front-Ends · released Aug 2026

Alembic generates and manages database schema migrations for SQLAlchemy applications, handling version control of database structure changes with support for upgrades, downgrades, and auto-generation from model changes.

Install it if you use SQLAlchemy and need to version-control schema changes; skip it only if you manage migrations manually or use a different ORM entirely.

MITpure Python · 3.10+
215.2Mdownloads / mo
weaviate-client Worth it
PyPI · Front-Ends · released Aug 2026

A Python client library for connecting to and querying Weaviate, a vector database that enables semantic search and AI-powered data retrieval.

permissive licensepure Python · 3.10+
213.2Mdownloads / mo
databricks-sql-connector Worth it
PyPI · Front-Ends · released Jul 2026

A Python client library that connects to Databricks clusters and SQL warehouses using a Thrift-based protocol, conforming to the Python DB API 2.0 specification and supporting Arrow-based data exchange.

Install it if you need to query Databricks clusters or SQL warehouses from Python.

Apache-2.0pure Python
119.5Mdownloads / mo
psycopg Worth it
PyPI · Software Development · released May 2026

Psycopg 3 is a PostgreSQL database adapter for Python that enables applications to connect to, query, and manage PostgreSQL databases using Python code.

Install it if you need to connect Python to PostgreSQL.

LGPL-3.0-onlypure Python · 3.10+
117.0Mdownloads / mo

See also PyAthena · pydynamodb · dmpython · pythena · hdbcli · redshift-connector · JayDeBeApi · sqlalchemy-jdbcapi · dbt-athena · aws-advanced-python-wrapper