Skip to content
 
 

Repository files navigation

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

About

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.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages