blockpy-edu/blockpy: Blockly that's more Python than ... - GitHub

文章推薦指數: 80 %
投票人數:10人

BlockPy is a web-based Python environment that lets you work with blocks, text, or both. Designed for Data Science and equipped with powerful tools like the ... Skiptocontent {{message}} blockpy-edu / blockpy Public Notifications Fork 112 Star 306 Blocklythat'smorePythonthanJavaScript,poweredwithSkulpt Apache-2.0License 306 stars 112 forks Star Notifications Code Issues 34 Pullrequests 1 Actions Projects 0 Wiki Security Insights More Code Issues Pullrequests Actions Projects Wiki Security Insights Thiscommitdoesnotbelongtoanybranchonthisrepository,andmaybelongtoaforkoutsideoftherepository. master Branches Tags Couldnotloadbranches Nothingtoshow {{refName}} default Couldnotloadtags Nothingtoshow {{refName}} default 6 branches 0 tags Code Latestcommit   Gitstats 950 commits Files Permalink Failedtoloadlatestcommitinformation. Type Name Latestcommitmessage Committime .idea     advertising     docs     fonts     images     libs     src     tests     .babelrc     .eslintrc.json     .gitignore     LICENSE     README.md     build.py     image_server.py     instructor_api_documentation.py     makefile     merge.py     npm-shrinkwrap.json     package.json     todo.txt     webpack.config.js     Viewcode corgis-blockly Overview Installation README.md corgis-blockly BlockPyisaweb-basedPythonenvironmentthatletsyouworkwithblocks,text,orboth.DesignedforDataScienceandequippedwithpowerfultoolsliketheStateExplorerandGuidedFeedback,thegoalofBlockPyistoletyousolveauthentic,real-worldproblems. ThegoalofBlockPyistogiveyouagentleintroductiontoPythonbuteventuallymatureyouintoamoreseriousprogrammingenvironment(suchasSpyderorPyCharm).Long-term,wemaysupportsomegame/animationdesignstuffthatScratch/Snapdoes,butthat'snottherealgoal. TheBlockPyprojectisaimedatsolvingsomehardtechnicalproblems:havingablock-basedenvironmentforadynamiclanguagecanbetricky-areagivenpairofsquarebracketsrepresentinglistindexingordictionaryindexing?Ourgoalistouseadvancedprogramanalysistechniquestoprovideexcellentsupporttolearners. Overview ThecorearchitectureofBlockPyisasynthesisof: Blockly:avisuallibraryformanipulatingablockcanvasthatcangenerateequivalenttextualcodeinavarietyoflanguages Skulpt:anin-browserPython-to-JavaScriptcompiler/intepreter,thataimstoemulatethefulllanguagewithprecisionifnotspeed. Bycombiningthesetwotechnologies,weendupwithapowerfulsystemforwritingPythoncodequickly.Everythingismeanttorunlocallyintheclient,sothere'snocomplexityofsandboxingstudents'codeontheserver. Installation First,you'regoingtoneedallofourspecialdependencies.Thefinalstructurelookslikethis: blockpy-edu/ skulpt/ blockly/ BlockMirror/ blockpy/ pedal-edu/ pedal/ curriculum-ctvt curriculum-sneks Soyoucanstartbymakingthetwotop-leveldirectories: $>mkdirblockpy-edu $>mkdirpedal-edu Skulptisprobablythehardestdependency,sinceyouwillprobablywanttomodifyit. $>cdblockpy-edu $>gitclonehttps://github.com/blockpy-edu/skulptskulpt $>cdskulpt $>npminstall $>npmrundevbuild Formanyoftheremainders,youactuallyonlyneedthefinalcompiledfiles(perthisfile). Butifyouwanttoinstalleachfromsource,herearethegithublinks: $>cdblockpy-edu $>gitclonehttps://github.com/blockpy-edu/BlockMirrorBlockMirror $>gitclonehttps://github.com/google/blocklyblockly $>cd../pedal-edu $>gitclonehttps://github.com/pedal-edu/pedalpedal $>gitclonehttps://github.com/pedal-edu/curriculum-ctvtcurriculum-ctvt $>gitclonehttps://github.com/pedal-edu/curriculum-snekscurriculum-sneks ToactuallyinstalltheBlockPyclient,youcandothefollowing: $>cd../blockpy-edu $>gitclonehttps://github.com/blockpy-edu/blockpyblockpy $>cdblockpy $>npminstall $>npmrundev Thatshouldrebuildthefilesintodist.Youcanthenopentests/index.htmlandexplore. About Blocklythat'smorePythonthanJavaScript,poweredwithSkulpt Topics javascript python students skulpt corgis-blockpy Resources Readme License Apache-2.0License Stars 306 stars Watchers 38 watching Forks 112 forks Releases Noreleasespublished Packages0 Nopackagespublished Contributors16 +5contributors Languages JavaScript 87.2% HTML 8.1% Python 2.5% CSS 2.2% Youcan’tperformthatactionatthistime. Yousignedinwithanothertaborwindow.Reloadtorefreshyoursession. Yousignedoutinanothertaborwindow.Reloadtorefreshyoursession.



請為這篇文章評分?