Metadata-Version: 2.1
Name: onthefly
Version: 1.0.5
Summary: Type like a god on-the-fly
Home-page: https://github.com/mroavi/onthefly
Author: Martin Roa Villescas
Author-email: mroavi@gmail.com
License: MIT license
Description: [![Build Status](https://img.shields.io/pypi/v/onthefly.svg)](https://pypi.python.org/pypi/onthefly)
        
        onthefly
        ========
        
        onthefly allows you to emulate typing the contents of an input file by wildly pressing the *asdf jkl;* keys on your keyboard.
        
        Great for live coding presentations.
        
        ![Demo](../assets/demo.gif)
        
        
        Features
        --------
        
        * Unicode support
        * Works with any text editor (in fact, with any program)
        
        
        Installation
        ------------
        
        Install and update using pip:
        
        ```
        $ pip install onthefly
        ```
        
        Usage
        -----
        
        Identify your keyboard with `evtest`:
        
        ```
        $ sudo python -m evdev.evtest
        
        ID  Device               Name                                 ...
        ------------------------------------------------------------- ...
        0   /dev/input/event0    Lid Switch                           ...
        1   /dev/input/event1    Power Button                         ...
        2   /dev/input/event2    Sleep Button                         ...
        3   /dev/input/event3    Power Button                         ...
        4   /dev/input/event4    AT Translated Set 2 keyboard         ...
        5   /dev/input/event5    Video Bus                            ...
        6   /dev/input/event6    Logitech M215 2nd Gen                ...
        7   /dev/input/event7    Logitech K330                        ...
        8   /dev/input/event8    SynPS/2 Synaptics TouchPad           ...
        .
        .
        .
        ```
        
        From this output, we see that my keyboard is identified with the name `Logitech K330`.
        
        Pass the name of your keyboard as an argument to the `--keyboard` option when invoking onthefly for the first time.
        
        ```
           $ onthefly --keyboard="Logitech K330" /path/to/file
        ```
        
        Note that onthefly prompts for the root password in order to have access to the keyboard events.
        
        The keyboard name is remembered so you do not have to re-enter it in future invocations:
        
        ```
           $ onthefly /path/to/file
        ```
        
        Type the Pause/Break key to quit the program at any moment. Supports using the Backspace key to erase characters without going out of sync with respect to the input file.
        
        License
        -------
        
        * Free software: MIT license
        
        
        Credits
        -------
        
        This package was created with [Cookiecutter](https://github.com/audreyr/cookiecutter) and the [audreyr/cookiecutter-pypackage](https://github.com/audreyr/cookiecutter-pypackage) project template.
        
        
Keywords: onthefly
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.5
Description-Content-Type: text/markdown
