Skip to main content

A tool to generate ASCII art signatures (tattoos) and apply them to your code files recursively.

Project description

Tatuagem, the boastful code signature suite

coverage

Tatuagem is a tool to generate ASCII art signatures (tattoos) and apply them to your code files recursively.

Usage

python3 tatuagem.py [text_input] [options]

Arguments

Argument Description Default
text_input The string you want to convert into a tattoo. Required if --file is not provided. None
--text The character used to draw the text pixels. 1
--backsplash The character used to fill the background. 0$*~
--font The TrueType font file (.ttf) to use for generating the text shape. unicode-arial.ttf
--pattern A repeating string pattern to use for the background. Overrides --backsplash. None
--margin Number of empty lines (margin) to add above and below the text. 3
--recurse-path Path to a directory. Tatuagem will walk through this directory and prepend the tattoo to every file found. None
--file, -f Path to a file containing text.
Standard Mode: The content of the file is converted into the tattoo art.
Recurse Mode (with --recurse-path): The content of the file is used as-is for the tattoo (useful for pre-generated art).
None

Examples

Basic Example

Generate a simple tattoo.

python3 tatuagem.py "tatuagem"

Defaults: '1' for text, '0' for background, unicode-arial.ttf for font

Elaborate Syntax Example

Customizing the text and background characters.

python3 tatuagem.py "L'appel du vide" --font 'unicode-arial.ttf' --backsplash '!' --text '@'

alt text

Wallpaper: Pattern-Argument Syntax Example

Using a pattern string for the background.

python3 tatuagem.py "Tatuagem" --pattern '`':,:''

alt text

Recurse your project

Apply the generated tattoo to all files in test_tattoo/.

python tatuagem.py "Tatuagem" --pattern '`':,:''  --recurse-path test_tattoo/

Recurse your project with a text file

Apply the contents of tests/aeaea.inc as a header to all files in test_tattoo/.

python3 tatuagem.py --file tests/aeaea.inc --recurse-path test_tattoo/

Features

Shebang detection and preservation - files with #!/... shebangs keep them at the top ✓ Safe for npm projects - tattooed npm projects continue to work after tattooing ✓ Idempotent - Tattoos won't repeat on themselves if run multiple times

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

tatuagem-0.1.0.tar.gz (15.3 MB view details)

Uploaded Source

Built Distribution

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

tatuagem-0.1.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tatuagem-0.1.0.tar.gz
  • Upload date:
  • Size: 15.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tatuagem-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b3533bf720c961496cd3d6697eb1522a5fdb05352e330a881166edec2ea49323
MD5 26e0a58924e0ef3c7301283816fe3564
BLAKE2b-256 b340828df7adfd4e00a6563858c06c3846e645ebcf43fdba39359da063fec0a5

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on juleshenry/tatuagem

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

File details

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

File metadata

  • Download URL: tatuagem-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tatuagem-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4128c5cb8a4c53e236750958e01631971a437598033452964d775e8c058a009e
MD5 458e004c5da4990d0b16aa11a107f8cd
BLAKE2b-256 f28f1247b8090763575a0652d40b6e6347f9f5f9aa04c07f3aee5fe46c645abb

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on juleshenry/tatuagem

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 Pingdom Monitoring Sentry Error logging StatusPage Status page