Skip to main content

Makes your terminal text chaotic. It's got what plants crave!

Project description

Brawndo

build

It's Got Electrolytes!

Makes your terminal text chaotic. It's got what plants crave!

See on PyPI

Install

pip install brawndo

Modifying

First, set up the environment:
cd .../3-python-package-exercise-team-not-sure

Enter the pipenv:
pipenv shell

Build (in project root): python -m build

Modify pyproject.toml to whatever you want.

You can then use twine upload dist/* to upload to PyPI.

Functions

Import with from brawndo.brawndo import *.

rainbow_deterministic(text: str, shift: int, testing=False) -> Optional[str]

  • Prints out colors for each character in your text, making the same characters the same color.
  • When run with the same shift, it stays the same each time! Change it to preference.
  • Specify testing=True to get an additional output string (for testing).

word_deterministic(text: str, shift: int, testing=False) -> Optional[str]

  • Prints out colors for each word in your text, making the same words the same color.
  • When run with the same shift, it stays the same each time! Change it to preference.
  • Specify testing=True to get an additional output string (for testing).

rainbow_random(text: str, rndseed=None, testing=False) -> Optional[str]

  • By default, randomizes colors for each character.
  • You can get a reproducible color order if you specify the same random seed!
  • Specify testing=True to get an additional output string (for testing).

def word_random(text: str, operate_on_sentences: bool, rndseed=None, testing=False) -> None

  • By default, randomizes color for each word (or entire sentence, if you specify operate_on_sentences=True).
  • You can get a reproducible color order if you specify the same random seed!
  • Specify testing=True to get an additional output string (for testing).

Team Members

Michael Lin <mal9608@nyu.edu>

Seolin Jung <sj3182@nyu.edu>

Marwan AbdElhameed <mwa7459@nyu.edu>

Pavly Halim <poh2005@nyu.edu>

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

brawndo-1.0.1.tar.gz (18.4 kB view hashes)

Uploaded Source

Built Distribution

brawndo-1.0.1-py3-none-any.whl (16.6 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