Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cob_ai-0.1.4-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

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

Hashes for cob_ai-0.1.4.tar.gz
Algorithm Hash digest
SHA256 dbabc1a03d9dbc8fddfcc252c7b825bde6f2f625acedda681bc5c5d2bb81542d
MD5 f96be9ffc92d256538ff1d868d996c21
BLAKE2b-256 3fb461f6169e365e4b4ff68612b40ad68ccd40001a7e1bf9117fbc32705bf716

See more details on using hashes here.

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

Hashes for cob_ai-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8289055a9f661f6df6f48e4e8077eab97257f23d69962e6e7bfcf6292ef36925
MD5 e84f8a1ec61cd420d967df2b8c8180bd
BLAKE2b-256 24fb696a3ecfcf97a23e259f28ce5f7e9348fb6fc255cdd02344abd9055d9e1e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page