# trkr
trkr is a command-line tool to help track what our team is working on and how long they work on it. With Trello and Google Sheets integration, it allows you to search and select a related Trello card, and writes directly to a Worksheet.
## Requirements
Python 2.6+ or 3+
## Installation
`python pip install trkr `
## Usage
Using trkr is as simple as running trkr run. A list of valid command is available by running trkr –help.
### Description
Provide a description of the work accomplished. If none is provided, the commit message of the last commit at HEAD will be used.
### Minutes Worked
Time worked in minutes (must be a valid integer).
### Trello Card
You have the choice to (i)nput a card’s URL, fuzzy (s)earch for a card, (p)ick from a list of your assigned cards, or choose to (n)ot include a card.
### Date
Enter a timestamp in the MM/DD/YYYY format. This can be skipped, and will instead use the current date.
## Setup
To start the setup script, run trkr setup. It will ask for an email, Trello API keys, and the worksheet URL. All settings are saved at ~/.trkr/config.json, and can be modified at a later time.
### Trello Authentication
#### Finding Client ID and Board ID
On Trello, navigate to a board and append .json to the URL. It should look something like https://trello.com/c/<url>.json. When the JSON data has loaded, hthe first id will be the Board ID; copy and save it somewhere.
Search next for your name or username, find the id associated with it, and save it somewhere; this is your Client ID.
#### API Keys and Token
Trello API keys can be found at [trello.com/app-key](https://trello.com/app-key). The hash found under Key is your API Key, and the one under Secret is your API Secret. A Token can be generated by clicking Token on the same page; this is your Token.
### Google Sheets Authentication
Once you’ve created a new Google Sheet, it’s URL is the Document URL, and the name of the sheet at the bottom is the Worksheet Name.
In order to authorize trkr to read/write from a worksheet, follow the steps layed out in [Authorizing pygsheets](https://pygsheets.readthedocs.io/en/latest/authorizing.html). With the JSON file in hand, move it to ~/.trkr/keyfile.json. Lastly, share the worksheet with the email found in keyfile.json. trkr should now be setup and ready to use!
## Acknowledgement
trkr relies on the great work done by the [pygsheets](https://github.com/nithinmurali/pygsheets/) and [py-trello](https://github.com/sarumont/py-trello) teams.
Metadata
Release files for trkr 0.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| trkr-0.4.5.tar.gz | 6.3 kB | Without provenance | Details for trkr-0.4.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| trkr-0.4.5-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for trkr-0.4.5-py2.py3-none-any.whl |
Total release size: 14.5 kB
Release files / trkr-0.4.5.tar.gz
| Download URL | trkr-0.4.5.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40cfb88bc0d7730f4fbbdd4b47e148c1ca2647d42c7c36ad2b37030cd10ea17f
|
|
BLAKE2b-256 checksum How to use checksums |
81b728a44f770f3978238ffbcd981a9421ca3464ee3336d82e34cf7824ed72bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / trkr-0.4.5-py2.py3-none-any.whl
| Download URL | trkr-0.4.5-py2.py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c3eeb6d43176c7f0732ac6b9ce3e1e8e68e75be5a49df799d562196522b5516b
|
|
BLAKE2b-256 checksum How to use checksums |
a2b2ad28c4b014757c44c7f6e3ebe928457bf240e4a61558779341823c2b468f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for trkr 0.4.5
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.