Skip to main content

Lists out permutations of lines in files.

Project description

mixemup

Combine and mix strings

This program takes in a file of strings, and produces combinations of different lengths of these strings. This is pretty useful for when you want to test parameter input for programs.

Installation

Requires Python 3.7 or greater.

pip install mixemup

Usage

$ cat names.txt 

bob
alice
john
jack
sally
$ mixemup names.txt


bob 
alice 
john 
jack 
sally 
bob alice 
bob john 
bob jack 
bob sally 
alice john 
alice jack 
alice sally 
john jack 
john sally 
jack sally 
bob alice john 
bob alice jack 
bob alice sally 
bob john jack 
bob john sally 
bob jack sally 
alice john jack 
alice john sally 
alice jack sally 
john jack sally 
bob alice john jack 
bob alice john sally 
bob alice jack sally 
bob john jack sally 
alice john jack sally 
bob alice john jack sally

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mixemup-0.2.4.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

mixemup-0.2.4-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page