Skip to content

Repository files navigation

nullsec

A tiny terminal toy: prints the NULLSEC ASCII art with one of DNR, OPSEC, NULLSEC or EBK picked at random underneath it, in a random color.

$ nullsec
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*+++++==*@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#:.......+@@@@@@@@@@@
...

                                               NULLSEC

Install

pip install nullsec          # PyPI
pipx install nullsec         # isolated, recommended for a CLI
yay -S nullsec               # Arch Linux (AUR)

Usage

nullsec                      # random tag, random color
nullsec --tag EBK            # pin the tag
nullsec --color never        # no ANSI codes
nullsec --seed 42            # reproducible output
nullsec --version
python -m nullsec            # same thing, without the entry point

Color is on when stdout is a TTY and off when piped. NO_COLOR and FORCE_COLOR are both honored, and --color always|never overrides everything.

Library use

from nullsec import render

print(render("OPSEC", color=False))

Development

python -m pip install -e .
python -m pytest

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages