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.0.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.0-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.0-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.0-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.0-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.0-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.0.tar.gz.

File metadata

  • Download URL: code_typer-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 a1fbe8f5f3c25eed16d33fe00f30fb37d80ce102df347588c359fc55c76f2532
MD5 eeda4c780d8fd20cc588f5b0617078b6
BLAKE2b-256 cb2c86d229906d8151ee3dd2e42d241b0259d010cfc10e41b9acefa38a590a83

See more details on using hashes here.

File details

Details for the file code_typer-0.1.0-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.0-cp313-cp313-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 708f7eaa33de98f4a421a496c03daaf70744b155a76bc540142e7ede2779df9c
MD5 595919d78c99c02d8a241a0165f022ea
BLAKE2b-256 6730edbee28eb39c86b7b9ba70c7232d519571901f7c4f84dee1edb68e9a35d0

See more details on using hashes here.

File details

Details for the file code_typer-0.1.0-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.0-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 a05f25bce2501fb77e8214a9685e7ee480e5c0b02d5866c97eff3dd6d2d1d19f
MD5 4c1cd7922dedbc99db632f9aa93a89b0
BLAKE2b-256 9bd3a9f129adb727bc26b2cf2fa8ef5944c3417e48d6e70899e3b7df4af6c6fa

See more details on using hashes here.

File details

Details for the file code_typer-0.1.0-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.0-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 0ee269c8f0e1b995023771ae1e2ef77fa06b78fb11dd04f6ee0f3ecef4ec7f3f
MD5 b2903e58026ae19b9f45a3c239cb1f18
BLAKE2b-256 ae266a071bb646ecc79a5ea635406f27cd98067148c4bebafc8d2d80afd6dde1

See more details on using hashes here.

File details

Details for the file code_typer-0.1.0-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.0-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 7a95d64df39a7b978813839aed263f14563f438ceb00ce08583d5772a9ad36a4
MD5 2405bf067c488662d70ec4e5c2162f9b
BLAKE2b-256 b06b86e0a832a7e5d7babf76b6402d4885c84ba4311f819337bce8c984a35209

See more details on using hashes here.

File details

Details for the file code_typer-0.1.0-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.0-cp39-cp39-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 466e6dbf6ca6cbccdac8af55facd6d1d6fb9117b361546d2a09f0f1887981a15
MD5 1e07d5723f568db84da4ff929765b151
BLAKE2b-256 fbaa2c3aed01c8affd7812e86f79e4eac34f4161e42db9162513a580e8861e7b

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