pyregex is a Python Regular Expression Online Tester
CoffeeScript Python HTML CSS JavaScript Shell
Clone or download
Rodolfo Carvalho
Rodolfo Carvalho updated uWSGI
Latest commit 8db07b9 Nov 13, 2015
Permalink
Failed to load latest commit information.
assets Fixing bug affecting #19 (findall) May 24, 2015
grunt/templates Added some features to <a> links and a Donate button Aug 15, 2013
public Incorporated logo into the homepage Jun 17, 2014
pyregex Fixing bug affecting #19 (findall) May 24, 2015
tests Fixing bug affecting #19 (findall) May 24, 2015
.bowerrc Updated karma version Aug 8, 2013
.gitignore added ctags tags file to .gitignore Jul 3, 2014
.node-version Added a .node-version file and bumped karma version May 26, 2015
.python-version Upgraded python version to v3.4 Jun 14, 2014
.slugignore Making a small change on travis and heroku configs Aug 9, 2013
.travis.yml Upgraded python version to v3.4 Jun 14, 2014
CHANGELOG.md Incorporated logo into the homepage Jun 17, 2014
Gruntfile.coffee Fixing broken tests and updating libraries May 22, 2014
LICENSE Added LICENSE, COPYING files, and License in file headers Aug 14, 2009
Procfile Everything ready to go - serving the client app as a stand-alone HTML… Aug 9, 2013
README.md Fixed broken menu links Jun 17, 2014
bower.json Fixing broken tests and updating libraries May 22, 2014
deploy.sh Added correct env var on deploy script Jul 28, 2013
install_assets_deps.sh Modifications for grunt install Aug 9, 2013
nose.cfg Changed configuration so the app can run as a standalone app with uWSGI Aug 8, 2013
package.json Added a .node-version file and bumped karma version May 26, 2015
requirements-dev.txt Upgraded python version to v3.4 Jun 14, 2014
requirements.txt updated uWSGI Nov 13, 2015
runtime.txt Upgraded python version to v3.4 Jun 14, 2014
uwsgi.ini Migrated api from webapp2 to flask Jun 14, 2014

README.md

PyRegex

Build Status

PyRegex is an online Regular Expression tester for python dialect.

License

The code is licensed under the GNU General Public License v2

Development Environment

Requirements

Dependency Installation

  • Node.js and Npm - See their websites (2 and 3) about how to get them installed in your platform
  • Grunt: npm install -g grunt-cli
  • Bower: npm install -g bower
  • Nose and its companions: pip install -r requirements.txt (May require sudo or su)
    • For development, please install also pip install -r requirements-dev.txt
  • Assets dependencies: ./install_assets_deps.sh

Running the application

Just run honcho start

It will start both uWSGI server and grunt. This will watch the filesystem for changes in the source folders and regenerate the client-side target files as needed.

The API will be available on http://localhost:5000 (The port can be overridden by the $PORT environment variable). The web app is available at http://localhost:8082

Testing the application

To test the application, run nosetests -c nose.cfg from a terminal window.

Contributing

Anyone is more than welcome to Create an issue, Fork the repository and submit a Pull Request.

TODO

  • Social integration (share regex on facebook, twitter, g+, etc.)
  • Save/generate regex permalink
  • I18n
  • Better result visualization