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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for marklogic_python_client-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49816b8cf452e3a26f2066a92f406f526b0d8bf7c6f53079d479e3d01f9271bd |
|
MD5 | 293aaea6dbc80c28779c38f7cfbcdf3c |
|
BLAKE2b-256 | d6ddf8b74d91f74b1cc35221c99c6152a24511c3b85a4bfe6c0b831d94c4defa |
Close
Hashes for marklogic_python_client-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 321c29fc1fb89eea771143b7cda1f15701c9aa9351d198db925f1442f5a772af |
|
MD5 | 732b0b1dc88272ffe7d4184038ce9b86 |
|
BLAKE2b-256 | 003840408f307b3001548802e4e9a8110fd0352abca6c2d749918f2bec0dfb6e |