Aerospike

Latest version: v16.0.2

Safety actively analyzes 722032 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 13 of 17

2.0.0

Announcing the Python Client Release 2.0.0

This is a big release which adds support for **Python 3**.
The methods [`exists`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.exists), [`get`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.get), and [`select`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.select) **now raise** a [`RecordNotFound`](http://www.aerospike.com/apidocs/python/exception.html#aerospike.exception.RecordNotFound) exception. In the past you always got back a [record tuple](http://www.aerospike.com/apidocs/python/client.html#aerospike-record-tuple) of (_key_, _meta_, _bins_), then had to check for `meta is not None` to identify a non-existent record.

Features
- **Python 3 compatible** (>= 3.4). _CLIENT-603_
- Upgraded to C client [4.0.0](http://www.aerospike.com/download/client/c/notes.html#4.0.0).
- Raise a [`RecordNotFound`](http://www.aerospike.com/apidocs/python/exception.html#aerospike.exception.RecordNotFound) exception when a record is not found. _CLIENT-533_
- [`aerospike.Client.is_connected()`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.is_connected) tests the client’s connections to the nodes. _CLIENT-625_
- Added list operators to [`aerospike.Client.operate()`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.operate). _CLIENT-641_
- Added the scan option [`include_ldt`](http://www.aerospike.com/apidocs/python/scan.html#scan-options). _CLIENT-609_
- Added the [`compression_threshold`](http://www.aerospike.com/apidocs/python/aerospike.html#aerospike.client) config param to the client. _CLIENT-626_
- Removed the deprecated classes `aerospike.Key`, `aerospike.LMap`, `aerospike.LSet`, `aerospike.LStack` . _CLIENT-394_

Fixes
- Fixed a bug where boolean items in a list got cast to integers by list operations. _CLIENT-632_
- Fixed issue 92 wrong exception raised by [`aerospike.LList.find_first`](http://www.aerospike.com/apidocs/python/llist.html#aerospike.LList.find_first). _CLIENT-607_
- Fixed enterprise edition tests. _CLIENT-642_

1.0.59

This release adds support for the [list operations API](http://www.aerospike.com/docs/guide/cdt-list.html), a feature requiring Aerospike server >= [3.7.1](http://www.aerospike.com/download/server/notes.html#3.7.1).

Features
- Implemented [`list_append`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.list_append), [`list_extend`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.list_extend), [`list_insert`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.list_insert), [`list_insert_items`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.list_insert_items), [`list_pop`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.list_pop), [`list_pop_range`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.list_pop_range), [`list_remove`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.list_remove), [`list_remove_range`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.list_remove_range), [`list_clear`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.list_clear), [`list_set`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.list_set), [`list_get`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.list_get), [`list_get_range`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.list_get_range), [`list_trim`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.list_trim), [`list_size`](https://pythonhosted.org/aerospike/client.html#aerospike.Client.list_size). _CLIENT-560_

1.0.58

This release adds support for [geospatial index and query](http://www.aerospike.com/docs/guide/geospatial.html), a feature requiring Aerospike server >= [3.7.0](http://www.aerospike.com/download/server/notes.html#3.7.0.1).

Features
- Enhanced geospatial queries with new predicates [`geo_within_geojson_region`](http://www.aerospike.com/apidocs/python/predicates.html#aerospike.predicates.geo_within_geojson_region), [`geo_within_radius`](http://www.aerospike.com/apidocs/python/predicates.html#aerospike.predicates.geo_within_radius), [`geo_contains_geojson_point`](http://www.aerospike.com/apidocs/python/predicates.html#aerospike.predicates.geo_contains_geojson_point), and [`geo_contains_point`](http://www.aerospike.com/apidocs/python/predicates.html#aerospike.predicates.geo_contains_point). _CLIENT-601_
- Added support for Amazon environments such as EMR. Thanks ramrengaswamy and BeeswaxIO

Fixes
- Fixed case where a wrong exception was thrown for error status 160. _CLIENT-600_
- Fixed a bug where as_geojson was not casting back to aerospike.GeoJSON. _CLIENT-628_

1.0.57

Features
- Added `aerospike.null` to be used for removing bins with write operations. Using this value with an `aerospike.Client.put` is equivalent to calling [`aerospike.Client.remove_bin`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.remove_bin) on that bin.
- Added a config param `strict_types` (default: `True`) for controlling whether the client does type checking for write operations. _CLIENT-582_, _CLIENT-574_
- Updated the documentation for [multi-ops](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.operate) and regarding [seed nodes](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.connect).

Fixes
- Fixed issue 91, allowing -1L as a valid bin value. _CLIENT-598_
- Fixed the client to respect an explicit lua [`user_path`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.udf_put) in its config. _CLIENT-597_
- Fixed the touch operation in [`aerospike.Client.operate`](http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.operate) to not require _bin_ or _val_. _CLIENT-584_
- Allow bin names to be null-terminated bytearrays. _CLIENT-581_
- Fixed false-negative tests. _CLIENT-602_

1.0.56

Features
- Releasing the GIL around key-value operations. _CLIENT-528_
- Added the [_batch_direct_](https://pythonhosted.org/aerospike/aerospike.html#aerospike.client) config param for manual control over the [batch protocol](http://www.aerospike.com/docs/guide/batch.html#server-configuration). _CLIENT-569_
- Added [RHEL 7 support](https://github.com/aerospike/aerospike-client-python/pull/86). Thanks bharathbrat
- Added Ubuntu 15 support. Thanks lwille.
- Updated the [manual build document](https://github.com/aerospike/aerospike-client-python/blob/master/BUILD.md).

Fixes
- Fixed issue 85 - installer error in environments where the user does not have permission to copy system Lua files to the correct directory. Thanks RonRothman
- Fixed issue 82 - vary the shared-memory [cluster tending key](https://pythonhosted.org/aerospike/aerospike.html#aerospike.client) by host; added [shm_key()](https://pythonhosted.org/aerospike/client.html#aerospike.Client.shm_key). _CLIENT-71_.
- Fixed a bug occuring in get_nodes when the cluster had one node. _CLIENT-566_
- Fixed a bug in client config when the host address is a unicode string. _CLIENT-556_
- Fixed issue 88 - expanded the function signature for [loggers](https://pythonhosted.org/aerospike/aerospike.html#aerospike.set_log_handler).
- Fixed [increment()](https://pythonhosted.org/aerospike/client.html#aerospike.Client.increment) to require an integer value. _CLIENT-571_
- Fixed a parsing bug in info(). _CLIENT-118_
- Fixed an incorrect exception raised for callback function errors. _CLIENT-555_
- Fixed tests containing the deprecated scan_info to use job_info. _CLIENT-573_
- Fixed an inaccurate geospatial test.
- Fixed typos in the API documentation. Thanks tigran-a

1.0.55

Features
- Configuration support for connection pool size. _CLIENT-277_

Fixes
- Fixed the way the installer creates the Lua system path on OS X.

Page 13 of 17

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.