A Python program that assists you in creating a realistic daily schedule depending on how much you love each activity.
ploy (noun) a slightly dishonest method used to try to achieve something
Source: https://dictionary.cambridge.org/dictionary/learner-english/ploy
day-ploy is a Python program that allows you to manipulate the flow of time. It will day-ploy (deploy) a perfect daily plan for you to follow (as best as you can) based on the basic facts you provide.
This program is based on the concept behind SuperMemo Plan, which is a game-changing piece of software that will... well, change your life for the better.
This Python program is not intended to be a complete replacement for SuperMemo Plan, but rather as a starting point for further development and expansion. I'm hoping for this to serve as a skeleton for something more considerable.
Very simple:
- Put the txt file in the same location as the code
- Run the program and enter the list of the activities which you want to do today
- Enter the desired number of minutes which you would like to spend on each of these activities
- Let the program give you a more realistic number of minutes for each of your activities
The program is still a massive work-in-progress. If you would like to contribute, then please do so!
You can fork this project and build something pretty :).
Not sure what you should be aiming for? Read this guide to find out about how the original SuperMemo Plan is supposed to work. Then simply transform those concepts into Python letters and numbers to bring it to life.
Feel free to contact me if you get stuck, I will be more than happy to help!
- Need to make the program figure out the start time based on ActLen
- Need to make the program add the start time to the CSV
- Let the user enter their own start time
- Rigid feature
- Fixed feature (I need to first figure out the maths behind it)
- There is an issue where ActLen is not being written into the CSV file
- Think about whether we should use Pandas or JSON. The reason being is that, currently, Pandas uses about 30 Mb of RAM, whereas JSON uses 2 Mb.
- Furthermore, Pandas is a somewhat esoteric library, and few people will be comfortable using it. Therefore, this could limit the number of contributors.
- Might need to make the name of the CSV file change according to the date. But this can be done later: "data.csv" should do for now.
- Ability to move activities up and down
- Print the index of each activity to make it easier for the user to delete something
- Create a timer. Perhaps use something like:
import winsound start_time = "13:00" start_time_stripped = datetime.strptime(start_time, "%H:%M") start_time_formatted = datetime.strftime(start_time_stripped, "%H:%M") while True: # This consumes a lot of CPU, and is therefore not resource-friendly if start_time_formatted == datetime.strftime(datetime.now(), "%H:%M"): winsound.Beep(1000,1000) print("timer!") break