Skip to content

rscarvalho/pyregex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

209ad51 · Apr 23, 2020
May 24, 2015
Aug 15, 2013
Jun 17, 2014
Apr 23, 2020
Apr 23, 2020
Aug 8, 2013
Jul 3, 2014
May 26, 2015
Apr 23, 2020
Apr 9, 2020
Aug 9, 2013
Apr 9, 2020
Jun 17, 2014
May 22, 2014
Aug 14, 2009
Apr 23, 2020
Apr 23, 2020
Aug 9, 2013
Jun 17, 2014
May 22, 2014
Aug 9, 2013
Aug 8, 2013
May 26, 2015
Apr 17, 2020
Jun 14, 2014

Repository files navigation

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