Skip to main content

doitlive helps you do live demos non-lively.

Project description

It's a Live

It's a Live is a utility that helps you make live coding demos less error-prone by taking the "live" component and killing it.

Installation

You can install It's a Live with pip:

pip install itsalive

Usage

Using It's a Live is pretty simple: Just write some keystrokes or commands in a file and run itsalive with it:

itsalive <command_file>

It's a Live will wait for you to press a key, and, when you do, it will instead emit one character from the command file. This way, you can type whatever old crap and it will look perfectly rehearsed, every time, with no backspaces (unless you add them in). It will also wait for you to press Enter at the end of commands, so you will never skip ahead to the next command by mistake.

What's more, It's a Live is actually running the commands you're typing, so you have full interoperability with other programs.

It's a Live also supports various commands:

  • Ctrl+d will immediately terminate the playback.
  • Ctrl+p will pause automatic playback and give you control of the terminal. This is useful for doing actually live stuff, just make sure to leave everything in a state so that playback can resume later.
  • Ctrl+f will skip forward to the next command.
  • Ctrl+b will skip back to the previous command.
  • Ctrl+u will send a Ctrl+u keystroke (wiping anything on to the left of the cursor) and rewind the current command.

More stuff

It's a Live supports sending the commands via UDP to another window, so you can see what will be typed while you present. To see the commands, run netcat in UDP server mode on port 5345:

nc -kul 5345

If you want to leave yourself notes, you can add comments to the command file. Comments must start with ## as the first thing on the line, and they will not be typed. They will only be sent via UDP to the listening server.

License

It's a Live is licensed under the GPL v3 or any later version.

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

itsalive-0.1.0.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

itsalive-0.1.0-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file itsalive-0.1.0.tar.gz.

File metadata

  • Download URL: itsalive-0.1.0.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.22.0

File hashes

Hashes for itsalive-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9ff2e9f7286e819f3229b6a67303e125c163dbbcda81b6cf347f7ebbc11d2e16
MD5 9e5551390a5a23150f78be059a74a2f0
BLAKE2b-256 741aec43cb4da35276a33c6db8802de8bf474bd1f18ebe2c39e9c2479fadd5f8

See more details on using hashes here.

File details

Details for the file itsalive-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: itsalive-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.22.0

File hashes

Hashes for itsalive-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ee545ce890cd3256274deaea0d960fd662b009d2ad5e280f61d108d920ee855
MD5 ee329510a43af62e2de5155c6b52e068
BLAKE2b-256 a42cfe4bc72d1e2b3cfea94b4d42d2290ca4a66727bdd15f475a8343ab710787

See more details on using hashes here.

Supported by

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