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.3.tar.gz (8.4 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.3-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file cob_ai-0.1.3.tar.gz.

File metadata

  • Download URL: cob_ai-0.1.3.tar.gz
  • Upload date:
  • Size: 8.4 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.3.tar.gz
Algorithm Hash digest
SHA256 d028f7d6ce763c25228b557d0934091833aa1c33a2c81296f7f00faffe8beb6f
MD5 a735e03609385a2cb848acad6e1804ea
BLAKE2b-256 75c88c76eb73435e2c823fe41d39d4d63a9fdf04efa2bb977566f4666a00bce2

See more details on using hashes here.

File details

Details for the file cob_ai-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: cob_ai-0.1.3-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.12.10

File hashes

Hashes for cob_ai-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3ac10b1e4d21e0acba427e5488682a7597020cfcdab364e82097fbe676c8d9dd
MD5 60a0fc90bb04bcd595fd7df0a660ceb8
BLAKE2b-256 e02dcab3d26767d32d2b0d06ea28a9867c64133cbbfe8c92eb00d6877ba300ca

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