Metadata-Version: 1.1
Name: lying
Version: 0.1.0
Summary: run a fake terminal
Home-page: https://github.com/axju/lying
Author: axju
Author-email: axel.juraske@short-report.de
License: MIT
Description: ===========================
        lying - run a fake terminal
        ===========================
        
        .. image:: https://img.shields.io/pypi/v/lying
           :alt: PyPI
           :target: https://pypi.org/project/lying/
        
        .. image:: https://img.shields.io/pypi/pyversions/lying
           :alt: Python Version
           :target: https://pypi.org/project/lying/
        
        .. image:: https://img.shields.io/pypi/l/lying
           :alt: License
           :target: https://pypi.org/project/lying/
        
        .. image:: https://github.com/axju/lying/blob/develop/ext/video.gif
           :alt: alternate text
           :align: right
        
        This small project create a fake terminal, run fake commands and display fake
        results. So, yes it's lying.
        
        
        Install
        -------
        From source::
        
          pip install git+https://github.com/axju/lying.git
        
        From Pypi::
        
          pip install lying
        
        Do not forget to use a virtual environment.
        
        
        How to use
        ----------
        Relay simple, just create the instruction file and then run::
        
          lying run examples/instruction.json
        
        To create the instruction file, take a look at the example folder. There is
        also a setup function to interactively create the file::
        
          lying setup filename.json
        
        If you want to record the result, you can use ffmpeg. The following commands
        can help you::
        
          ffmpeg -video_size 1920x1080 -framerate 25 -f x11grab -i :0.0+0,0 ext/video.mp4 -y
        
        Create a gif::
        
          ffmpeg -i ext/video.mp4 -filter_complex "[0:v] palettegen" palette.png -y
          ffmpeg -i ext/video.mp4 -i palette.png -filter_complex "[0:v][1:v] paletteuse" ext/video.gif
        
        Development
        -----------
        Some information for crazy developers. Virtual environment windows::
        
          python -m venv venv
          venv\Scripts\activate
        
        Virtual environment linux::
        
          python3 -m venv venv
          source venv/bin/activate
        
        Setup project::
        
          python -m pip install --upgrade pip wheel setuptools twine tox flake8 pylint coverage rstcheck
          python setup.py develop
        
        Run some test::
        
          tox
          coverage run --source lying setup.py test
          coverage report -m
        
        Create package::
        
          python setup.py sdist bdist_wheel
        
        Publish package::
        
          rstcheck README.rst
          python setup.py --version
          python setup.py check
          python setup.py sdist bdist_wheel
          twine upload dist/*
          git push origin 1.0.0a1
        
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
