ArtAPI
Simple Python library for beautiful animated ASCII banners in the terminal.
Features
- ✨ Typing animation
- ⚡ Glitch effect
- 💡 Shine effect
- 🌈 RGB grayscale colors
- 🔁 Infinite animation loop
- 📍 Automatic terminal centering
Installation
pip install artapi
Usage
from artapi import show, gradient, xcenter
banner = r"""
_ _
/ \ _ __| |_
/ _ \ | '__| __|
/ ___ \| | | |_
/_/ \_\_| \__|
"""
show(banner) # this will be with gradient and xcenter
print(gradient(xcenter("Hello World!"))) # this is a vertically gradiented & centered text
Options
show(
banner,
typing=True,
glitch=True,
flash=True,
shine=True,
loop=False,
speed=0.01
)
| Parameter | Description | Default |
|---|---|---|
| typing | Typing animation | True |
| glitch | Glitch effect | True |
| flash | Flash effect | True |
| shine | Shine animation | True |
| loop | Infinite shine loop | False |
| speed | Shine animation speed | 0.01 |
Example
from artapi import show
banner = """
██╗ ██╗███████╗██╗ ██╗ ██████╗
██║ ██║██╔════╝██║ ██║ ██╔═══██╗
███████║█████╗ ██║ ██║ ██║ ██║
██╔══██║██╔══╝ ██║ ██║ ██║ ██║
██║ ██║███████╗███████╗███████╗╚██████╔╝
╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝ ╚═════╝
"""
show(banner)
Requirements
- Python 3.8+
License
MIT
Metadata
Release files for artapi 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| artapi-1.0.1.tar.gz | 3.3 kB | Without provenance | Details for artapi-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| artapi-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for artapi-1.0.1-py3-none-any.whl |
Total release size: 6.9 kB
Release files / artapi-1.0.1.tar.gz
| Download URL | artapi-1.0.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c6694cd4ad97112d60cc9dd407969750a038e025474883a1856416e00a45c6a
|
|
BLAKE2b-256 checksum How to use checksums |
ff2471c9e606e7441d57c2fbf503bf8da08f139e20959e34d8d720d41e0db105
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / artapi-1.0.1-py3-none-any.whl
| Download URL | artapi-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af014b14f60956ad8b53f05a448e75275db85e192759eaaa0a1943e8404f6ab8
|
|
BLAKE2b-256 checksum How to use checksums |
c9acb29a184ced157e5622f002943ae24187b457b1b253fa4818843ec96aa760
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for artapi 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.