Skip to content
项目

关于

pyregex 是一个在线 Python 正则表达式测试器。

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

PyRegex

Build Status

PyRegex is an online Regular Expression tester for python dialect.

Architecture decisions

See the decision records for why PyRegex keeps server-side Python regex evaluation for now.

License

The code is licensed under the GNU General Public License v2

Development Environment

Isolated local baseline (recommended)

See local/README.md for the Python 3.7 backend and isolated legacy frontend containers, loopback-only endpoints, tests and verification limits. The historical host-install instructions below reference requirements files that are no longer present; do not use them to install obsolete tools globally.

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

探索相关项目

加载中…