Deadline2

AnkiWeb addon 723639202

Automates setting new cards per day for options groups by dividing remaining new cards by days until a chosen deck deadline, configured through a GUI.
AI-generated summary; may contain mistakes.

progress-trackingdeck-managementfork-or-reupload

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
70 (πŸ‘ 43 Β· πŸ‘Ž 27)
Updated
2024-02-26
Anki versions
23.09~
License
GPL-3.0 (from the GitHub repository)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

abandoned

  • Last update or commit: 2024-02-26 (979 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 8 open, 23 closed.
  • Pull requests: 1 open, 4 merged.
  • Median first response: 75 hours (27 answered issues and pull requests).
  • Outside pull requests: 0% of 1 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.152.1.232020-05-05
2.1.242.1.262020-05-05
2.1.272.1.332021-05-02
2.1.342.1.652024-01-17
2.1.6623.09+2024-02-26
History across monthly snapshots

Loading…

Similar addons

πŸ“… Exam Scheduler v1

Turns exam dates into manageable daily new-card targets through multiple independent plans with flexible study days, previews, safe limit restoration, and automatic recalculation, while leaving review scheduling to Anki.

progress-trackingdeck-management

9 votes 19% approval πŸ‘ 4 Β· πŸ‘Ž 5 Anki 26.05.1~ Updated 2026-10-14

Description

Deadline2

An update of the Anki Deadline addon with GUI configuration.

This addon is used to automate the process of adjusting the new cards per day setting for an options group. The setting is calculated by finding (number of new cards left/number of days until deadline). Both the options group and new cards per day setting is automatically managed by the addon.

After the initial installation, you may need to restart anki

To use:

  1. Go to the main deck browser screen
  2. Click the Tools Menu -> Deadline -> Configure Deadlines
  3. Click the Add button on the right
  4. Select a deck, then select a deadline when you want to have all new cards for the deck seen by. Note: Only decks that have cards in them will be shown.
  5. Click OK Note:Repeat 3-5 for each deck you would like to add a deadline to
  6. Click Process Deadlines

For every deck you have assigned a deadline to, a popup will appear, detailing how many cards you will see per day.

Notes: To edit a deadline, simply add another date for a deck with an existing deadline. You can also delete the existing deadline, then add a new one. To process deadlines, you can also: Click the Tools Menu -> Deadline -> Process Deadlines When you update the addon, you may sometimes have to manually re-add your deadlines. This is under scrutiny and is planned to be fixed in the near future.

Work was originally started by https://gist.github.com/eshapard/12c14947d31dfcb8f0915761fb649c32 I had originally started off by just making this into an Anki 2.1 compatible addon (move deadline.py into init.py and you're off to the races)

Next, folks asked if I could make it a little bit easier to use by creating a configuration menu. Inspiration was taken from https://ankiweb.net/shared/info/1102281552 and https://ankiweb.net/shared/info/1374772155 , along with bits of their code.

Github link: https://github.com/BSCrumpton/Deadline2 For any issues, please submit an issue at the above github repo.

Changelog: February 25, 2024: Added support for anki v23.+ January 16, 2024: Merged in subdeck apply feature, will be working on updating for support of anki23+ now. May 2, 2021: Options Group settings now carry over upon deadline creation, form code is now split out to maintain easier. September 11, 2020: fix for Anki 2.1.28+ July 21, 2020: Updated for Anki 2.1.28 May 4, 2020: Updated for Anki 2.1.25 March 26, 2020: Can now choose between a single popup and many popups when you process your deadlines. March 18, 2020: Added Configure Deadlines button to the Tools Menu, added Process Deadlines button to the Deadline Configuration screen March 17, 2020: Official launch, released to ankiweb and reddit. March 16, 2020: Soft launch, released to the cohort of my girlfriend.

README

Deadline2

An update of the Anki Deadline addon with GUI configuration.

Work was originally started at https://gist.github.com/eshapard/12c14947d31dfcb8f0915761fb649c32 I had originally started off by just making this into an Anki 2.1 compatible addon (move deadline.py into init.py and you're off to the races)

Next, folks asked if I could make it a little bit easier to use by creating a configuration menu. Inspiration was taken from https://ankiweb.net/shared/info/1102281552 and https://ankiweb.net/shared/info/1374772155 , along with bits of their code.

This can be found on ankiweb at: https://ankiweb.net/shared/info/723639202

Work In Progress

  1. Clean up old code; remove unnecessary bits
  2. clean up deck names on the add dialog. All items with 3 hierarchal levels should be pared down to 2 levels, to help reduce the width of the dropdown.
  3. Better ensure that when you update the addon, no deadlines are "lost"
  4. Whenever you delete a deadline, the original config should be re-applied to the deck

Contributing

Feel free to contribute! To offer you some guidance, below is my general development workflow.

Windows

To test any code changes live, create a symlink to the anki addons location. mklink /D "C:\Users\USERNAME\AppData\Roaming\Anki2\addons21\Deadline2" "C:\Users\USERNAME\Documents\GitHub\Deadline2" to regenerate any UI features after updating in QT Creator, use something like pyuic5 CalForm\form.ui -o CalForm.py from the root of the repo folder. To start anki in debug mode, C:\Program Files\Anki\anki-console.bat is your friend