Skip to main content

mixemup

Build Status

A string combiner

This program takes as input a file of strings, and produces a list of combinations of these strings as output.

Installation

Requires Python 3.7 or greater.

pip install mixemup

Usage

Usage: mixemup.py [OPTIONS] FILE_PATH

  This program takes in a file with strings, and produces delimiter-
  separated combinations of these strings.

Options:
  -d, --delimiter TEXT     Set the delimiter.
  -r, --prefix TEXT        Add the given string to the beginning of each line.
  -o, --postfix TEXT       Add the given string to the end of each line.
  -n, --min-parts INTEGER  Set the minimum number of parts in output. This
                           count does not include prefixes and postfixes.
  -m, --max-parts INTEGER  Set the maximum number of parts in output. This
                           count does not include prefixes and postfixes.
  --version                Show the version and exit.
  --help                   Show this message and exit.

Example

$ 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

Metadata

Release files for mixemup 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mixemup 2.1.0
File Size Uploaded Provenance Actions
mixemup-2.1.0.tar.gz 3.3 kB Without provenance Details for mixemup-2.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mixemup 2.1.0
File Interpreter ABI Platform Actions
mixemup-2.1.0-py3-none-any.whl Python 3 none any Details for mixemup-2.1.0-py3-none-any.whl

Total release size: 6.8 kB

Release files / mixemup-2.1.0.tar.gz

Download URL mixemup-2.1.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0da949689016282f73acc65d2a895cbedcebf257da719bd71ee145235d98cd09
BLAKE2b-256 checksum
How to use checksums
97f227ca22c10e6e6a6d0e1e63d2d29541f80494c6ed7099b95e382024bc062e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

Release files / mixemup-2.1.0-py3-none-any.whl

Download URL mixemup-2.1.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15d7cd58f93f41cdca3dca1cd9e67ad6bc35ccbd5d6a38988fd566c67bec3353
BLAKE2b-256 checksum
How to use checksums
10b3111bdbbf35dfbcd4e6e6b0b2510d98bd00e727fe2f902a7167a2d6799d98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

Security for mixemup 2.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page