string_pattern

String generator

A gem that generates strings according to predefined patterns or regular expressions for testing and data generation purposes

Generate strings supplying a simple pattern. Perfect to be used in test data factories. Validate if a text fulfills a specific pattern. Also you can use regular expressions (Regexp) to generate strings: /[a-z0-9]{2,5}\w+/.gen. Generate words in English or Spanish.

GitHub

16 stars
2 watching
1 forks
Language: Ruby
last commit: over 1 year ago
Linked from 1 awesome list

dataerror-detectionfactoriesgenerationpatternrandomregex-patternregexpregular-expressionsrubyruby-gemstringtest

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
tom-lord/regexp-examples A gem that generates random strings that match given regular expressions. 520
mochizukikotaro/regex_sample A Ruby gem that generates random strings based on regular expressions 1
zach-klippenstein/goregen A library for generating random strings from regular expressions. 90
patterns-ai-core/langchainrb A Ruby library providing an interface to Large Language Model (LLM) providers for text generation and embedding 1,415
reddavis/n-gram Generates sequences of characters from a given text, useful for data analysis and modeling 37
fent/randexp.js Generates random strings based on user-provided regular expressions 1,828
pokepay/cl-string-generator Generates strings from regular expressions using Common Lisp 23
malelabts/regexgenerator A tool for generating regular expressions for text extraction and classification based on examples and without external hints. 945
genericsteele/token_phrase A Ruby gem that generates unique phrases by combining words from predefined dictionaries with user-specified separators and settings. 100
imikimi/literate_randomizer A Ruby gem that generates near-English prose using Markov chains. 110
polarspetroll/ciprand A random string generator API that generates multiple strings of varying lengths based on user-provided parameters. 11
caioceccon/random_string_generator A module to generate random strings based on user-defined patterns and options. 1
jasonlong/geo_pattern Generates geometric background images from strings using a combination of color manipulation and pattern generation. 1,257
ahoward/tagz A Ruby library that provides an unobtrusive and safe syntax for generating HTML and XML. 31
zolrath/marky_markov Generates text based on patterns found in input data 228