Skip to main content

Terminal-based code showcase tool that simulates human-like typing

Project description

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

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

code_typer-0.1.1.tar.gz (158.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

code_typer-0.1.1-cp313-cp313-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl (329.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

code_typer-0.1.1-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl (341.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

code_typer-0.1.1-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl (325.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

code_typer-0.1.1-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl (305.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

code_typer-0.1.1-cp39-cp39-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl (304.9 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

File details

Details for the file code_typer-0.1.1.tar.gz.

File metadata

  • Download URL: code_typer-0.1.1.tar.gz
  • Upload date:
  • Size: 158.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for code_typer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 65c642200c0b0d4a93863c9c2bcf55a6a1cf0bf092f6955218dd54db78907ed3
MD5 db7559fc554a6b5950148e3230433470
BLAKE2b-256 fb269e73aae7f601654763556c33cd9e0b1a0ecbeb7b07ada2928f673db7c01b

See more details on using hashes here.

File details

Details for the 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.

File metadata

File hashes

Hashes for code_typer-0.1.1-cp313-cp313-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 210871699d619eb6a3e56166a41420c8820d6e98d0a090e771b5fd95a957d2e8
MD5 8c7ddced0364f36f541c225fb854f839
BLAKE2b-256 c8f3347c3a62c537a4db78b39908a34b0f3cff520c104f0fca4c893dc735dea5

See more details on using hashes here.

File details

Details for the file code_typer-0.1.1-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for code_typer-0.1.1-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 a9d7c7fdb8be7ef76733616723d499d6d519823f46b7e185e7f1c7bf93475009
MD5 0d5f36cedccd79e41faf8a27f90e1ace
BLAKE2b-256 a98010e41d9a4128f87e71ac4a5dd061d596ffee9e7571870fbacbb51b584fe2

See more details on using hashes here.

File details

Details for the file code_typer-0.1.1-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for code_typer-0.1.1-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 c319928734779b910aa08cad1621ed5339be2b95bc8953715c618daf771f941d
MD5 d0bdec0d528487ac035c1771ff75d2c3
BLAKE2b-256 fd877ec8a651f056339f42678cc6871139577bbe678498d89b40cbae03e037c8

See more details on using hashes here.

File details

Details for the file code_typer-0.1.1-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for code_typer-0.1.1-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 af5116f33d4fd025d44943e622cde6c7e97faab2a82ad395fbec504177071f81
MD5 1857fa2ae293b2b914e5dd01808b7d9e
BLAKE2b-256 6dc7928af70374725a66e747e35c92695a1f84fa20035b80e9a95e5052ffc7ec

See more details on using hashes here.

File details

Details for the file code_typer-0.1.1-cp39-cp39-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for code_typer-0.1.1-cp39-cp39-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 ce00a1ae80adc150bf66bc885b24f03a3295067324806eb70efe8db0b131d8ec
MD5 1daf73c4bc9dd46a2eb2377ed09e678b
BLAKE2b-256 ac5e4da421b497ef96f80bc1692ad4a9bbf6c49fc2e6776c4a2b52c11f71f6e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page