Skip to main content

Progress Bar with command wrapping

Reason this release was yanked:

doesn't support dependencies of python code in pyShellWrapper and no code fetching. All these makes it pretty much useless

Project description

Overview

Wrapper-Bar is a python module to help wrap commands with the progress bar. Wrapper-Bar helps in wrapping shell commands, or even python scripts with a progress bar and ETA.

Badges

PyPI - Version PyPI - Status PyPI - Python Version Libraries.io dependency status for latest release PyPI - License

Table of Contents

Installation

To install wrapper-bar, use pip.

pip install wrapper-bar==0.1.2

Usage

  • Import the Wrapper class.

    >>> from wrapper_bar.wrapper import Wrapper
    
  • Initialize the Wrapper Class.

    >>> wrapControl = Wrapper(*params) # for parameters, check docstring.
    
  • Docstring

    # to check docstring, in terminal/CMD, run:
    $ pydoc wrapper_bar.wrapper.Wrapper
    
  • Methods

    • decoy

      >>> wrapControl.decoy(*params) # parameters are in the docstring.
      # decoy is for creating empty progressbar.
      
    • shellWrapper

      >>> wrapControl.shellWrapper(*params) # parameters are in the docstring.
      # shellWrapper can wrap list of shell commands across the progressbar.
      
    • pyWrapper

      >>> wrapControl.pyWrapper(*params) # parameters are in the docstring.
      # pyWrapper can wrap list of python scripts across the progressbar.
      
    • pyShellWrapper

      >>> wrapControl.pyShellWrapper(*params) # parametes are in the docstring.
      # pyShellWrapper can wrap inline python code across a progressbar.
      

Uninstall

To uninstall wrapper-bar, use pip.

pip uninstall wrapper-bar

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

wrapper_bar-0.1.2.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

wrapper_bar-0.1.2-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

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