acsylla
A high performance asynchronous Cassandra and ScyllaDB client
What it is and what it does
Acsylla is a high-performance async Python client for Cassandra and ScyllaDB built on top of a modern C/C++ driver. It provides shard-aware connection routing, connection pooling, automatic node discovery, and support for simple, prepared, and batch statements. The library is designed for asyncio-based applications and handles asynchronous I/O, parallel execution, and request pipelining natively.
The package targets developers building async applications that need to query Cassandra or ScyllaDB clusters. It supports authentication, SSL, latency-aware routing, configurable load balancing policies, and metadata retrieval. The API exposes rows as objects with multiple access patterns (dict, list, tuple, or attribute access), and includes features like execution profiles, tracing, and host state change callbacks.
Use it for:
- Build async web services or microservices that query Cassandra/ScyllaDB without blocking the event loop.
- Implement connection pooling and shard-aware routing for high-throughput, low-latency database access in production clusters.
- Execute prepared statements and batch operations concurrently across multiple requests in an asyncio application.
- Configure custom load balancing, retry policies, and authentication for complex cluster topologies.
- Retrieve cluster metadata, monitor host state changes, and implement speculative execution for resilient queries.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Acsylla is an async Python client library for Cassandra and ScyllaDB that wraps a modern C/C++ driver to provide shard-aware, high-performance database access.
Yes, if you need async Cassandra/ScyllaDB access in a modern Python application. The library is actively maintained, has no known vulnerabilities, supports recent Python versions with prebuilt wheels, and offers a comprehensive feature set including shard-awareness and connection pooling. Medium install friction is acceptable for most deployments. The dual Apache/MIT license poses no restrictions.
Install
acsylla on PyPI
pip
pip install acsyllauv
uv add acsyllapoetry
poetry add acsyllaInstalling acsylla
Before you install
Medium install friction due to compiled wheels. Prebuilt binaries are available for Python 3.10–3.13 on macOS and Linux (x86_64, aarch64, musllinux), but older Python versions and other platforms require building from source. Maintenance is active with a recent release.
License in practice
Licensed under both Apache and MIT (permissive dual licensing), so you can choose the terms that suit your project with no restrictions on commercial use or modification.
Quickstart
import acsylla
import asyncio
async def main():
cluster = acsylla.create_cluster(["localhost"])
session = await cluster.create_session()
result = await session.query("SELECT * FROM table")
async for row in result:
print(row.as_dict())
asyncio.run(main())
Requires a running Cassandra or ScyllaDB cluster to connect to; compiled C/C++ extension requires a compatible Python version (3.10–3.13 have prebuilt wheels; 3.9 and 3.14 require building from source).
Verify before relying
- Whether Python 3.9 and 3.14 wheels are available or if source build is mandatory for those versions.
- Performance benchmarks comparing acsylla to other async Cassandra drivers.
- Whether the C/C++ driver dependency is vendored or requires system installation.
Package facts
| License | not declared (permissive) |
| Python support | not specified |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 25 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 385,948/month — #7,056 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: acsylla-1.1.0-cp310-cp310-macosx_10_9_universal2.whl; acsylla-1.1.0-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; acsylla-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; acsylla-1.1.0-cp310-cp310-musllinux_1_2_aarch64.whl; acsylla-1.1.0-cp310-cp310-musllinux_1_2_x86_64.whl; acsylla-1.1.0-cp311-cp311-macosx_10_9_universal2.whl; acsylla-1.1.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; acsylla-1.1.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; acsylla-1.1.0-cp311-cp311-musllinux_1_2_aarch64.whl; acsylla-1.1.0-cp311-cp311-musllinux_1_2_x86_64.whl; acsylla-1.1.0-cp312-cp312-macosx_10_13_universal2.whl; acsylla-1.1.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; acsylla-1.1.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; acsylla-1.1.0-cp312-cp312-musllinux_1_2_aarch64.whl; acsylla-1.1.0-cp312-cp312-musllinux_1_2_x86_64.whl; acsylla-1.1.0-cp313-cp313-macosx_10_13_universal2.whl; acsylla-1.1.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; acsylla-1.1.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; acsylla-1.1.0-cp313-cp313-musllinux_1_2_aarch64.whl; acsylla-1.1.0-cp313-cp313-musllinux_1_2_x86_64.whl
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
scylla-driverA Python client library for querying and…
permissive · top 5,000 on PyPI
cassandra-driverA Python client library for Apache Cassandra…
permissive · top 5,000 on PyPI
cqlshcqlsh is a command-line client for executing…
permissive · top 15,000 on PyPI
asyncmyasyncmy is an asyncio-native MySQL/MariaDB…
permissive · top 5,000 on PyPI
cassandra-sigv4Adds AWS Signature Version 4 authentication to…
permissive · top 15,000 on PyPI
opentelemetry-instrumentation-cassandraAdds distributed tracing instrumentation to…
permissive · top 5,000 on PyPI
cassiocassIO integrates Apache Cassandra with machine…
permissive · top 15,000 on PyPI
impylaimpyla is a Python DB API 2.0-compliant client…
permissive · top 5,000 on PyPI
azure-kusto-dataQuery and interact with Microsoft Azure Kusto…
permissive · top 5,000 on PyPI
hopsworks-aiomysqlAsync MySQL database driver for Python asyncio…
permissive · top 15,000 on PyPI