Skip to main content

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.

Metadata

Release files for nextcloud-async 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nextcloud-async 0.0.10
File Size Uploaded
nextcloud_async-0.0.10.tar.gz 57.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nextcloud-async 0.0.10
File Interpreter ABI Platform
nextcloud_async-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 108.8 kB

Release files / nextcloud_async-0.0.10.tar.gz

Download URL nextcloud_async-0.0.10.tar.gz
Size 57.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a0c8e92d5567925bc97812d2e755a06f5ad9a6b8da0ac0d0c0faa8558678d284
BLAKE2b-256 checksum
How to use checksums
18cc56e6d9d1e77bd96556bfeee1a352e8eaf9c651d27000ef369162ec0c44e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / nextcloud_async-0.0.10-py3-none-any.whl

Download URL nextcloud_async-0.0.10-py3-none-any.whl
Size 50.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
059f395e8087aab44e009e54e84cdc6427309a8dc60f9d27eeaf3dc3b491c2ef
BLAKE2b-256 checksum
How to use checksums
a11c22f16f709dc51c5133e4b3d925fb1efb889c4ea07e323a070920003d152c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page