# PyRegex
[![Build Status](https://travis-ci.org/rscarvalho/pyregex.png)](https://travis-ci.org/rscarvalho/pyregex)
PyRegex is an online Regular Expression tester for python dialect.
## License
The code is licensed under the [GNU General Public License v2](LICENSE)
## Development Environment
### Requirements
* Server-side language
* [Python](http://www.python.org)
* [Pip](http://www.pip-installer.org)
* Testing (all of them installable via [pip](http://www.pip-installer.org/))
* [nose](https://nose.readthedocs.org/en/latest/)
* I also use [rednose](https://pypi.python.org/pypi/rednose) but this one is optional
* Assets management / generation
* [Node.js](http://nodejs.org/)
* [Npm](https://npmjs.org/) - Usually shipped with Node.js
* [Grunt](http://gruntjs.com/)
* [Bower](http://bower.io/)
### Dependency Installation
* **Node.js** and **Npm** - See their websites ([2](http://nodejs.org/) and [3](http://npmjs.org)) 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](https://github.com/rscarvalho/pyregex/issues), [Fork](https://github.com/rscarvalho/pyregex) the repository and submit a [Pull Request](https://github.com/rscarvalho/pyregex/pulls).
## TODO
* Social integration (share regex on facebook, twitter, g+, etc.)
* Save/generate regex permalink
* I18n
* Better result visualization
没有合适的资源?快使用搜索试试~ 我知道了~
Python-Pyregex是一个开源在线的Python正则表达式编辑器测试器
共60个文件
coffee:14个
py:9个
html:5个
需积分: 50 12 下载量 42 浏览量
2019-08-10
22:05:50
上传
评论
收藏 63KB ZIP 举报
温馨提示
Pyregex是一个开源在线的Python正则表达式编辑器、测试器
资源推荐
资源详情
资源评论
收起资源包目录
Python-Pyregex是一个开源在线的Python正则表达式编辑器测试器.zip (60个子文件)
pyregex-master
.travis.yml 507B
.python-version 12B
requirements-dev.txt 66B
uwsgi.ini 164B
pyregex
webapp.py 1020B
middleware.py 398B
util.py 1KB
decorators.py 308B
service.py 2KB
__init__.py 0B
api.py 2KB
runtime.txt 13B
package.json 948B
assets
src
images
pyregex.svg 547B
less
main.less 2KB
html
templates
index.html 2KB
regex
error.html 113B
start.html 237B
result.html 2KB
coffee
resources
regex_resource.coffee 286B
.gitkeep 0B
regex_builder.coffee 1KB
controllers
menu_controller.coffee 1KB
regex_parser.coffee 2KB
.gitkeep 0B
main.coffee 867B
filters
escape_html.coffee 629B
length.coffee 514B
directives
py_timer.coffee 396B
a.coffee 455B
auto_grow.coffee 987B
.gitkeep 0B
favicon.ico 2KB
.gitignore 31B
lib
css
bootstrap.css 128KB
.bowerrc 41B
tests
client
controllers
regex_parser_controller_spec.coffee 2KB
regex_parser_controller_spec.js 1KB
regex_builder_spec.coffee 3KB
karma.conf.js 2KB
module_config_spec.coffee 1KB
api_tests.py 8KB
service_tests.py 3KB
Gruntfile.coffee 7KB
Procfile 67B
LICENSE 18KB
.slugignore 101B
deploy.sh 718B
requirements.txt 59B
.gitignore 176B
nose.cfg 53B
CHANGELOG.md 722B
public
index.html 10KB
sitemap.xml 414B
favicon.ico 2KB
README.md 2KB
install_assets_deps.sh 640B
bower.json 324B
grunt
templates
default_md.jst 22B
.node-version 8B
共 60 条
- 1
资源评论
weixin_39840588
- 粉丝: 448
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功