[Edu-sig] How to define "a Python project"?
Wes Turner
wes.turner at gmail.com
Wed Nov 8 17:13:42 EST 2017
Spyder also has project support:
https://pythonhosted.org/spyder/projects.html
https://github.com/spyder-ide/spyder
https://github.com/spyder-ide/spyder/tree/master/spyder/widgets/projects
https://github.com/spyder-ide/spyder/tree/master/spyder/widgets/projects/tests
https://github.com/spyder-ide/spyder/wiki/SEP-3:-Projects
On Tuesday, November 7, 2017, Wes Turner <wes.turner at gmail.com> wrote:
> 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
> <javascript:_e(%7B%7D,'cvml','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/piperm
>> ail/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/20171108/2275ebd4/attachment-0001.html>
More information about the Edu-sig
mailing list