Skip to main content

ART SHOWCASE

  • A library for custom showcasing of fonts from the 'art' Pypi package , it is helpful when trying to choose a font .
  • It contains one function showcase()
  • You can use it in a Python file or on a command line

Installation using pip

pip install art-showcase

Dependencies


Command line usage

  • You'll need Python already installed and added to path
python -m art_showcase  HelloWorld --limit 10  --random 
  • The command above will showcase 10 fonts at random s

  • See all available commands by typing :

python -m art_showcase -h
  • The above command gives you :
usage: __main__.py [-h] [-l LIMIT] [-ew ENDSWITH] [-sw STARTSWITH] [-c CONTAINS] [-s SLEEP] [-r] text

positional arguments:
  text                  The text to use during the showcase

options:
  -h, --help            show this help message and exit
  -l, --limit LIMIT     The maximum number of fonts to showcase . 0 is equal to no limit
  -ew, --endswith ENDSWITH
                        The string a font name should end with in order to be showcased
  -sw, --startswith STARTSWITH
                        The string a font name should start with in order to be showcased
  -c, --contains CONTAINS
                        The string a font name should contain in order to be showcased
  -s, --sleep SLEEP     The time in seconds to wait before showing the next font
  -r, --random          If set , this option enables the showcase to be randomized

Quick start

  • Let's get you started !
from art_showcase import showcase 

# showcase a maximum 5 fonts only , limit = 0 returns everthing font that meets the specs
fonts_showcased = showcase( "Hellothere", limit = 2 )
# fonts_showcased =  ['1943', '1row']


# Set the pause time in seconds in between fonts
fonts_showcased = showcase("Hellothere" , sleep = 0.1 , limit = 3 )
# fonts_showcased = ['1943', '1row', '3-d']


# Set constraints for the fonts to showcase

# Check if a font name contains the text provided
fonts_showcased = showcase( "Hellothere",
							contains = "re",
							sleep = 0.1,
							  )
# fonts_showcased = ['barbwire', 'fire_font-s', 'fireing', 'future_1', 'future_2', 'future_3', 'future_4', 'future_5', 'future_6', 'future_7', 'future_8', 'greek', 'green_be', 'ogre', 'rectangles', 'red_phoenix', 'rev', 'stforek', 'threepoint', 'trek']

# Check if a font name starts the text provided
fonts_showcased = showcase( "Hellothere",
							startswith = "3",
							sleep = 0.1,
							  )
# fonts_showcased = ['3-d', '3d_diagonal', '3x5']



# Check if a font name endswith the text provided
fonts_showcased = showcase( "Hellothere",
							endswith = "zy",
							sleep = 0.1,
							  )
# fonts_showcased = ['fuzzy']


# Randomize the showcase output
fonts_showcased = showcase( "Hellothere",
							startswith = "3",
							sleep = 0.1,
							randomize =  True
							  )
# fonts_showcased will be a random list containing these values :
#  ['3x5', '3d_diagonal', '3-d']



# Add the font names you want to showcase specifically 
# Note that they must be in the list art.FONT_NAMES
fonts_showcased = showcase( "Hellothere", fonts = ["fuzzy" , "os2"])
Thanks for reading , or installing or whatever . Have a good one. Cheers !

Adios!

Metadata

Release files for art-showcase 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for art-showcase 0.0.4
File Size Uploaded Provenance
art_showcase-0.0.4.tar.gz 5.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for art-showcase 0.0.4
File Interpreter ABI Platform
art_showcase-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 11.1 kB

Release files / art_showcase-0.0.4.tar.gz

Download URL art_showcase-0.0.4.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e07108c42421bf431e2c84ec4bed6f430f439aa285078000833e807f8ec69985
BLAKE2b-256 checksum
How to use checksums
350c90b9425fb077b67909b1101dfc0ccc078a0afb7eab09ff59b836acff93e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / art_showcase-0.0.4-py3-none-any.whl

Download URL art_showcase-0.0.4-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
431a48de6ed4ce2fb52405233439869eb05094d5ee08608e2fbc44e54e0d1e3a
BLAKE2b-256 checksum
How to use checksums
7ed2fe9c9d97f76bd6c156c7f1982593f180091a6cbf2d91d2550cd68ebb47e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Security for art-showcase 0.0.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page