{"id":20863348,"url":"https://github.com/howardabrams/cookie-python","last_synced_at":"2025-05-12T09:31:52.572Z","repository":{"id":8480880,"uuid":"10083813","full_name":"howardabrams/cookie-python","owner":"howardabrams","description":"A framework for teaching kids to program using iPython's Notebook feature","archived":false,"fork":false,"pushed_at":"2013-06-03T22:00:48.000Z","size":1212,"stargazers_count":24,"open_issues_count":1,"forks_count":19,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-15T12:46:26.662Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/howardabrams.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-15T17:09:17.000Z","updated_at":"2022-12-05T09:21:09.000Z","dependencies_parsed_at":"2022-09-16T22:40:44.931Z","dependency_job_id":null,"html_url":"https://github.com/howardabrams/cookie-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardabrams%2Fcookie-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardabrams%2Fcookie-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardabrams%2Fcookie-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardabrams%2Fcookie-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/howardabrams","download_url":"https://codeload.github.com/howardabrams/cookie-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225132978,"owners_count":17425910,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T05:28:39.610Z","updated_at":"2024-11-18T05:28:40.247Z","avatar_url":"https://github.com/howardabrams.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Cookies for Python\n==================\n\nIf you are a Geek Parent wanting to teach your kids to program in\n[Python][1], then have we got a project for you. **Cookies for\nPython** is a project you can use to start the ball rolling (as well\nas add to it).\n\nOnce upon a time, [Rob][rob] and [Howard][howard] were talking about\nteaching their kids to follow in their footsteps and learn to program.\nAfter [Scratch][1], a scripting language should be next on the list\nfor kids to learn, but most ways of teaching languages like Python are\ngeared towards young adults.\n\nSpecifically, we thought the following were important:\n\n  * Instructive but still fun to read\n  * Interactive\n  * Gamified (do something right, get a badge... or a cookie)\n\nThis project is our attempt. It is based on the wonderful\n[notebook extension][3] to [iPython][4]. You can fork, extend and even\ncontribute this project to share with others.\n\nWhat's it Like?\n--------------\n\nThe easiest way to explain what it looks like is to show a screenshot\nfrom the browser (or download the [first lesson as a PDF](misc/01-output.pdf)):\n\n![Cookie Python Screenshot](misc/screenshot.png)\n\nInstallation\n------------\n\nInstallation is pretty simple. First, get a complete copy of\nPython. If the kids are on your iMac upstairs and your a geek, chances\nare good you've already installed [Homebrew][5]:\n\n    brew install python\n\nIf you've got a difficult environment, see [these instructions][6].\n\nNow that you have either [Pip][7] or [easy_install][8], use one of\nthem to grab `ipython`:\n\n    pip install pyzmq\n    pip install tornado\n    pip install --upgrade ipython\n    pip install numpy\n\nOr\n\n    easy_install ipython[zmq,notebook]\n\nFinally, clone this project, and you're ready.\n\nStarting\n-----\n\nThe `start-me-up` script can be used to set up the iPython notebook\nserver and bring up a browser. If it is run a second time, it attempts\nto re-connect to the same server (this seemed to be fairly important\nas my kids could start it, but didn't stop it, and I had 50\ninterpreters running once).\n\nIf you create a symbolic link from the Desktop to this script, set the\n`COOKIE_PYTHON_HOME` to the directory where the project has been\nchecked out, and put this in your start up script,\ne.g. `.profile`. For example:\n\n    export COOKIE_PYTHON_HOME=$HOME/Documents/cookie-python\n\nUsing\n-----\n\nOnce things are started, it should be clear how to use it. Click on a\nlesson, answer the questions and solve the problems, and get a cookie\nreward.\n\nContributing\n------------\n\nThis project is intended as a collaborative project between many Geek\nParents, so feel free to fork and submit patches. If you don't have a\nlot of time, but would like to contribute, we specifically need help\nin the following:\n\n  * Editing of our lessons... we're programmers not writers, and it shows.\n  * Freely licensed clipart images to use as rewards.\n  * Python unit tests for our validation code, `check()`\n\n\n  [1]: http://www.python.org\n  [2]: http://scratch.mit.edu/\n  [3]: http://ipython.org/notebook.html‎\n  [4]: http://ipython.org\n  [5]: http://www.homebrew.org\n  [6]: http://ipython.org/ipython-doc/stable/install/install.html\n  [7]: http://www.pip-installer.org\n  [8]: http://pythonhosted.org/distribute/easy_install.html\n\n  [howard]: https://github.com/howardabrams\n  [rob]: https://github.com/robbednark\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhowardabrams%2Fcookie-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhowardabrams%2Fcookie-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhowardabrams%2Fcookie-python/lists"}