Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nullsec-0.1.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nullsec-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file nullsec-0.1.0.tar.gz.

File metadata

  • Download URL: nullsec-0.1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for nullsec-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2cf5817e9df47f874501bba786720eb6a3d14ec465539d9904fe7def297b4736
MD5 6cb0a81e9c83c4bca9370ec314a80890
BLAKE2b-256 d7a6c81dedf2b5271f316139604fd8735a836d316f56f3578094baf490401dbb

See more details on using hashes here.

Provenance

The following attestation bundles were made for nullsec-0.1.0.tar.gz:

Publisher: publish.yml on filipinescu/nullsec

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nullsec-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nullsec-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for nullsec-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 727029ce6d6a0753c310b42c5c71a7a7eb767ee6c7fad82f8b0cfd180412a7e3
MD5 a2c7038dcca7695e616d8ade18391e56
BLAKE2b-256 afc0efa4aab5990b0f6203a5b6252eb5f83d1076274179b5a5804983bce0217f

See more details on using hashes here.

Provenance

The following attestation bundles were made for nullsec-0.1.0-py3-none-any.whl:

Publisher: publish.yml on filipinescu/nullsec

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page