Skip to main content

A Fast Command-line Interface for Trello

Project description

gtd.py
=======

A Fast Command-line Interface for Trello
---------------------------------------

This is a command-line tool that enables you to add, sort, and review cards on Trello rapidly. It is designed to reduce the amount of friction between your thoughts and your TODO list, especially if you never leave the terminal.

The project is named "gtd.py" because it was initially built as a tool for me to maintain a Trello board using the GTD_ task tracking method. I've been actively using this tool for GTD since the first commit; if you're trying to use GTD with Trello this is the tool for you.

Setup
------

::

$ pip install gtd.py
$ gtd onboard

The ``onboard`` command will assist you through the process of getting a Trello API key for use with this program and putting it in the correct file. This will happen automatically if you run a command that requires authentication without having your API keys set.


Configuration
--------------

The ``onboard`` command will help you create the configuration file interactively. If you prefer to do the process manually, Trello has a button on their website for temporarily creating an OAUTH key/token. That should be put in a yaml file formatted like this:

::

api_key: "your-api-key"
api_secret: "your-api-secret"
oauth_token: "your-oauth-token"
oauth_token_secret: "your-oauth-secret"


There are other optional settings you can define inside your yaml configuration file:

::

board: "Name of the Trello board you want to work with (case sensitive)"
color: True # Do you want to show ANSI colors in the terminal?
banner: True # Do you want to see the "gtd.py" banner on each program run?


All of these can be overridden on the command-line with the ``-b``, ``--no-color``, and ``--no-banner`` flags.

This configuration file can be put in a variety of locations within your home folder. The ``onboard`` command will help you with platform detection, putting the configuration file where appropriate given your operating system. When running, ``gtd``` will check all possible locations out of this list:

* ``~/.gtd.yaml``
* ``~/.config/gtd/gtd.yaml``
* ``~/Library/Application Support/gtd/gtd.yaml``
* ``~/.local/etc/gtd.yaml``
* ``~/.local/etc/gtd/gtd.yaml``


Usage
-----

Filter & show cards:

::

# Show cards from a list matching a regular expression on their titles
$ gtd show cards -l Inbox -m 'https?'

# Show cards which have no tags but have due dates
$ gtd show cards --no-tags --has-due

# Filter all cards based on a regex
$ gtd grep 'http.*amazon'


Notes
------

* The code is not heavily tested. Please (please!) report bugs if you find them.
* This has only been used on Linux and Mac OSX
* Windows is not supported.
* Some naming conventions differ from Trello, most notably "label" is called "tag"

License
--------

BSD. There is a copy included with the software as LICENSE.txt

Copyright 2017 Jamie Luck (delucks)


.. _GTD: https://en.wikipedia.org/wiki/Getting_Things_Done


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

gtd.py-0.6.5.linux-armv7l.tar.gz (35.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gtd.py-0.6.5-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file gtd.py-0.6.5.linux-armv7l.tar.gz.

File metadata

File hashes

Hashes for gtd.py-0.6.5.linux-armv7l.tar.gz
Algorithm Hash digest
SHA256 5d144bf71fce013c9296a277629e17f7339590985c7b0a34725b3296bf440d1a
MD5 7a60274718310fd3b0faaf822f4df2e9
BLAKE2b-256 87bc9708c086fc2a1441dfd0ae357519e129fd1c2c044bd832db3704865f929c

See more details on using hashes here.

File details

Details for the file gtd.py-0.6.5-py3-none-any.whl.

File metadata

File hashes

Hashes for gtd.py-0.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c2feccc2a509335446cf4fcf98f10e17feba7f726b0e18357407c62acfe65e91
MD5 c814e75978d4ba6cffa4a45429f548eb
BLAKE2b-256 30385581343eec91a1388094ae2f428b442b2bb29be40949d0086ffac5ce0c67

See more details on using hashes here.

Supported by

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