Skip to main content

A module for interacting with TaskPaper formatted documents

Project description

python-taskpaper is a Python module for interacting with Taskpaper-formatted documents.

What does it do?

So far? Not much. You can open, read and write TaskPaper documents, and add or remove tags on items within that document, but that’s about it. I’d like to expand it to be much more powerful, but it depends on when I have free time.

I will probably change the API in a non-backwards compatible way before 1.0. User beware.

Look in the docs directory for some examples of how I’m using it. I’ll write proper documentation soon.

What does it require?

To use this module, you need Python 2.7 or 3.3+. Those are the only versions of Python that I’m interested in testing or writing for. Standard library only (for now).

How do I install it?

You can install it from PyPI:

pip install python-taskpaper

Why write this? Why not use the built-in scripting?

Two reasons:

  1. I work with TaskPaper-formatted documents on Windows and Linux (for my day job), and the best AppleScript support in the world is utterly useless there. :-(

  2. I prefer Python to AppleScript and JavaScript.

I hate Python.

Good for you.

There’s built-in support for scripting the TaskPaper app with JavaScript or AppleScript, or Matt Gemmell has written a Ruby library that you could use. (I’d use Matt’s library if I actually knew any Ruby.)

How do I run the tests?

Install tox, ideally in a virtualenv:

pip install tox

then run the tests like so:

make test

This will run the tests, and show which lines aren’t covered by existing tests. I’m trying to get better at writing tests with good coverage.

License

The project is licensed under the MIT license.

Project details


Download files

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

Source Distribution

python-taskpaper-0.3.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file python-taskpaper-0.3.tar.gz.

File metadata

File hashes

Hashes for python-taskpaper-0.3.tar.gz
Algorithm Hash digest
SHA256 633490b05bde102f0212d662e786c994a502a57f31c07af9994841169778a98b
MD5 3fb1124dc2e00ea2febcde2fa2be01c8
BLAKE2b-256 1dff60c315960b044308fffeeea7435e97f85ce8071430f7a31ec0b396eed052

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page