#Submitter Command line utility for sending code submissions to Stepik.
Usage: submitter [OPTIONS] COMMAND [ARGS]...
Submitter 0.3 Tools for submitting solutions to stepik.org
Options:
--version Show the version and exit.
--help Show this message and exit.
Commands:
auth
Authentication using username and password
content
Content Course, Section and Lesson Format:...
course
About course
courses
Display enrolled courses list
current
Display the current step link
lang
Displays all available languages for current...
next
Switches to the next code challenge in the...
prev
Switches to the prev code challenge in the...
step
Setting new step as current target.
submit
Submit a solution to stepik system.
text
Display current step as text
type
Filter for step types (default="code")
-
Register on stepik.org
-
Enroll for courses
-
Enter to the console
-
Install Submitter:
cd path/to/SubmissionUtility
sudo python3 setup.py develop
or
sudo python3 setup.py build
sudo python3 setup.py install
-
Authentication:
submitter auth
Enter username ana password
-
See courses list:
submitter courses
-
See a description course:
submitter course <course_id>
Example:
submitter course 187
-
See content of course:
submitter content course <course_id>
Example:
submitter content course 187
You will see the list of sections.
-
See content of section:
submitter content section <section_id>
Example:
submitter content section 537
You will see the list of lessons.
-
See content of lesson:
submitter content lesson <lesson_id>
Example:
submitter content lesson 12755
You will see the list of steps.
-
Set step as selected.
submitter step <url>
Example:
submitter content lesson/12755/step/14
orsubmitter content https://stepik.org/lesson/12755/step/14
-
See supported languages for step
submitter lang
-
See selected step text
submitter text
You will see text for selected step.
-
Open your text editor and create text. Save it in file.
-
Submit your text to stepik.org
submitter submit <path/to/file/filename> -l <language> --step_id <id>
-l is not necessary, will use a file extension. --step_id is not necessary, will use a current step.
-
Navigate in the current lesson
submitter next
next stepsubmitter prev
previous step -
Filter for a step type
By default filter a step type for 'code'.
Use 'all', it disable filter.
submitter type <type_name>
type_name: code, text, choice and etc. type_name as 'all' will disable filter.
Example:
submitter type code
submitter type all
submitter type text
-
Current step
submitter current
out the current step link