Skip to main content

twodolib - A commandline helper to add tasks to 2DoApp

https://img.shields.io/github/release/KarstenSchulz/twodolib.svg https://img.shields.io/coveralls/KarstenSchulz/twodolib.svg https://img.shields.io/requires/github/KarstenSchulz/twodolib.svg https://img.shields.io/pypi/v/twodolib.svg https://img.shields.io/github/license/KarstenSchulz/twodolib.svg

Description

This package provides the library twodolib and a command line utility task2do to add tasks, projects and checklists to the macOS App 2DoApp from the command line.

Since version 1.5 (Mac) 2Do supports adding tasks by using an URL scheme. For example, if you want to add the task Save the world., you can open the URL:

twodo://x-callback-url/add?task=Save%20the%20world.

to add this task to your 2Do App (see: https://www.2doapp.com/kb/article/url-schemes.html)

The task2do command supports creating such URLs from the command line. To print such an URL for a task without adding it, just enter:

task2do "Save the world."

which prints the URL to stdout like this:

twodo://x-callback-url/add?task=Save%20the%20world.

If you want to actually add the task to your 2Do App, use the -e or --execute option:

task2do -e "Save the world."
# no output here, but the task should be added into your standard list in 2Do

Features

  • runs with Python 3 (if you need py27 support please use release 0.4.0)

  • Create tasks on the command line and show the corresponding URL scheme, for copy and pasting it.

  • Create tasks on the command line and open the corresponding URL scheme to send it to 2DoApp

See the documentation at http://twodolib.readthedocs.org/en/latest/

Install

See docs/installation.rst (It’s just pip install twodolib)

Dependencies

  • wheel

License

  • Free software: ISC license

History

0.5.4 (2019-07-28)

updated HISTORY.txt file (gosh!)

0.5.3 (2019-07-28)

removes unnecessary dependencies.

0.5.2 (2019-07-15)

Updated requirements.

0.5.1 (2018-11-14)

Please update, because package requests was updated for security reasons!

  • updated requirements

0.5.0 (2018-08-08)

  • dropping Python 2.7 support

  • implemented forParentName

  • print taskid

0.4.0 (2018-08-07)

  • you can paste tasks now, even as subtasks of a project. See help or docs!

  • minor fixes

0.3.0 (2017-05-28)

  • added ‘action’ property of tasks (e.g. url, phone, …)

  • switched from webbrowser.open to subprocess.call([‘open’, …)

0.2.1 (2015-09-21)

  • fixed classifier in setup.py

  • fixed #3 - adding to lists works now.

0.2.0 (2015-09-20)

  • first public release.

0.1.0 (unreleased)

  • ADD: more commandline options implemented: repeat, due, dueTime, start

  • ADD: docs

0.0.1 (2015-09-14)

  • not released - pre alpha.

Metadata

Release files for twodolib 0.5.4

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

Source distribution (sdist)

Source distribution for twodolib 0.5.4
File Size Uploaded Provenance Actions
twodolib-0.5.4.tar.gz 23.7 kB Without provenance Details for twodolib-0.5.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for twodolib 0.5.4
File Interpreter ABI Platform Actions
twodolib-0.5.4-py2.py3-none-any.whl Python 3, Python 2 none any Details for twodolib-0.5.4-py2.py3-none-any.whl

Total release size: 32.8 kB

Release files / twodolib-0.5.4.tar.gz

Download URL twodolib-0.5.4.tar.gz
Size 23.7 kB
Tags Source
SHA-256 checksum
How to use checksums
882fc71165b9679f64f4f04cafa7625e4be004dd66458f84761ff3d5fa36dfaa
BLAKE2b-256 checksum
How to use checksums
1d0605c9ff56a54c5ba1df765e3a534fc328893a86ebd57f790c62499f0b6a66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.6

Release files / twodolib-0.5.4-py2.py3-none-any.whl

Download URL twodolib-0.5.4-py2.py3-none-any.whl
Size 9.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
79025060e61bdb72d392ae9249440e0d7e9de49266d69f9a37647e110080f333
BLAKE2b-256 checksum
How to use checksums
cb43bb85f9331698f0b233623b87804423bf9c4282f5a357aeb30b1c0212b46d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.6

Security for twodolib 0.5.4

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.

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