Skip to main content

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:

  1. buildweek - Builds the infrastructure (a "Weekly Schedule" board and "Recycle Bin" board) for the bot.
  2. startweek - Starts the week by adding empty lists with the day names and dates to the "Weekly Schedule" board.
  3. endweek - Archives the lists in "Weekly Schedule" by moving them to the "Recycle Bin" (AFAIK you can't delete boards through the API)
  4. 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:

  1. Install the Trello Scheduler CLI through pip as shown above.
  2. 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
  3. 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:

  1. Add more options for day parsing, ie multiple days for the same event both comma delimited and day ranges.
  2. Add due dates for tasks.

** These are not planned though, currently I don't need these features. **

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

trelloscheduler-cli-1.0.2.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

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

trelloscheduler_cli-1.0.2-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file trelloscheduler-cli-1.0.2.tar.gz.

File metadata

  • Download URL: trelloscheduler-cli-1.0.2.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for trelloscheduler-cli-1.0.2.tar.gz
Algorithm Hash digest
SHA256 98423ec9ed6badd8cd021a786fb264ba916ded3393507c0f0c55d9463704aafe
MD5 fd4ed8e13dc94b4957bd52e6d5013602
BLAKE2b-256 f9cae1f2e6211e12bc3431bd8657ab25e7df2b83ca3f3226a0bb06b0119735f4

See more details on using hashes here.

File details

Details for the file trelloscheduler_cli-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for trelloscheduler_cli-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e8556432eaa2965245a8e4f0ef692436977c4d9745dc1ddcc1b5f5c56f4b1fc6
MD5 adc8e5f704e10d0b77ee1e1acdea9dc8
BLAKE2b-256 79c0856d8998db8adf8dffa759927d361b3cbd7e082457f22094ef8d024bf3ba

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