Skip to main content

An ASCII banner comment generator for making subl nicer.

Project description

# What is this?

I like banner comments in my code. Modern IDE’s have fancier ways of doing this like code collapsing and such. And, Python style guides generally prohibit this style of commenting. But, I like to see the big test while scrolling (or, in [subl](https://www.sublimetext.com/)).

# Example

`python from banner_comment import * print(banner_comment("hello")) `

## Outputs… ` ############################################################################### # _ _ _ # # | |__ ___| | | ___ # # | '_ \ / _ \ | |/ _ \ # # | | | | __/ | | (_) | # # |_| |_|\___|_|_|\___/ # # # ############################################################################### `

# Installation

This (one function) package just wraps [figlet](http://www.figlet.org/). You need to install figlet first. It exists on lots of package managers. E.g.

`sh brew install figlet # for OSX apt-get install figlet # for ubuntu `

After installing figlet, do `sh pip install banner_comment `

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

banner_comment-0.0.2.tar.gz (1.6 kB view hashes)

Uploaded Source

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