# 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": "",
"name": "nextcloud-async",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "",
"keywords": "nextcloud,asynchronous,spreed",
"author": "Aaron Segura",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/40/8e/bb362aa1522d3f8ef3ee01df275fa9bd43664de183193d64dffc7614c8dd/nextcloud_async-0.0.6.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.6",
"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": "14b8ff99c5879a6158177c3fd56f5f159cb7a2c9818573bc75d17b0b54ab0af5",
"md5": "9374d62aeeb01e6d3491571a297cabf2",
"sha256": "35160b359c7307fa0c59aac0a9544a0c39dd85f167415d7b9ad8eff9591076c4"
},
"downloads": -1,
"filename": "nextcloud_async-0.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9374d62aeeb01e6d3491571a297cabf2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 50599,
"upload_time": "2023-09-16T11:24:52",
"upload_time_iso_8601": "2023-09-16T11:24:52.984519Z",
"url": "https://files.pythonhosted.org/packages/14/b8/ff99c5879a6158177c3fd56f5f159cb7a2c9818573bc75d17b0b54ab0af5/nextcloud_async-0.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "408ebb362aa1522d3f8ef3ee01df275fa9bd43664de183193d64dffc7614c8dd",
"md5": "1653b73ce113fac502a315f569e369df",
"sha256": "f86010548d3d97fbf3bab774c1ba9ba3cc3413efb496f5b6350ba3104e282c0e"
},
"downloads": -1,
"filename": "nextcloud_async-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "1653b73ce113fac502a315f569e369df",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 57897,
"upload_time": "2023-09-16T11:24:54",
"upload_time_iso_8601": "2023-09-16T11:24:54.747883Z",
"url": "https://files.pythonhosted.org/packages/40/8e/bb362aa1522d3f8ef3ee01df275fa9bd43664de183193d64dffc7614c8dd/nextcloud_async-0.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-16 11:24:54",
"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"
}