iTypeWriter
- A simple package for printing and displaying characters one at a time as if you were typing.
- With
itypewriteryou can display values as if you were typing a text.
Installation
pip install itypewriter
Usage
itypewriter can be used either via the functional approach or via the object oriented approach.
Via Functional Approach
>>> import itypewriter
>>> itypewriter.itype("Hello Sentient Typing")
There is also the iprint option
>>> from itypewriter import iprint
>>> iprint("Hello Sentient Typing")
>>> iprint("Hello",num_of_chars=3)
Each of these functions accepts optional params for customising the number of characters (num_of_chars)
and the delay inbetween the appearance of characters (delay).
Specifying the Delay Time
>>> from itypewriter import iprint
>>> iprint("Hello Sentient Typing",delay=0.2)
OOP Approach
>>> from itypewriter import TypeText
>>> docx = """Some wonderful text"""
>>> tt = TypeText(docx,num_of_chars=1)
>>> tt.iprint()
Release files for itypewriter 0.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 | |
|---|---|---|---|
| itypewriter-0.0.1.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| itypewriter-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:7.1 kB
Release files / itypewriter-0.0.1.tar.gz
| Download URL | itypewriter-0.0.1.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36dc9314adc6fceefafd400cc7deca1da0d40aa74a57cbcdeffbdeb312327c5e
|
|
BLAKE2b-256 checksum How to use checksums |
ee0b1989fb60310dd5350d9a5af4ed213cf4054f8f24ee71238d74d494888a1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.6 Linux/5.15.0-56-generic
|
Release files / itypewriter-0.0.1-py3-none-any.whl
| Download URL | itypewriter-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41a2ea56c2a80c064410659238b5118e1cb79ab3e22ab567494d1ba1d16e9cce
|
|
BLAKE2b-256 checksum How to use checksums |
2dde304a3dff27fbc324de38150e6b83e114665d3402cbd6c44e0ac788abb8dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.6 Linux/5.15.0-56-generic
|