Create a Trello schedule through a commandline interface
Project description
trelloscheduler-cli
Bot for automating schedule management in Trello. Intended use is to place the bot skeleton on a cloud server, set up commands with cron, and let it do its thing.
Primarily a personal project, but if you can use it by all means do.
Pypi location:
https://pypi.org/project/trelloscheduler-cli/1.0.0/
Supported features:
- buildweek - Builds the infrastructure (a "Weekly Schedule" board and "Recycle Bin" board) for the bot.
- startweek - Starts the week by adding empty lists with the day names and dates to the "Weekly Schedule" board.
- endweek - Archives the lists in "Weekly Schedule" by moving them to the "Recycle Bin" (AFAIK you can't delete boards through the API)
- loadweek - Loads a schedule file to add to the "Weekly Schedule" board. Currently supports named days and numerical days.
Usage:
[Usage]
trelloschedulercli [command : startweek OR buildweek OR endweek OR loadweek] [schedule file IF loadweek]
Trello scheduler CLI is a command line interface used to automate tasks related to creating a weekly schedule in Trello. All you need is a valid Trello account to access the various commands.
[Commands]
buildweek
EX: trelloschedulercli buildweek
Create a new weekly schedule board and recycle bin board. They will show up as "Weekly Schedule" and "Recycle Bin" in Trello. Does not need to be executed more than once.
startweek
EX: trelloschedulercli startweek
Starts a week by adding empty lists to the "Weekly Schedule" board.
endweek
EX: trelloschedulercli endweek
Archives all of the lists in the "Weekly Schedule" board.
loadweek
EX: trelloschedulercli loadweek "filename"
Loads a schedule file in JSON format into the "Weekly Schedule" board. Currently supports named days and numerical days.
Installation:
- Install the Trello Scheduler CLI through pip as shown above.
- Run
nano ~/.bashrc
to open up bash, then add the enivornment variables "TRELLO_API_KEY", "TRELLO_API_SECRET", and "TRELLO_TOKEN". For more information on getting them, please see: http://www.trello.org/help.html - Run
python3 trellobotrunner.py buildweek
to create the necessary infrastructure.
Schedule.json File
The schedule file follows the following format in JSON:
"tasks": [
{
"name": "task name",
"description": "task description",
"day": Either shorthand day names "MoTuWeThFrSaSu" or day numbers (for now)
}
]
Please see schedule.json for an example.
TODO:
- Add more options for day parsing, ie multiple days for the same event both comma delimited and day ranges.
- Add due dates for tasks.
** These are not planned though, currently I don't need these features. **
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file trelloscheduler-cli-1.0.12.tar.gz
.
File metadata
- Download URL: trelloscheduler-cli-1.0.12.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8b6de5273044028989c7458871ed768e6327400fecaa9ec88a523f7d8de4aba |
|
MD5 | 4a22426e7f0b5181efc40756cebfaccb |
|
BLAKE2b-256 | 3a2cf88f527d571daddc9e08611327c9d4c41c9fb6946f683f0176d5483f2a70 |
File details
Details for the file trelloscheduler_cli-1.0.12-py3-none-any.whl
.
File metadata
- Download URL: trelloscheduler_cli-1.0.12-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8030feeea6cd04ca2007d000bfc1693df114b9c832ebd361012f4f416c29dc7c |
|
MD5 | af01881ba80f4ba71da74e76091b11f3 |
|
BLAKE2b-256 | ae39b9a78bbea9ab51eda734519443815e36dee1a14e32a7b8d22a65e5055ce1 |