Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Functions to manage the 2DoApp from the command line.

Project Description

Description

This package provides a library twodolib and a command line utility task2do to add tasks, projects and checklists on OS X to the 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.

The task2do command supports creating such URLs from the command line. To print an URL of such a task, enter:

task2do "Save the world."

which prints the URL to stdout:

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 in your standard list in 2Do

Features

  • runs with Python 3 and Python 2
  • 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.

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

Install

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

Dependencies

  • wheel

For testing:

  • mock

License

  • Free software: ISC license

History

0.2.1 (unreleased)

  • fixed classifier in setup.py

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.
Release History

Release History

This version
History Node

0.2.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
twodolib-0.2.0-py2.py3-none-any.whl (8.8 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Sep 20, 2015
twodolib-0.2.0.tar.gz (20.9 kB) Copy SHA256 Checksum SHA256 Source Sep 20, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting