A tool to generate ASCII art signatures (tattoos) and apply them to your code files recursively.
Project description
Tatuagem, the boastful code signature suite
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 '@'
Wallpaper: Pattern-Argument Syntax Example
Using a pattern string for the background.
python3 tatuagem.py "Tatuagem" --pattern '`':,:''
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tatuagem-0.1.1.tar.gz.
File metadata
- Download URL: tatuagem-0.1.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c64488c6b0048a7897305664fed26df89bbb184c99c08e8da7c69a5be9756b39
|
|
| MD5 |
1b024bd1ddba8a6614f901e3c33ec190
|
|
| BLAKE2b-256 |
17cc9587898d35dc70d5c89323f26382152a5c8665a82af7ee7c9cf3db6f6e3f
|
Provenance
The following attestation bundles were made for tatuagem-0.1.1.tar.gz:
Publisher:
publish.yml on juleshenry/tatuagem
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tatuagem-0.1.1.tar.gz -
Subject digest:
c64488c6b0048a7897305664fed26df89bbb184c99c08e8da7c69a5be9756b39 - Sigstore transparency entry: 807779179
- Sigstore integration time:
-
Permalink:
juleshenry/tatuagem@cd5c15228783666fb65f645c1f4bc637b777a7c8 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/juleshenry
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cd5c15228783666fb65f645c1f4bc637b777a7c8 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tatuagem-0.1.1-py3-none-any.whl.
File metadata
- Download URL: tatuagem-0.1.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47a7b514c24e2ce67866235542ee58860f6e8805d5fcb234e878a24a8c3d0f6c
|
|
| MD5 |
6b2712a723354fb3125c8eb6dcc7f5c9
|
|
| BLAKE2b-256 |
459122dffa2956b24abcddb7a445e2581713026cf447ca42faea3b2e808bd87c
|
Provenance
The following attestation bundles were made for tatuagem-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on juleshenry/tatuagem
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tatuagem-0.1.1-py3-none-any.whl -
Subject digest:
47a7b514c24e2ce67866235542ee58860f6e8805d5fcb234e878a24a8c3d0f6c - Sigstore transparency entry: 807779232
- Sigstore integration time:
-
Permalink:
juleshenry/tatuagem@cd5c15228783666fb65f645c1f4bc637b777a7c8 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/juleshenry
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cd5c15228783666fb65f645c1f4bc637b777a7c8 -
Trigger Event:
release
-
Statement type: