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 details)

Uploaded Source

Built Distribution

brawndo-1.0.1-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file brawndo-1.0.1.tar.gz.

File metadata

  • Download URL: brawndo-1.0.1.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for brawndo-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b5d31ed5aeab84127f0d115fb09d3929fab5ba8cf2327a28b465e53bfab963bb
MD5 25bf4e11be74a09aae1670b4047c0ce0
BLAKE2b-256 96cdb4d2de5caa898fd69914e4eb11f39f7168d931df47d43807bd1c871e7073

See more details on using hashes here.

File details

Details for the file brawndo-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: brawndo-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for brawndo-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf6d27dcbf9fdbcc3fad3dd0012b0d561f34e67a9ec2445ab3b63d7ffa1b17c2
MD5 d687169184d2eac1b6d88672df8790c9
BLAKE2b-256 01492b4625135bc433e5bf79df43664929da7c36ba39209b3e53c27822e5a77e

See more details on using hashes here.

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