Skip to main content

Python client for MarkLogic, built on the requests library

Project description

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.

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.

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

marklogic_python_client-1.0.0.tar.gz (11.6 kB view hashes)

Uploaded Source

Built Distribution

marklogic_python_client-1.0.0-py3-none-any.whl (12.6 kB view hashes)

Uploaded Python 3

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