Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python implementation of SRL.

Project Description

Python Implementation of Simple Regex.

Installation

You can download and install the latest version of this software from the Python package index (PyPI) as below:

$ pip install srl
✨🍰✨

SRL-Python supports:

  • Python 2.7
  • Python 3.3
  • Python 3.4
  • Python 3.5
  • Pypy

Usage

Class SRL takes a Simple Regex Language string as input. SRL instance shares exactly same API with re.RegexObject:

>>> from srl import SRL
>>> srl = SRL('digit exactly 3 times')
>>> srl.pattern
'[0-9]{3}'
>>> matched = srl.search('123')
>>> matched.group()
'123'

See more usages in Specification.

Test

SRL-Python uses nose as test runner.:

$ pip install nose
$ nosetests -c ./nose.cfg

License

SRL is published under the MIT license. See LICENSE for more information.

Contribution

Like this project? Want to contribute? Awesome! Feel free to open some pull requests or just open an issue.

Authors

Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself below.

Release History

0.1.0 (2016-09-08)

  • Hello world!
Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
SRL-0.1.0-py2-none-any.whl (49.5 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Sep 8, 2016
SRL-0.1.0.tar.gz (47.2 kB) Copy SHA256 Checksum SHA256 Source Sep 8, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting