Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> python >> python3-rstr
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: python-rstr  ]

套件: python3-rstr (2.2.6-2)

Easily generate random strings of various types (Python 3)

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 3.

其他與 python3-rstr 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: python3
    interactive high-level object-oriented language (default python3 version)

下載 python3-rstr

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 9.5 kB47 kB [文件列表]