{"id":34065976,"url":"https://github.com/wanshot/rapidfire","last_synced_at":"2026-04-24T13:31:35.321Z","repository":{"id":57460007,"uuid":"80210577","full_name":"wanshot/RapidFire","owner":"wanshot","description":"RapidFire is calls and displays the defined Python function from command line","archived":false,"fork":false,"pushed_at":"2017-04-09T17:09:26.000Z","size":33,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-29T10:02:15.611Z","etag":null,"topics":["python3","shell"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wanshot.png","metadata":{"files":{"readme":"README.rst","changelog":"ChangeLog.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-27T13:44:40.000Z","updated_at":"2017-04-09T17:15:15.000Z","dependencies_parsed_at":"2022-08-28T13:51:19.962Z","dependency_job_id":null,"html_url":"https://github.com/wanshot/RapidFire","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wanshot/RapidFire","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wanshot%2FRapidFire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wanshot%2FRapidFire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wanshot%2FRapidFire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wanshot%2FRapidFire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wanshot","download_url":"https://codeload.github.com/wanshot/RapidFire/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wanshot%2FRapidFire/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27719126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-14T02:00:11.348Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python3","shell"],"created_at":"2025-12-14T06:06:24.599Z","updated_at":"2025-12-14T06:06:25.581Z","avatar_url":"https://github.com/wanshot.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"RapidFire\n=================\n\n.. image:: https://img.shields.io/pypi/v/rapidfire.svg\n   :target: https://pypi.python.org/pypi/rapidfire\n\n.. image:: https://img.shields.io/pypi/l/rapidfire.svg\n   :target: https://pypi.python.org/pypi/rapidfire\n\n.. image:: https://img.shields.io/pypi/wheel/rapidfire.svg\n   :target: https://pypi.python.org/pypi/rapidfire\n\n.. image:: https://img.shields.io/pypi/pyversions/rapidfire.svg\n    :target: https://pypi.python.org/pypi/rapidfire\n\n.. image:: https://circleci.com/gh/wanshot/RapidFire/tree/master.svg?style=svg\n    :target: https://circleci.com/gh/wanshot/RapidFire/tree/master\n\nSETUP\n----------\n\n\n- Init RapidFire\n\n.. code-block:: shell\n\n   $ pip install rapidfire\n   $ rap --init\n   $ vi /Your/home/directory/.rapidfire.d/raprc\n\n- Set the value in RAPIDFIRE_PYFILE_PATH\n\n::\n\n\tRAPIDFIRE_PYFILE_PATH = /path/hoge.py\n\n- Edit sample code\n\n.. code-block:: shell\n\n   $ vi /path/hoge.py\n\n.. code-block:: py\n\n   from rapidfire import task\n\n   @task\n   def sample():\n       return ['text1', 'text2', 'text3']\n\n- Run RapidFire\n\n.. code-block:: shell\n\n   $ rap sample\n\n\nAPI\n--------------------------\n\n- rapidfire.task(next_action, clipboard, per_page)\n   - Parameters\n      - next_action - For next_action, specify the function name to be executed next\n      - clipboard - Copy the result to the cripboard\n      - per_page - Lines per page\n\nExample\n--------------------------\n\n.. code-block:: py\n\n   from rapidfire import task\n\n   ### Case.1\n   @task(next_action='sample_method2', per_page=2)\n   def sample_method1():\n       return ['text1', 'text2', 'text3']\n\n   @task(clipboard=True)\n   def sample_method2():\n       selected_value = sample_method1 # The value selected by sample_method1 is entered\n       return ['{} is selected'.format(selected_value)]\n\n\n.. code-block:: shell\n\n   $ rap sample_method1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwanshot%2Frapidfire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwanshot%2Frapidfire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwanshot%2Frapidfire/lists"}