Skip to content

Save and manage your schedule in fast and easy way. Console Schedule is an python application that allows you to view and edit your schedule by specially prepared commands in console window.

Notifications You must be signed in to change notification settings

RedRabel99/Console-Schedule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Console Scheduler

Save and manage your schedule in fast and easy way.

What is Console Scheduler?

Console Scheduler is a python application that allows you to view and edit your schedule by specially prepared commands in console window.

System Requirements

Script (.py)

  • Python 3.9+
  • Modules:
    • tinydb
    • cmd
    • terminaltables
    • datetime, time, ctypes, sys, colorama, calendar Windows (.exe)
  • none

Download

You can download it from here

Setup

Python Script

Go to to the directory where the script is present and type:

C:\yourdirectory>python console-schedule.py
<schedule>

.exe

Run .exe file using console:

C:\yourdirectory>console-scheduler.exe
<schedule>

or just by using file explorer: image

Usage/Important commands

help

Lists all available commands.

<schedule>help

Documented commands (type help <topic>):
========================================
add  calendar  delete  exit  help  next  show  today  tomorrow

Add command name as help argument to see more specific info.

<schedule>help show
usage: show [option] ... [weekday]
no arguments   : prints schedule of everyday
weekday        : prints schedule of given day
    accepted weekdays:
        monday tuesday wednesday thursday friday
<schedule>

add

Adds subject/activity to your schedule. Syntax:

usage: add weekday start end name
weekday        : name of the day from monday to friday
start          : start time in hh:mm format
end            : end time in hh:mm format
name           : name of the subject

Example:

<schedule>add monday 11:30 13:00 Math
Successfully added subject:
    id: 1, name : Math , start: 11:30, end: 13:00, weekday: monday
<schedule>show monday
┌monday──────┬───────────────┐
│ ID │  NAME │  START - END  │
├────┼───────┼───────────────┤
│ 1  │ Math  │ 11:30 - 13:00 │
└────┴───────┴───────────────┘

show

Prints all schedule for every day(if no arguments are given), or schedule for given day.
Examples:

<schedule>show friday
┌friday───────────────────────┬───────────────┐
│ ID │          NAME          │  START - END  │
├────┼────────────────────────┼───────────────┤
│ 4  │ Programming in Python  │ 09:00 - 11:00 │
└────┴────────────────────────┴───────────────┘
<schedule>show
┌monday──────┬───────────────┐
│ ID │  NAME │  START - END  │
├────┼───────┼───────────────┤
│ 1  │ Math  │ 11:30 - 13:00 │
└────┴───────┴───────────────┘
┌tuesday────────┬───────────────┐
│ ID │   NAME   │  START - END  │
├────┼──────────┼───────────────┤
│ 2  │ Biology  │ 16:00 - 17:00 │
└────┴──────────┴───────────────┘
┌wednesday───────┬───────────────┐
│ ID │    NAME   │  START - END  │
├────┼───────────┼───────────────┤
│ 5  │ Swimming  │ 19:00 - 20:00 │
└────┴───────────┴───────────────┘
┌thursday───────┬───────────────┐
│ ID │   NAME   │  START - END  │
├────┼──────────┼───────────────┤
│ 3  │ English  │ 12:00 - 12:45 │
└────┴──────────┴───────────────┘
┌friday───────────────────────┬───────────────┐
│ ID │          NAME          │  START - END  │
├────┼────────────────────────┼───────────────┤
│ 4  │ Programming in Python  │ 09:00 - 11:00 │
└────┴────────────────────────┴───────────────┘

delete

Deletes subject/activity of given id(delete <id>):

subject with id: 3 has benn successfully deleted

If 'all' is given as an argument(delete all) it deletes whole database:

<schedule>delete all
all subjects had been successfully deleted

Full documentation

You can check full documentation here

About

Save and manage your schedule in fast and easy way. Console Schedule is an python application that allows you to view and edit your schedule by specially prepared commands in console window.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages