Skip to main content

code-typer

Terminal-based code showcase tool that simulates human-like typing of source code files.

Features

  • Human-like typing simulation - Variable speed, occasional typos with corrections, natural pauses
  • Syntax highlighting - Built-in support for Python and SQL, extensible for other languages
  • Multi-file support - Showcase entire directories with smooth transitions
  • ncurses display - Proper terminal handling with scrolling and color support
  • Configurable behavior - Adjust typing speed and error rate

Installation

pip install code-typer

For development with Cython optimizations:

pip install code-typer[dev]

Usage

# Showcase a single file
showcase example.py

# Showcase with custom speed (2x faster)
showcase example.py --speed 2.0

# Showcase with higher error rate
showcase example.py --error-rate 0.05

# Showcase an entire directory
showcase ./src --speed 1.5

# Disable syntax highlighting
showcase example.py --no-highlight

Options

Option Description Default
--speed, -s Typing speed multiplier (1.0 = normal) 1.0
--error-rate, -e Probability of typos (0.0-1.0) 0.02
--no-highlight Disable syntax highlighting False
--pause-between-files Pause duration between files (seconds) 1.0

Supported Languages

  • Python (.py, .pyx, .pxd)
  • SQL (.sql)

Additional languages will show without syntax highlighting.

License

Apache License 2.0

Metadata

Release files for code-typer 0.1.1

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

Source distribution (sdist)

Source distribution for code-typer 0.1.1
File Size Uploaded
code_typer-0.1.1.tar.gz 158.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for code-typer 0.1.1
File
code_typer-0.1.1-cp313-cp313-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64, Linux glibc 2.5+ x86-64 Details
code_typer-0.1.1-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.5+ x86-64, Linux glibc 2.17+ x86-64 Details
code_typer-0.1.1-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.5+ x86-64, Linux glibc 2.17+ x86-64 Details
code_typer-0.1.1-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.5+ x86-64, Linux glibc 2.17+ x86-64 Details
code_typer-0.1.1-cp39-cp39-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.5+ x86-64, Linux glibc 2.17+ x86-64 Details

Total release size: 1.8 MB

Release files / code_typer-0.1.1.tar.gz

Download URL code_typer-0.1.1.tar.gz
Size 158.8 kB
Tags Source
SHA-256 checksum
How to use checksums
65c642200c0b0d4a93863c9c2bcf55a6a1cf0bf092f6955218dd54db78907ed3
BLAKE2b-256 checksum
How to use checksums
fb269e73aae7f601654763556c33cd9e0b1a0ecbeb7b07ada2928f673db7c01b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / code_typer-0.1.1-cp313-cp313-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl

Download URL code_typer-0.1.1-cp313-cp313-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Size 329.7 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
210871699d619eb6a3e56166a41420c8820d6e98d0a090e771b5fd95a957d2e8
BLAKE2b-256 checksum
How to use checksums
c8f3347c3a62c537a4db78b39908a34b0f3cff520c104f0fca4c893dc735dea5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / code_typer-0.1.1-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl

Download URL code_typer-0.1.1-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Size 341.7 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
a9d7c7fdb8be7ef76733616723d499d6d519823f46b7e185e7f1c7bf93475009
BLAKE2b-256 checksum
How to use checksums
a98010e41d9a4128f87e71ac4a5dd061d596ffee9e7571870fbacbb51b584fe2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / code_typer-0.1.1-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl

Download URL code_typer-0.1.1-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Size 325.8 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
c319928734779b910aa08cad1621ed5339be2b95bc8953715c618daf771f941d
BLAKE2b-256 checksum
How to use checksums
fd877ec8a651f056339f42678cc6871139577bbe678498d89b40cbae03e037c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / code_typer-0.1.1-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl

Download URL code_typer-0.1.1-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Size 305.4 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
af5116f33d4fd025d44943e622cde6c7e97faab2a82ad395fbec504177071f81
BLAKE2b-256 checksum
How to use checksums
6dc7928af70374725a66e747e35c92695a1f84fa20035b80e9a95e5052ffc7ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / code_typer-0.1.1-cp39-cp39-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl

Download URL code_typer-0.1.1-cp39-cp39-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Size 304.9 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
ce00a1ae80adc150bf66bc885b24f03a3295067324806eb70efe8db0b131d8ec
BLAKE2b-256 checksum
How to use checksums
ac5e4da421b497ef96f80bc1692ad4a9bbf6c49fc2e6776c4a2b52c11f71f6e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.1 This release

6 release files

0.1.0

6 release files

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