Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xeger

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xeger

A library for generating random strings from a valid regular expression.

  • 0.4.0
  • PyPI
  • Socket score

Maintainers
1

.. image:: https://travis-ci.org/crdoconnor/xeger.svg?branch=master :target: https://travis-ci.org/crdoconnor/xeger

Xeger

Library to generate random strings from regular expressions.

To install, type:

::

pip install xeger

To use, type:

from xeger import Xeger x = Xeger(limit=10) # default limit = 10 x.xeger("/json/([0-9]+)") u'/json/15062213'

About

Code adapted and refactored from the Python library rstr by Leapfrog Online <https://github.com/leapfrogonline/rstr>_ (now iProspect), in turn inspired by the Java library Xeger <http://code.google.com/p/xeger/>_.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc