Nextcloud Tasks API
A Nextcloud Tasks API wrapper with some useful examples for CLI
from nextcloudtasks import *
nextcloud = NextcloudTask("foo.bar.org:443/remote.php/dav/calendars/foobar/", "myList")
nextcloud.connect("username", "password")
nextcloud.printTODOs("summary,categories,created,priority")
nextcloud.close()
It is a custom API wrapper that is not developed nor maitained by Nextcloud.
Installation
pip install nextcloudtasks
Examples
The following example is a tool that manages the a Nextcloud TODO list from the command line. It can be found in examples
.nc-tasks.rc
[DEFAULT]
url=your.nextclouddomain.foo:443/remote.php/dav/calendars/youruser/
user=youruser
password=yourpassword
list=yourlist
nc-tasks.py:
Welcome to Nextcloud tasks CLI. Type help or ? to list commands.
(Nextcloud Tasks) ?
Documented commands (type help <topic>):
========================================
add complete delete exit list nextcloud print_all
close connect edit help load print
(Nextcloud Tasks) load
(Nextcloud Tasks) print
+---------+--------------------------------------+------------+----------+
| SUMMARY | UID | RELATED-TO | PRIORITY |
+---------+--------------------------------------+------------+----------+
| Task 2 | d4910d0e-e82f-474c-8b96-39d51a078820 | None | 0 |
| Task 3 | e823277e-08da-4e38-a98e-67f6e0301eb3 | None | 0 |
| Task 1 | de92dbda-afba-4bf3-b924-57b4db08f3f2 | None | 3 |
+---------+--------------------------------------+------------+----------+
Hacking
Pull requests are welcome.
License
Metadata
Release files for nextcloudtasks 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nextcloudtasks-0.1.0.tar.gz | 20.4 kB | Without provenance | Details for nextcloudtasks-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nextcloudtasks-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for nextcloudtasks-0.1.0-py3-none-any.whl |
Total release size: 40.0 kB
Release files / nextcloudtasks-0.1.0.tar.gz
| Download URL | nextcloudtasks-0.1.0.tar.gz |
|---|---|
| Size | 20.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db16ad2ef3bf1937c3fc0a564d4ca4d6853cee54e0eaa327b1098e01494e2650
|
|
BLAKE2b-256 checksum How to use checksums |
4154d0d1609d0eadb6d9821a5a88394aa66db8756fa470be5de6d5310de35996
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.2
|
Release files / nextcloudtasks-0.1.0-py3-none-any.whl
| Download URL | nextcloudtasks-0.1.0-py3-none-any.whl |
|---|---|
| Size | 19.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a43fd6bc76da5f4f4dc97bd67586d318286e8d4206c53409469222c802bb370e
|
|
BLAKE2b-256 checksum How to use checksums |
dbeb33d7481d1d99038008f00d6c1a5f2b9149368d97cbe8e844ac01414936fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.2
|
Security for nextcloudtasks 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.