aerospike
Aerospike Client Library for Python
What it is and what it does
Aerospike is a Python client library that connects your application to Aerospike, a distributed NoSQL database. It provides methods to read, write, update, and delete records stored on an Aerospike server, as well as query and batch operations. The library is built as a compiled extension with precompiled wheels for common platforms (macOS, Linux, Windows) and Python versions, making installation straightforward in most environments.
The client requires an Aerospike server 4.9 or later to be running and reachable over the network. It has no Python runtime dependencies, only a network connection to the database. Installation typically uses precompiled binaries, though source builds are available if needed. The package is actively maintained and supports modern Python versions.
Use it for:
- Store and retrieve key-value data from an Aerospike cluster in a Python application.
- Perform batch read or write operations to Aerospike for bulk data synchronization.
- Query Aerospike secondary indexes or scan records matching specific criteria.
- Integrate Aerospike as a cache or session store in a web application or microservice.
- Build data pipelines that read from or write to Aerospike as part of ETL workflows.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python client library for connecting to and querying Aerospike NoSQL database servers, supporting read, write, and data manipulation operations.
Yes, if you are using Aerospike as your database backend. The package is actively maintained, has no external Python dependencies, and provides precompiled binaries for most platforms. Ensure your Aerospike server is version 4.9 or later and reachable from your application environment before installing.
Install
aerospike on PyPI
pip
pip install aerospikeuv
uv add aerospikepoetry
poetry add aerospikeInstalling aerospike
Before you install
Medium install friction due to compiled wheels for multiple platforms and Python versions (3.10–3.13). Precompiled binaries available for macOS, Linux, and Windows; source builds supported but require build tools. Package is actively maintained with recent releases.
License in practice
Licensed under Apache License, Version 2 (permissive). No restrictions on commercial use, modification, or redistribution as long as license terms are included.
Quickstart
pip install aerospike
import aerospike
config = {'hosts': [('127.0.0.1', 3000)]}
client = aerospike.client(config).connect()
Requires Aerospike server 4.9 or later running and accessible at the configured host and port.
Verify before relying
- Whether the package supports Python 3.14 as stated in the description or if that is aspirational.
- Current state of Alpine Linux support (described as unverified but not officially supported).
Package facts
| License | Apache Software License (permissive) |
| Python support | not specified |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 59 days since the last release |
| First released | |
| Downloads | 487,225/month — #6,388 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aerospike-19.2.2-cp310-cp310-macosx_14_0_arm64.whl; aerospike-19.2.2-cp310-cp310-macosx_14_0_x86_64.whl; aerospike-19.2.2-cp310-cp310-manylinux_2_28_aarch64.whl; aerospike-19.2.2-cp310-cp310-manylinux_2_28_x86_64.whl; aerospike-19.2.2-cp310-cp310-win_amd64.whl; aerospike-19.2.2-cp311-cp311-macosx_14_0_arm64.whl; aerospike-19.2.2-cp311-cp311-macosx_14_0_x86_64.whl; aerospike-19.2.2-cp311-cp311-manylinux_2_28_aarch64.whl; aerospike-19.2.2-cp311-cp311-manylinux_2_28_x86_64.whl; aerospike-19.2.2-cp311-cp311-win_amd64.whl; aerospike-19.2.2-cp312-cp312-macosx_14_0_arm64.whl; aerospike-19.2.2-cp312-cp312-macosx_14_0_x86_64.whl; aerospike-19.2.2-cp312-cp312-manylinux_2_28_aarch64.whl; aerospike-19.2.2-cp312-cp312-manylinux_2_28_x86_64.whl; aerospike-19.2.2-cp312-cp312-win_amd64.whl; aerospike-19.2.2-cp313-cp313-macosx_14_0_arm64.whl; aerospike-19.2.2-cp313-cp313-macosx_14_0_x86_64.whl; aerospike-19.2.2-cp313-cp313-manylinux_2_28_aarch64.whl; aerospike-19.2.2-cp313-cp313-manylinux_2_28_x86_64.whl; aerospike-19.2.2-cp313-cp313-win_amd64.whl
Keywords: aerospike, nosql, database
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
borneoPython SDK for connecting to Oracle NoSQL…
unclear · top 15,000 on PyPI
fdbFDB is a Python Database API 2.0-compliant…
permissive · top 15,000 on PyPI
ibm-dbPython driver for connecting to IBM Db2 for LUW…
permissive · top 5,000 on PyPI
ibmcloudantPython client library for IBM Cloudant and…
permissive · top 5,000 on PyPI
ytsaurus-clientProvides a Python client library for YTsaurus,…
permissive · top 15,000 on PyPI
teradatasqlA PEP-249 compliant Python database driver that…
unclear · top 5,000 on PyPI
google-cloud-firestorePython client library for Google Cloud…
permissive · top 1,000 on PyPI
google-cloud-datastorePython client library for Google Cloud…
permissive · top 5,000 on PyPI
couchbasePython client library for connecting to and…
permissive · top 5,000 on PyPI