A module for interacting with TaskPaper-styled documents
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?
- 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. :-(
I hate Python.
Good for you.
How do I run the tests?
Install pytest, pytest-cov and hypothesis:
pip install pytest pytest-cov hypothesis
then run the tests like so:
py.test --cov-report term-missing --cov taskpaper tests
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.
The project is licensed under the MIT license.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size python-taskpaper-0.1a.tar.gz (4.7 kB)||File type Source||Python version None||Upload date||Hashes View|