Run scripts easily...
Project description
Welcome to PSM
What is PSM?
PSM (Python Script Manager) is a script manager for Python programming language. You can manage your scripts with this tool. You can create scripts, use them, delete them and etc. PSM gives you chance to call longer commands with shorter commands. I inspired by npm scripts to make Python version of it.
Installation
For install PSM you will need pip. I you have not click here After installing pip, enter command below.
pip3 install python-script-manager
To make sure you have successfully installed it,
psm --version
Usage
First you need to initialize PSM in your directory.
psm init
It will create psm.json
which keeps your script informations.
By default, psm init
will add script named hello
which output Hello World!!!
to screen.
Create Script
To create script, use add
command.
psm add
It will ask you name and command for your script. You can also pass them as options
psm add --name="Name of script" --command="Command"
List scripts
To get list of scripts, enter command below:
psm list
Run scripts
To run scripts use syntax below:
psm run [SCRIPT_NAME]
Remove script
If you want to remove unused scripts, enter command below:
psm rm -n [SCRIPT_NAME]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for python-script-manager-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 211f344dab51f5670f9825771bdd98afe5205d73e1b1d2af36c2e1b1193bf420 |
|
MD5 | f6ce6c8de7932d1ce17c7b7c137ddbc4 |
|
BLAKE2b-256 | fa40f5d5099889d61602237bc06db2ebabc831c07c61b070816bb8754d68b4af |
Hashes for python_script_manager-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b30c36001f0a8eb8ae3fafb9b1fa12fdf9adc3b9e07d6bfbec07c029792f8ea |
|
MD5 | e0ce50a3e3be44ea9129eedf5153bcc1 |
|
BLAKE2b-256 | 6b443921eb81ab47ad409d40c457038961447b17f0aa40256d8dee4fffbf5d87 |