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.
  • Ctrl+e will type out the current command in its entirety.

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.1.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

itsalive-0.1.1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for itsalive-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6b5139fedb937df14ad953cec054fb8612c637271d58f550f93760e2b8297e1c
MD5 92108814c0d2169e2f00599a99dfb7de
BLAKE2b-256 83745ce9f574436d08fcc095477847b36a7724a12877d84518faa9287417edd0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for itsalive-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 11003b5600541a3255d40b2107ee862a16bda9b64065ebcbed85556c4e8acc10
MD5 1093ca7e507f37135e01e2b24b378031
BLAKE2b-256 6e542f45cc12732a7a58b951f584766d05e9b02c4518571ab5c54513d23527ac

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