Skip to main content

Document Library API for Python

Project description

Aerospike Document API (Python)

Python port of the Aerospike Document API in Java.

This is currently in beta, so there may be bugs or features that aren't supported yet.

More Info

Compatibility

  • Python 3.7.x - 3.9.13.
  • Aerospike Python Client 7.0.2

Features

Not all JSONPath queries are currently supported. Here is a list of currently supported features:

Supported? Feature Examples
[x] Map access $.item, $["item"]
[x] List access $.list[0]
[x] Wildcard map access $.*
[x] Wildcard list access $.list[*]
[x] List slices $.list[2:4]
[x] List step slices $.list[2:4:1]
[x] List set of indices $.list[2,4]
[x] Recursive access $..item
[x] Exists filter $.listOfMaps[?(@.mapitem)]
[x] Comparison filter $.listOfMaps[?(@.mapitem > 10)]
[x] And filter $.listOfMaps[?(@.mapitem > 10 & @.mapitem < 50)]
[x] Or filter $.listOfMaps[?(@.mapitem < 10 | @.mapitem > 50)]
[ ] Variable filter $.listOfMaps[?(@.mapitem < $['rootitem'])]
[x] Regex filter* $.listOfMaps[?(@.mapitem =~ "(?i).*mesa")]
[-] Functions $.list.length() supported

* Python regex expressions are used

Contributing

To add features to this project, please see CONTRIBUTING.md in the repository source code.

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

document-lib-python-0.1.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

document_lib_python-0.1.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file document-lib-python-0.1.0.tar.gz.

File metadata

  • Download URL: document-lib-python-0.1.0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for document-lib-python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8a9f3b801f376f2d69017a46353b828b2e082010730e0cefcdb8e38e4408b3df
MD5 eb0634487b33d69c87687a35d6e2f3c5
BLAKE2b-256 44ff79d16ab56ffc1bb7efa1f40c615888792362f378da2c64153634fd6605a9

See more details on using hashes here.

File details

Details for the file document_lib_python-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for document_lib_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2df117028e69e4f2d3f885aac54395ebe616f84102ca98a186800a287fd273ff
MD5 ac97c264b404bf90010a05e292ce08c2
BLAKE2b-256 679215c27a3cdf539ce1583cf023b1ed3a4627d8a583bd9046852be1bc65a185

See more details on using hashes here.

Supported by

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