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.2.tar.gz
(8.4 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.2.tar.gz.
File metadata
- Download URL: cob_ai-0.1.2.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1f887c90683b01d69711201ebb29b0e770905e43c87a1603ff4ce74f4f2a61c
|
|
| MD5 |
69a5e10ebd17827e61cb8e63e87e2f55
|
|
| BLAKE2b-256 |
f59aad6d9e67f3a36c4b7e5baa73df14d4560c66982f5699bea4f71fd44c81e5
|
File details
Details for the file cob_ai-0.1.2-py3-none-any.whl.
File metadata
- Download URL: cob_ai-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00966b9c40c6e2c3d585dda9a2d18be87c6ab5a63a2291703d19aa9a3049fae6
|
|
| MD5 |
c6684ecb1a312d2f8af91b083bdbbe1e
|
|
| BLAKE2b-256 |
2360bea3787fd7b42354088615ed94700b7c4c2f0240a0778d28e4e51f68a9f0
|