MarkLogic Python Client
The Python requests library allows Python developers to easily create
applications that communicate with the MarkLogic REST API. The
MarkLogic Python Client further simplifies usage of the requests library by supporting common authentication
strategies with MarkLogic and improving the user experience with some of the more common endpoints in the MarkLogic
REST API.
The client requires Python 3.9 or higher. It is available at PyPI and can be installed via pip:
pip install marklogic-python-client
The client's sole dependency with MarkLogic is on the MarkLogic REST API. MarkLogic 10 and higher is supported, and earlier versions of MarkLogic that support the MarkLogic REST API are likely to work as well though are not tested.
An instance of the client can be easily created and then used in the exact same way as the requests API:
from marklogic import Client
client = Client("http://localhost:8000", digest=("python-user", "pyth0n"))
response = client.get("/v1/search", params={"q": "marklogic and python", "pageLength": 100})
Please see the user guide to start using the client.
Metadata
Release files for marklogic-python-client 1.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| marklogic_python_client-1.3.1.tar.gz | 23.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| marklogic_python_client-1.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 53.9 kB
Release files / marklogic_python_client-1.3.1.tar.gz
| Download URL | marklogic_python_client-1.3.1.tar.gz |
|---|---|
| Size | 23.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5de37cdf7a3a334bb1f4cd870cbdba76e9d830acf91501ade90b307e19a1ccdf
|
|
BLAKE2b-256 checksum How to use checksums |
c46ea6e4c4de05edaaa7d6c34ea0d614adef0acf120ab42298339b3af1544023
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.11.5 Darwin/25.2.0
|
Release files / marklogic_python_client-1.3.1-py3-none-any.whl
| Download URL | marklogic_python_client-1.3.1-py3-none-any.whl |
|---|---|
| Size | 30.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a65cf5ebac885008d1d8e95a6acf1589bf599f9273c289c92150058e5d7c2eb
|
|
BLAKE2b-256 checksum How to use checksums |
60a99dce5d2ebc4f67db57f757c523ccd3073189a27417427b51273792aee1b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.11.5 Darwin/25.2.0
|