typeglide
A typewriter text effect library for Python. Works with tkinter and Android/Pydroid too!
This library is made by Daksh Sharma who is easily known as Dakshu.
Installation
pip install typeglide
Functions
typeglide.write(text, delay, end)
Prints text to the terminal character by character.
import typeglide
typeglide.write("Hello World", delay=0.05)
typeglide.erase(text, delay)
Erases text character by character using backspaces.
import typeglide
typeglide.write("Hello!", delay=0.05, end="")
typeglide.erase("Hello!", delay=0.05)
typeglide.save(text, delay, end)
Saves text and settings into a reusable Glide object.
import typeglide
glide = typeglide.save("Hello World", delay=0.05)
Glide Object Methods
print(glide) — animate in terminal
import typeglide
glide = typeglide.save("Hello World", delay=0.05)
print(glide)
glide.erase() — erase from terminal
glide.erase()
glide.type_and_erase(pause) — type then erase
glide.type_and_erase(pause=1) # types it out, waits 1s, then erases it
glide.animate_widget(widget) — animate into a tkinter widget
glide.animate_widget(label)
glide.animate_widget(button)
glide.erase_widget(widget) — erase from a tkinter widget
glide.erase_widget(label)
glide.text — get the raw text (for static use)
button.config(text=glide.text)
How to use it?
Simple terminal example:
import typeglide
glide = typeglide.save("Hello World", delay=0.05) # Save The Text
print(glide) # Print The Animated text
Tkinter example 🐱
import typeglide
import tkinter as tk
glide = typeglide.save("Hello World", delay=0.05)
def do():
glide.animate_widget(label)
root = tk.Tk()
label = tk.Label(text="hi")
label.pack()
button = tk.Button(text="press", command=do)
button.pack()
root.mainloop()
For support
Youtube :- https://youtube.com/@typeglide?si=hPYynPIiXVdLKKKT
Github Username
Github username is: DakshuOnHair github link: https://github.com/DakshuOnHair/Typeglide
Metadata
Release files for typeglide 0.4.6
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 |
|---|---|---|---|---|
| typeglide-0.4.6.tar.gz | 3.3 kB | Without provenance | Details for typeglide-0.4.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| typeglide-0.4.6-py3-none-any.whl | Python 3 | none | any | Details for typeglide-0.4.6-py3-none-any.whl |
Total release size: 7.6 kB
Release files / typeglide-0.4.6.tar.gz
| Download URL | typeglide-0.4.6.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2209c0c0c512b8b433a04d3e1f598f9a0831c2738eb30898b23d984d7f5db690
|
|
BLAKE2b-256 checksum How to use checksums |
cd629526aef030371f205680595cf31460a8406d343858a0ae4762894689bd8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / typeglide-0.4.6-py3-none-any.whl
| Download URL | typeglide-0.4.6-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20767a56ceb9c04274cd81326a58f40258d8d763362af48df1f474df8800c2ef
|
|
BLAKE2b-256 checksum How to use checksums |
a7fdc3ab710f98b41fbfc53ac23ed33f0b52369e3fbc9b43d726953f485a9813
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Security for typeglide 0.4.6
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.