Skip to content
Sections
>> Trisquel >> Paquets >> etiona >> python >> python-rstr
etiona  ]
[ Paquet source : python-rstr  ]

Paquet : 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.

Autres paquets associés à python-rstr

  • dépendances
  • recommandations
  • suggestions
  • dep: python
    interactive high-level object-oriented language (default version)

Télécharger python-rstr

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
all 9,3 ko47 ko [liste des fichiers]