https://github.com/echo-lalia/banner-generator
Code comment banner generator for visually dividing long scripts.
https://github.com/echo-lalia/banner-generator
Last synced: about 1 month ago
JSON representation
Code comment banner generator for visually dividing long scripts.
- Host: GitHub
- URL: https://github.com/echo-lalia/banner-generator
- Owner: echo-lalia
- License: gpl-3.0
- Created: 2024-09-12T09:11:01.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-15T20:06:35.000Z (9 months ago)
- Last Synced: 2025-02-17T02:13:37.297Z (4 months ago)
- Language: Python
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
```
# |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
# | __ _ , , , , __ __ __ __ , , __ __ _ ___ __ __ |
# | |__) /_\ |\ | |\ | |_ |__) ___ / _ |_ |\ | |_ |__) /_\ | / \ |__) |
# | |__) / \ | \| | \| |__ | \_ \__) |__ | \| |__ | \_ / \ | \__/ | \_ |
# | |
# |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
# |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ banner-generator ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
# |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
```Simple (self-contained, only imports 'argparse') code comment banner generator for visually dividing long scripts.
Also has a bit of potentially useful code for dynamically cutting up ascii fonts into discrete characters.
```
usage: bannergenerator.py [-h] [-w WIDTH] [--title_case] [--plain_case] [-H H_CHAR] [-v V_CHAR] [--no_comment] textpositional arguments:
text The text to use in the banneroptions:
-h, --help show this help message and exit
-w WIDTH, --width WIDTH
The width of the banner
--title_case enable title case
--plain_case Dont modify the case from the input.
-H H_CHAR, --h_char H_CHAR
Char to use for the horizontal bars
-v V_CHAR, --v_char V_CHAR
Char to use for the vertical bars
--no_comment disable "#" at the start of the lines
```