Typio: Make Your Terminal Type Like a Human
Project description
Overview
Typio is a lightweight Python library that prints text to the terminal as if it were being typed by a human. It supports multiple typing modes (character, word, line, sentence, typewriter, and adaptive), configurable delays and jitter for natural variation, and seamless integration with existing code via a simple function or a decorator. Typio is designed to be minimal, extensible, and safe, making it ideal for demos, CLIs, tutorials, and storytelling in the terminal.
| PyPI Counter | |
| Github Stars |
| Branch | main | dev |
| CI |
Installation
Source Code
- Download Version 0.1 or Latest Source
pip install .
PyPI
- Check Python Packaging User Guide
pip install typio==0.1
Usage
Function
Use type_print function to print text with human-like typing effects. You can control the typing speed, randomness, mode, and output stream.
from typio import type_print
from typio import TypeMode
type_print("Hello, world!")
type_print(
"Typing with style and personality.",
delay=0.06,
jitter=0.02,
mode=TypeMode.ADAPTIVE,
)
You can also redirect the output to any file-like object:
with open("output.txt", "w") as file:
type_print("Saved with typing effects.", file=file)
Decorator
Use the @typestyle decorator to apply typing effects to all print calls inside a function, without changing the function's implementation.
from typio import typestyle
from typio import TypeMode
@typestyle(delay=0.05, mode=TypeMode.TYPEWRITER)
def intro():
print("Welcome to Typio.")
print("Every print is typed.")
intro()
Issues & Bug Reports
Just fill an issue and describe it. We'll check it ASAP!
- Please complete the issue template
Show Your Support
Star This Repo
Give a ⭐️ if this project helped you!
Donate to Our Project
Bitcoin
1KtNLEEeUbTEK9PdN6Ya3ZAKXaqoKUuxCyEthereum
0xcD4Db18B6664A9662123D4307B074aE968535388Litecoin
Ldnz5gMcEeV8BAdsyf8FstWDC6uyYR6pgZDoge
DDUnKpFQbBqLpFVZ9DfuVysBdr249HxVDhTron
TCZxzPZLcJHr2qR3uPUB1tXB6L3FDSSAx7Ripple
rN7ZuRG7HDGHR5nof8nu5LrsbmSB61V1qqBinance Coin
bnb1zglwcf0ac3d0s2f6ck5kgwvcru4tlctt4p5qefTether
0xcD4Db18B6664A9662123D4307B074aE968535388Dash
Xd3Yn2qZJ7VE8nbKw2fS98aLxR5M6WUU3sStellar
GALPOLPISRHIYHLQER2TLJRGUSZH52RYDK6C3HIU4PSMNAV65Q36EGNLZilliqa
zil1knmz8zj88cf0exr2ry7nav9elehxfcgqu3c5e5Coffeete
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased
0.1 - 2026-01-31
Added
type_printfunctiontypestyledecoratorCHARmodeWORDmodeLINEmodeSENTENCEmodeTYPEWRITERmodeADAPTIVEmode
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 typio-0.1.tar.gz.
File metadata
- Download URL: typio-0.1.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dc5c1134b20844eaea36db729c4654d32f645208abfe74a8949b377baa445e9
|
|
| MD5 |
0aa26b78c9a09a65ebc8008214d1ef9e
|
|
| BLAKE2b-256 |
aa699fd824cbc588d51d2fa897c39491f6701a2828be0e6914b2775756cdb18b
|
File details
Details for the file typio-0.1-py3-none-any.whl.
File metadata
- Download URL: typio-0.1-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
588f798ca47cde6b61382ce4d84045b8c6c547160dffb3bb19514b5ae8638235
|
|
| MD5 |
1bd28d28793e14af9dd321b6278d0012
|
|
| BLAKE2b-256 |
b53d4772ae11f8ab47f2f482ef37c0428b5f8eb4224de859d11d5e0596709f25
|