skip to navigation
skip to content

rapidfire 1.0.0

rapidfire calls and displays the defined Python function from command line


  • Init RapidFire
$ pip install rapidfire
$ rap --init
$ vi /Your/home/directory/.rapidfire.d/raprc
  • Set the value in RAPIDFIRE_PYFILE_PATH
  • Edit sample code
$ vi /path/
from rapidfire import task

def sample():
    return ['text1', 'text2', 'text3']
  • Run RapidFire
$ rap sample


  • rapidfire.task(next_action, clipboard, per_page)
    • Parameters
      • next_action - For next_action, specify the function name to be executed next
      • clipboard option - Copy the result to the cripboard
      • per_page - Lines per page


from rapidfire import task

@task(next_action='sample_method2', per_page=2)
def sample_method1():
    return ['text1', 'text2', 'text3']

def sample_method2():
    text = sample_method1 # The value selected by sample_method1 is entered
    return ['{} is selected'.format(text)]
File Type Py Version Uploaded on Size
rapidfire-1.0.0-py3-none-any.whl (md5) Python Wheel 3.5 2017-04-09 13KB
rapidfire-1.0.0.tar.gz (md5) Source 2017-04-09 10KB