{"id":24659956,"url":"https://github.com/offerrall/pyscripthandler","last_synced_at":"2025-03-21T06:23:15.581Z","repository":{"id":199386682,"uuid":"683446888","full_name":"offerrall/PyScriptHandler","owner":"offerrall","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-26T18:37:57.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T03:15:22.512Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/offerrall.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-26T15:51:29.000Z","updated_at":"2023-10-10T00:34:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"9894e613-a2ec-467e-94d2-7ef950d147e5","html_url":"https://github.com/offerrall/PyScriptHandler","commit_stats":null,"previous_names":["offerrall/pyscripthandler"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offerrall%2FPyScriptHandler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offerrall%2FPyScriptHandler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offerrall%2FPyScriptHandler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/offerrall%2FPyScriptHandler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/offerrall","download_url":"https://codeload.github.com/offerrall/PyScriptHandler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244747005,"owners_count":20503301,"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","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":[],"created_at":"2025-01-26T03:15:28.250Z","updated_at":"2025-03-21T06:23:15.365Z","avatar_url":"https://github.com/offerrall.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Description\n\nPyScriptHandler is an ultra-lightweight CLI tool designed to make managing Python scripts as simple and straightforward as possible.\n\nThe idea is that you can have a list of scripts that work on Windows, macOS, and Linux, and you can run them from anywhere on your system.\n\n### Key Features:\n\n- **Simplicity**: With fewer than 200 lines of code, PyScriptHandler is extremely easy to understand and modify to suit your needs.\n- **Portability**: The aim is to unify the way Python scripts are run across any operating system.\n- **Zero Configuration**: There are no configuration files to edit, no dependencies to install. Simply install the script and start using it.\n- **Simple Commands**: The commands are simple and easy to remember. No need to look up documentation every time you want to run a script.\n- **Alias Friendly**: You can create aliases for commands and run your scripts with a single command.\n\n### Why Use PyScriptHandler?\nThis project was born out of my own need for a simple tool where I could store and run my Python scripts, which was as minimalist as possible and required no additional configuration. If you find yourself in a similar situation, then PyScriptHandler is for you.\n\n### Installation\n\nPyScriptHandler can be easily installed by cloning the repository and running the installation script.\n\n\n```bash\ngit clone https://github.com/offerrall/PyScriptHandler.git\ncd PyScriptHandler\npip install .\n\n```\n\n### Comandos\n\n- `psh -h`: Shows the help message.\n- `psh \u003cscript_name\u003e`: Runs the specified script.\n- `psh list`: Lists all the scripts in the list.\n- `psh add \u003cscript_path\u003e`: Adds a new script to the list.\n- `psh remove \u003cscript_name\u003e`: Removes a script from the list.\n- `psh find \u003cscript_name\u003e`: Searches for a script in the list.\n- `psh pwd`: Shows the current script directory path.\n\n### Examples\n\n```bash\n# Runs a script\npsh hello_world\n\n# Shows the list of scripts\npsh list\n\n# Adds a new script\npsh add /path/to/script.py\n\n# Removes a script\npsh remove hello_world\n\n# Finds a script\npsh find hello_world\n\n# Shows the current script directory path\npsh pwd\n```\n\n### Licencia\n[MIT](https://choosealicense.com/licenses/mit/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofferrall%2Fpyscripthandler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fofferrall%2Fpyscripthandler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofferrall%2Fpyscripthandler/lists"}