# nextcloud-async
## Asynchronous Nextcloud Client
This module provides an asyncio-friendly interface to public NextCloud APIs.
### Covered APIs
* File Management API
* User Management API
* Group Management API
* GroupFolders API
* App Management API
* LDAP Configuration API
* Status API
* Share API (except Federated shares)
* Talk/spreed API
* Notifications API
* Login Flow v2 API
* Remote Wipe API
* Maps API
### APIs To Do
* Sharee API
* Reaction API
* User Preferences API
* Federated Shares API
* Cookbook API
* Passwords API
* Notes API
* Deck API
* Calendar CalDAV API
* Tasks CalDAV API
* Contacts CardDAV API
If you know of any APIs missing from this list, please open an issue at
https://github.com/aaronsegura/nextcloud-async/issues with a link to
the API documentation so it can be added. This project aims to eventually
cover any API provided by NextCloud and commonly used NextCloud apps.
### Example Usage
import httpx
import asyncio
from nextcloud_async import NextCloudAsync
nca = NextCloudAsync(
client=httpx.AsyncClient(),
endpoint='http://localhost:8181',
user='user',
password='password')
async def main():
users = await nca.get_users()
tasks = [nca.get_user(user) for user in users]
results = await asyncio.gather(*tasks)
for user_info in results:
print(user_info)
if __name__ == "__main__":
asyncio.run(main())
----
This project is not endorsed or recognized in any way by the NextCloud
project.
Raw data
{
"_id": null,
"home_page": null,
"name": "nextcloud-async",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "nextcloud, asynchronous, spreed",
"author": "Aaron Segura",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/77/31/4e2801de9c7df2d6f72758b1dd6014a116976dafcac4d35efdc7e89d9004/nextcloud_async-0.0.7.tar.gz",
"platform": null,
"description": "# nextcloud-async\n## Asynchronous Nextcloud Client\n\nThis module provides an asyncio-friendly interface to public NextCloud APIs.\n\n### Covered APIs\n* File Management API\n* User Management API\n* Group Management API\n* GroupFolders API\n* App Management API\n* LDAP Configuration API\n* Status API\n* Share API (except Federated shares)\n* Talk/spreed API\n* Notifications API\n* Login Flow v2 API\n* Remote Wipe API\n* Maps API\n\n### APIs To Do\n* Sharee API\n* Reaction API\n* User Preferences API\n* Federated Shares API\n* Cookbook API\n* Passwords API\n* Notes API\n* Deck API\n* Calendar CalDAV API\n* Tasks CalDAV API\n* Contacts CardDAV API\n\nIf you know of any APIs missing from this list, please open an issue at\nhttps://github.com/aaronsegura/nextcloud-async/issues with a link to\nthe API documentation so it can be added. This project aims to eventually\ncover any API provided by NextCloud and commonly used NextCloud apps.\n\n### Example Usage\n import httpx\n import asyncio\n from nextcloud_async import NextCloudAsync\n\n nca = NextCloudAsync(\n client=httpx.AsyncClient(),\n endpoint='http://localhost:8181',\n user='user',\n password='password')\n\n async def main():\n users = await nca.get_users()\n tasks = [nca.get_user(user) for user in users]\n results = await asyncio.gather(*tasks)\n for user_info in results:\n print(user_info)\n\n if __name__ == \"__main__\":\n asyncio.run(main())\n\n----\nThis project is not endorsed or recognized in any way by the NextCloud\nproject.\n",
"bugtrack_url": null,
"license": "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"summary": "Asynchronous client library for Nextcloud",
"version": "0.0.7",
"project_urls": {
"Bug Tracker": "https://github.com/aaronsegura/nextcloud-async/issues",
"Homepage": "https://github.com/aaronsegura/nextcloud-async"
},
"split_keywords": [
"nextcloud",
" asynchronous",
" spreed"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "af72dcb363ce7f6163c7e8535a83bf6b07044f89e798ab1187020eefa06c5a00",
"md5": "9469102eab602cd30c8575939ca39d76",
"sha256": "0f5078dcf85ffd5acbdd2c834ceb13b50914df382d2efb965da84b79469bcf01"
},
"downloads": -1,
"filename": "nextcloud_async-0.0.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9469102eab602cd30c8575939ca39d76",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 50724,
"upload_time": "2024-11-10T13:03:14",
"upload_time_iso_8601": "2024-11-10T13:03:14.104791Z",
"url": "https://files.pythonhosted.org/packages/af/72/dcb363ce7f6163c7e8535a83bf6b07044f89e798ab1187020eefa06c5a00/nextcloud_async-0.0.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "77314e2801de9c7df2d6f72758b1dd6014a116976dafcac4d35efdc7e89d9004",
"md5": "7e16db7ad61aa0c42f0f08fbfb000aa4",
"sha256": "9c1d56018bbcbf25e4f68b32e136856118013148e9898ba5713bb82818fff42e"
},
"downloads": -1,
"filename": "nextcloud_async-0.0.7.tar.gz",
"has_sig": false,
"md5_digest": "7e16db7ad61aa0c42f0f08fbfb000aa4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 58038,
"upload_time": "2024-11-10T13:03:15",
"upload_time_iso_8601": "2024-11-10T13:03:15.206037Z",
"url": "https://files.pythonhosted.org/packages/77/31/4e2801de9c7df2d6f72758b1dd6014a116976dafcac4d35efdc7e89d9004/nextcloud_async-0.0.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-10 13:03:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "aaronsegura",
"github_project": "nextcloud-async",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "nextcloud-async"
}