Commits

Author Commit Message Labels Comments Date
Richard Lawrence
setup.py: use distutils. - I don't need the extra features of setuptools - I don't want a dependency that's not in the stdlib if I can avoid it - looks like distutils2 will eventually become standard, but it isn't ready yet
Richard Lawrence
remove old paths under grading/
Richard Lawrence
initial directory structure for package distribution with setuptools schoolutils/ schoolutils/ __init__.py grading/ __init__.py grader.py db.py ui.py setup.py project.org README.rst
Richard Lawrence
.gitignore: ignore files generated by python packaging tools
Richard Lawrence
* grading/ui.py: completion message for edit_student_info
Richard Lawrence
* grading/ui.py: implement assignment_formatter
Richard Lawrence
* grading/ui.py: get_student: fix a corner case of selecting from an empty list
Richard Lawrence
* grading/ui.py: string cleanup in get_student - use student_formatter instead of constant - inform user this function can be used to create a student, too
Richard Lawrence
* grading/ui.py: new helper edit_student_dict - generalizes various places where user input was required to create/update a student record - rework code to use this helper
Richard Lawrence
* grading/ui.py: import_students: provide dummy deleter to edit_table - this ensures deletion instructions show up in prompt
Richard Lawrence
Merge branch 'ui' into grader_features
Richard Lawrence
grading/bspace.py: bspace functions (should have added earlier...)
Richard Lawrence
* grading/ui.py: basic interface for editing student data and course memberships
Richard Lawrence
* grading/ui.py: move get_student to top of class so it can be @require-d
Richard Lawrence
* grading/ui.py: set self.student_id in get_student
Richard Lawrence
* grading/ui.py: introduce standardized way of formatting students, courses - TODO: code cleanup of all the old places...
Richard Lawrence
* grading/ui.py: generalize edit_table - make editor optional; update import_students call - better prompts - deleter callback allows using this method to update db
Richard Lawrence
* grading/ui.py: actions_menu cleanup - rename some stuff - bugfix with index of default action
Richard Lawrence
* grading/ui.py: don't print student name in enter_grades; get_student does that now
Richard Lawrence
* grading/db.py: support for selecting and deleting course memberships
Richard Lawrence
* grading/db.py: support for selecting by student in select_courses
Richard Lawrence
* grading/ui.py: much-improved logic in get_student - allow callers to specify whether creating a student is an option - search sequentially/narrow with each input - use fuzzy search on name and email fields - give user a chance to update entered data before creating student
Richard Lawrence
* grading/db.py: do not use real sample data
Richard Lawrence
* grading/db.py: docstring cleanup
Richard Lawrence
* grading/db.py: docstring cleanup
Richard Lawrence
* grading/ui.py: use fuzzy matching in SimpleUI.get_student
Richard Lawrence
* grading/db.py: support for fuzzy lookups in select_students
Richard Lawrence
* grading/db.py: course_memberships table: ignore, don't replace, on conflict
Richard Lawrence
* grading/ui.py, db.py: support for student email in UI
Richard Lawrence
* grading/db.py: support for email field in students table
  1. Prev
  2. Next