Python client for the COB SharePoint search
Project description
COB AI
Python client for the COB SharePoint search API.
Installation
pip install cob-ai
Usage
from cob_ai import COB
# Initialize the client
client = COB(apikey="your-api-key", apiurl="https://your-api-url.com")
# Search SharePoint documents
results = client.search("your search query", top_n=10)
print(results)
# Trigger synchronization
sync_status = client.sync()
print(sync_status)
# Check sync status
status = client.status()
print(status)
Configuration
You can configure the client using environment variables:
COB_APIKEY: Your API key for authentication
Requirements
- Python 3.8+
- requests
- attrs
License
MIT License
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
cob_ai-0.1.4.tar.gz
(7.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cob_ai-0.1.4.tar.gz.
File metadata
- Download URL: cob_ai-0.1.4.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbabc1a03d9dbc8fddfcc252c7b825bde6f2f625acedda681bc5c5d2bb81542d
|
|
| MD5 |
f96be9ffc92d256538ff1d868d996c21
|
|
| BLAKE2b-256 |
3fb461f6169e365e4b4ff68612b40ad68ccd40001a7e1bf9117fbc32705bf716
|
File details
Details for the file cob_ai-0.1.4-py3-none-any.whl.
File metadata
- Download URL: cob_ai-0.1.4-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8289055a9f661f6df6f48e4e8077eab97257f23d69962e6e7bfcf6292ef36925
|
|
| MD5 |
e84f8a1ec61cd420d967df2b8c8180bd
|
|
| BLAKE2b-256 |
24fb696a3ecfcf97a23e259f28ce5f7e9348fb6fc255cdd02344abd9055d9e1e
|