Skip to content
Sections
>> Trisquel >> Pakete >> etiona >> python >> python-rstr
etiona  ]
[ Quellcode: python-rstr  ]

Paket: python-rstr (2.2.6-1)

Easily generate random strings of various types

rstr is a helper module for easily generating random strings of various types. It could be useful for fuzz testing, generating dummy data, or other applications. It has no dependencies outside the standard library, and is compatible with Python 3.

The basic method of rstr is rstr(). At a minimum, it requires one argument, an alphabet of characters from which to create a string.

Inspired by the Java library of the same name, the xeger() method allows users to create a random string from a regular expression.

You can combine rstr with Python's built-in string formatting to produce strings that fit a variety of templates.

This package installs the library for Python 2.

Andere Pakete mit Bezug zu python-rstr

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: python
    interactive high-level object-oriented language (default version)

python-rstr herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 9,3 kB47 kB [Liste der Dateien]