Coder Social home page Coder Social logo

mnrmja007 / pythonbuddy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ethanchewy/pythonbuddy

0.0 0.0 0.0 20.55 MB

Live Online Python Syntax Checking. The goal of this project is to enable online MOOCs to be able to embed live syntax checking and execution of python.

Home Page: http://17chiue.pythonanywhere.com/

License: MIT License

Python 94.15% CSS 0.63% JavaScript 4.41% HTML 0.04% Shell 0.05% Batchfile 0.02% C 0.71%

pythonbuddy's Introduction

PythonBuddy ๐Ÿ–Š๏ธ ๐Ÿ

Online Python 2.7 Programming with Live Pylint Syntax Checking!

###Usage

  1. Fetch from repo:
git clone https://github.com/ethanchewy/PythonBuddy.git
  1. Create virtualenv based on your own system:
mkvirtualenv --python=/usr/bin/python2.7 venv
  1. Activate vitrual environment:
source venv/bin/activate
  1. Pipe requirements to venv folder:
pip install -r requirements.txt
  1. Set FLASK_APP variable:
export FLASK_APP=app.py
  1. Run flask app:
flask run

###Customize

  1. Fork github repo

2) Edit app.py to change any linting features

###Current Features:

  • Live Syntax Checking
    • Uses Pylint as checker (only prints out errors and warnings)
    • Live Error Table with Additional Help Suggestions
  • Syntax Highlighting
  • Python 2.7 Complilation
  • Search Within Code

###Future Goals:

  • Make easily embeddable for MOOCs like edX and other education platform
  • Lower CPU usage

###FAQ: Why did you make this?
I wanted to create an open source live python syntax checker to help beginning python programmers jump into python programming courses on MOOCs like edX without setting up a complicated python IDE.

Has anyone created anything like this before?
There has never been a live syntax checker for python online. Similar projects that are not "live" are http://pep8online.com/ and http://antares.sip.ucm.es/cesar/pylint/

Has can I contribute?
You can fork my repo, push a pull request, and/or open issues!

Where's the code for embedding it in MOOCs?
I'm currently working on this over here (for edx specifically): https://github.com/ethanchewy/pybuddy2.0

pythonbuddy's People

Contributors

ethanchewy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.