| Name | cob-ai JSON |
| Version |
0.1.1
JSON |
| download |
| home_page | None |
| Summary | Python client for the COB SharePoint search |
| upload_time | 2025-09-17 08:24:15 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | >=3.8 |
| license | MIT License
Copyright (c) 2025 vondr
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
|
| keywords |
sharepoint
search
api
client
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# COB AI
Python client for the COB SharePoint search API.
## Installation
```bash
pip install cob-ai
```
## Usage
```python
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
Raw data
{
"_id": null,
"home_page": null,
"name": "cob-ai",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "sharepoint, search, api, client",
"author": null,
"author_email": "Lennart Timmermans <lennart@vondr.ai>",
"download_url": "https://files.pythonhosted.org/packages/55/93/9584b2cf896bc9106a273601e91a278e56da0aa1f265499b9361a4cf27fe/cob_ai-0.1.1.tar.gz",
"platform": null,
"description": "# COB AI\r\n\r\nPython client for the COB SharePoint search API.\r\n\r\n## Installation\r\n\r\n```bash\r\npip install cob-ai\r\n```\r\n\r\n## Usage\r\n\r\n```python\r\nfrom cob_ai import COB\r\n\r\n# Initialize the client\r\nclient = COB(apikey=\"your-api-key\", apiurl=\"https://your-api-url.com\")\r\n\r\n# Search SharePoint documents\r\nresults = client.search(\"your search query\", top_n=10)\r\nprint(results)\r\n\r\n# Trigger synchronization\r\nsync_status = client.sync()\r\nprint(sync_status)\r\n\r\n# Check sync status\r\nstatus = client.status()\r\nprint(status)\r\n```\r\n\r\n## Configuration\r\n\r\nYou can configure the client using environment variables:\r\n\r\n- `COB_APIKEY`: Your API key for authentication\r\n\r\n## Requirements\r\n\r\n- Python 3.8+\r\n- requests\r\n- attrs\r\n\r\n## License\r\n\r\nMIT License\r\n",
"bugtrack_url": null,
"license": "MIT License\r\n \r\n Copyright (c) 2025 vondr\r\n \r\n Permission is hereby granted, free of charge, to any person obtaining a copy\r\n of this software and associated documentation files (the \"Software\"), to deal\r\n in the Software without restriction, including without limitation the rights\r\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\n copies of the Software, and to permit persons to whom the Software is\r\n furnished to do so, subject to the following conditions:\r\n \r\n The above copyright notice and this permission notice shall be included in all\r\n copies or substantial portions of the Software.\r\n \r\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\n SOFTWARE.\r\n ",
"summary": "Python client for the COB SharePoint search",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/vondr/cob-ai",
"Issues": "https://github.com/vondr/cob-ai/issues",
"Repository": "https://github.com/vondr/cob-ai"
},
"split_keywords": [
"sharepoint",
" search",
" api",
" client"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "5e7ca4055e001cd3876beae63452bc797d3877bdd6366bd77ba15bdec0022958",
"md5": "a74ab03bbdeb5d1d7e7e19b7a54c9c8f",
"sha256": "a5a785aad5e4540acb5e52536bc5eae99881536bf4b7327158ffe69f871b25db"
},
"downloads": -1,
"filename": "cob_ai-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a74ab03bbdeb5d1d7e7e19b7a54c9c8f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 5876,
"upload_time": "2025-09-17T08:24:14",
"upload_time_iso_8601": "2025-09-17T08:24:14.660605Z",
"url": "https://files.pythonhosted.org/packages/5e/7c/a4055e001cd3876beae63452bc797d3877bdd6366bd77ba15bdec0022958/cob_ai-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "55939584b2cf896bc9106a273601e91a278e56da0aa1f265499b9361a4cf27fe",
"md5": "8be6cc5865cf66a203d6b499cdb41f09",
"sha256": "cbc5fe48b9c00cf948fee3e19ccb987e1ba7916c382ec5e684a735c2592b0b29"
},
"downloads": -1,
"filename": "cob_ai-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "8be6cc5865cf66a203d6b499cdb41f09",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 6359,
"upload_time": "2025-09-17T08:24:15",
"upload_time_iso_8601": "2025-09-17T08:24:15.842237Z",
"url": "https://files.pythonhosted.org/packages/55/93/9584b2cf896bc9106a273601e91a278e56da0aa1f265499b9361a4cf27fe/cob_ai-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-17 08:24:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "vondr",
"github_project": "cob-ai",
"github_not_found": true,
"lcname": "cob-ai"
}