Skip to main content

Module: typewriter

This module provides a function that prints out text in a typewriter manner

def typing(txt, text_speed=0.05):

    for char in txt:
        sys.stdout.write(char)
        sys.stdout.flush()

        if char != "\n":
            time.sleep(text_speed)

        else:
            time.sleep(text_speed + 0.3)

    else:
        sys.stdout.write("\n")
  • text: Argument that will be printing to the terminal
  • text_speed: Specifies the time taken to pause after printing each character

Metadata

Release files for leza-typewriter 1.0.0

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

Source distribution (sdist)

Source distribution for leza-typewriter 1.0.0
File Size Uploaded Provenance Actions
leza_typewriter-1.0.0.tar.gz 2.1 kB Without provenance Details for leza_typewriter-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for leza-typewriter 1.0.0
File Interpreter ABI Platform Actions
leza_typewriter-1.0.0-py3-none-any.whl Python 3 none any Details for leza_typewriter-1.0.0-py3-none-any.whl

Total release size: 4.3 kB

Release files / leza_typewriter-1.0.0.tar.gz

Download URL leza_typewriter-1.0.0.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cf4044e1c8dd143f720a2c38d4e2662b8c8cb599a44ed337fa900afa21eac95c
BLAKE2b-256 checksum
How to use checksums
e9957a2a6db60a6cd7238a2e3bb6f9ba0f9d55c830b3d6c78c9fdd200e7f78fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

Release files / leza_typewriter-1.0.0-py3-none-any.whl

Download URL leza_typewriter-1.0.0-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b8250690fa50afdd4b6fbc9f2f20e00f6ed533668527fb3a886c6373b784e4ce
BLAKE2b-256 checksum
How to use checksums
164e91a8fad2b58049fc1e1be24f510b8f90084a15e4293c64a968bc4e5de0d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

Security for leza-typewriter 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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