[Edu-sig] How to define "a Python project"?

Wes Turner wes.turner at gmail.com
Tue Nov 7 07:30:19 EST 2017


Cookiecutter builds project directories:

https://github.com/audreyr/cookiecutter

https://cookiecutter.readthedocs.io/en/latest/readme.html#available-cookiecutters

On Tuesday, November 7, 2017, Aivar Annamaa <aivar.annamaa at ut.ee> wrote:

> Hi!
>
> Python programs which involve a single *.py file are easy to manage -- eg.
> it's clear what is meant with "opening" or "running" the program.
>
> In case of larger programs or in the context of a course (sequence of
> exercises) it would make sense to somehow group a bunch of Python (and
> other) files. Matthew Jadud recently brought this up in Microbit list (See
> "2. Projects vs. Files" in https://mail.python.org/
> pipermail/microbit/2017-October/001721.html).
>
> I'm considering adding the (optional) concept of "project" into my Python
> IDE (http://thonny.org). In my current vision this would bring:
>
>    - an extra pane showing the files of the project
>    - actions "Create project..." and "Select project..."
>    - actions "Import project ..." and "Export project..."
>    - Target could be GitHub, EduGit, zip-file, FTP, another folder, ...
>       - Bonus: In case of projects originating from Git there could be
>    also "Sync" action.
>
> Can you point out some good examples of Python project management?
>
> What could be good format for defining the project? Just a folder? A
> folder with a configuration file or subfolder? __init__.py? __main__.py?
> setup.py? .git? Something else?
>
> Teachers could prepare and distribute starter projects. What are the
> things that could go there besides library code and templates? Test cases?
> Linter configuration? Something else?
> Any other thoughts regarding Python projects in the educational context?
>
> How do your students transfer files between computer lab and their home
> computers? How do they submit code?
>

https://nbgrader.readthedocs.io/en/stable/

https://docs.gitlab.com/ce/user/project/integrations/webhooks.html#tag-events


>
> Would the concept or "project" simplify this?
>

Many cookiecutter templates include a Makefile to which a 'submit code'
task could be added.

DevPi can run tests on package upload:
https://devpi.net/docs/devpi/devpi/stable/%2Bd/index.html

https://devpi.net/docs/devpi/devpi/stable/+doc/userman/devpi_misc.html#jenkins-integration

...

https://github.com/quobit/awesome-python-in-education/blob/master/README.md#jupyter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/edu-sig/attachments/20171107/55f6f2e8/attachment.html>


More information about the Edu-sig mailing list