--
You received this message because you are subscribed to the Google Groups "Teaching with Jupyter Notebooks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter-educat...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jupyter-education/b83f53c5-0415-4ea3-9734-2790856cb271n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jupyter-education/615c8f96-9e8b-4674-a90b-735d43155c81n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jupyter-education/CAP7f1AiNwufUgprr5eEbErbQLZKoDBMp%3DrLAfQ_fpaAunKqvpQ%40mail.gmail.com.
Hi,
I also wrote myself a standalone markup / processing pipeline, where I
annotate the notebooks like this:
and use the library to process the template notebook to a solution and
an exercise notebook.
I found it convenient to have this kind of minimal typing markup, to
make it as fluid as possible to generate the template notebooks.
Once you've got the markup in mind, you can write these things
quickly.
I can share more if that looks helpful. Specifically, I have a
script setup to generate these notebooks and ship to Github
repositories with associated test files, to give to the students.
Cheers,
Matthew
On Fri, Mar 7, 2025 at 6:19 PM 'Jonathan Gutow' via Teaching with
Jupyter Notebooks <jupyter-...@googlegroups.com> wrote:
>
> I wrote and use a package that might do part of what you want. It should be completely nbgrader agnostic. I use it to create notebooks for my students that are not coupled to any grading package, but do have locked cells and potential custom highlighting. I primarily use it to provide templates for students doing messy multistep analyses of laboratory data. It helps the analyses to come to me in a consistent format and prevents the students from deleting instructions and examples.
> Some of the features (all menu driven):
>
> The ability to set up data input tables that can create pandas data frames and survive clearing of cell output.
> Adding highlight bars to markdown cells (I don't use this much).
> Ability to protect/deprotect cells and mark them for collapse under selected conditions.
> Ability to make it difficult for students to install the same package and use it on the notebook to deprotect cells.
>
> More information at the github repo: https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JupyterPhysSciLab_jupyter-2Dinstructortools&d=DwIFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=pLLXGvMtzvxj-HJMdJ0LDw&m=hNxiIo4M0h_fRngjs29s029FdXRW5_-0rD8-4q8GHK_WLoV3fABwUaqil6G08oad&s=dv6hJkqC4DBiWgAML8SvfOo0AgE67_vjFONUleED0Aw&e= . I would be happy to get requests for abilities and collaborators interested in extending the tool.
>
> Jonathan
>
>
> On Friday, March 7, 2025 at 11:30:29 AM UTC-6 chol...@gmail.com wrote:
>>
>> The jupyter book team is working on something like this right now actually. Would be very helpful to see +1s or suggestions that can help get that PR merged if you think it'd be helpful. It is not quite the same usecase but I think it might be useful for this. PR link below
>>
>>
>> On Fri, Mar 7, 2025, 8:08 AM Jason Moore <moore...@gmail.com> wrote:
>>>
>>> HI Gary,
>>>
>>> Yes, I think you have to adhere to the file structure for nbgrader.
>>>
>>> Jason
>>> moorepants.info
>>> +01 530-601-9791
>>>
>>>
>>> On Fri, Mar 7, 2025 at 5:05 PM Gary Steele <gste...@gmail.com> wrote:
>>>>
>>>> Hi Jason,
>>>>
>>>> Thanks for the quick response.
>>>>
>>>> The command seems quite rigid, it does assume that you have the "nbgrader filesystem hierarchy" configured. I guess I just need to replicate that in a folder and then collect the file in the default ouput dir ("source/test/test_file.ipynb" => "release/test/test_file.ipynb): I'll give it a try.
>>>>
>>>> Cheers,
>>>> Gary
>>>>
>>>> On Friday, 7 March 2025 at 17:00:47 UTC+1 moore...@gmail.com wrote:
>>>>>
>>>>> Dear Gary,
>>>>>
>>>>> The generate assignment command is detailed here: https://urldefense.proofpoint.com/v2/url?u=https-3A__nbgrader.readthedocs.io_en_stable_command-5Fline-5Ftools_nbgrader-2Dgenerate-2Dassignment.html&d=DwIFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=pLLXGvMtzvxj-HJMdJ0LDw&m=hNxiIo4M0h_fRngjs29s029FdXRW5_-0rD8-4q8GHK_WLoV3fABwUaqil6G08oad&s=cETNSjF7yiuhBXFezFnIitvgq4eVVA0wBZ5K6YGTAhc&e=
>>>>>
>>>>> Jason
>>>>> moorepants.info
>>>>> +01 530-601-9791
>>>>>
>>>>>
>>>>> On Fri, Mar 7, 2025 at 4:54 PM Gary Steele <gste...@gmail.com> wrote:
>>>>>>
>>>>>> Dear all,
>>>>>>
>>>>>> Does anyone know if there is a way to generate a "student copy" of a notebook from a "teacher copy" (aka. strip solutions and lock appropriate cells) that operates modularly and separately from a full nbgrader deployment / filesystem configuration?
>>>>>>
>>>>>> eg something like:
>>>>>>
>>>>>> $ nbgrader_convert -i teacher_copy.ipynb -o student_copy.ipynb
>>>>>>
>>>>>> Thanks!
>>>>>> Gary
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google Groups "Teaching with Jupyter Notebooks" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to jupyter-educat...@googlegroups.com.
>>>>>> To view this discussion visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_jupyter-2Deducation_b83f53c5-2D0415-2D4ea3-2D9734-2D2790856cb271n-2540googlegroups.com&d=DwIFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=pLLXGvMtzvxj-HJMdJ0LDw&m=hNxiIo4M0h_fRngjs29s029FdXRW5_-0rD8-4q8GHK_WLoV3fABwUaqil6G08oad&s=oipaYQ6fb7xE_8pE_DbjQ1Asgzg6qQ2lpTVpk30dkv4&e= .
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google Groups "Teaching with Jupyter Notebooks" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an email to jupyter-educat...@googlegroups.com.
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups "Teaching with Jupyter Notebooks" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an email to jupyter-educat...@googlegroups.com.
>>>
>
> --
> You received this message because you are subscribed to the Google Groups "Teaching with Jupyter Notebooks" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jupyter-educat...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Teaching with Jupyter Notebooks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter-educat...@googlegroups.com.
Thanks for all the replies, nice to see such an active community! I will try the first approach of replicating the folder structure first.
Cheers,
Gary
List of packages in environment: "/Users/gsteele/micromamba/envs/nbgrader"
nbgrader 0.9.5 pyhd8ed1ab_0 conda-forge