PYDOER - CLI Application
PyDoer is a CLI application aiming to automate executing multiple commands in different terminal applications.
Featuring
Terminal Configuration as code
Design Menu and commands using json config
Launch/Close commands
Overview
Free software: GNU General Public License v3.0
Prerequisites
You need to have Python, Bash and gnome-terminal installed.
Installation
Install PyDoer in virtual environment:
Get the code
git clone git@github.com:boromir674/doer.git
Install in a python virtual environment
cd doer
virtualenv env –python=python3 source env/bin/activate
pip install python-doer
- Make pydoer cli available in path
Assuming ~/.local/bin is in $PATH
ln -s $PWD/env/bin/pydoer ~/.local/bin/pydoer
(Optional) Define useful aliases
Assuming you cloned the code in directory ‘/data/repos/doer’
alias doer='/data/repos/doer/env/bin/pydoer menu /data/repos/doer/python-doer/menu_entries.json' alias close-doing='/data/repos/doer/env/bin/pydoer close-doing'
Install PyDoer for user:
Get the code
git clone git@github.com:boromir674/doer.git
Install for user
cd doer
pip install –user python-doer
The pydoer cli should now be (automatically) in $PATH
(Optional) Define useful aliases
alias doer='pydoer menu /data/repos/doer/python-doer/menu_entries.json' alias close-doing='pydoer close-doing'
Usage
To run, simply execute (either from within the virtual env or if you installed with user/global scope):
pydoer
- Basically you have 2 commands:
show interactive menu
pydoer menu </path/to/menu.json>
The program parses the entries defined in json formatted file defined by the user json’ file and renders an interactive “Menu” in the terminal, waiting for the user to make a selection. Each selection, generates a ‘do’ script which is responsible for opening/spawning one or more terminal applications. For each terminal application, a ‘launch’ script is generated which is responsible for running certain commands on that terminal.
close windows spawned from previous activity
pydoer close-doing
Metadata
Release files for pydoer 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pydoer-1.0.2.tar.gz | 36.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pydoer-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 64.1 kB
Release files / pydoer-1.0.2.tar.gz
| Download URL | pydoer-1.0.2.tar.gz |
|---|---|
| Size | 36.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad4679b41bf7ce8cb7184a9d2c7486e5bc5e562473fbb606e1c5b21cd83348ac
|
|
BLAKE2b-256 checksum How to use checksums |
aae3c8211e68eed3be42fb8f57db03a97a85d9b2e55ee7092c9add7e3825e088
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.0 importlib_metadata/4.8.1 packaging/21.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Release files / pydoer-1.0.2-py3-none-any.whl
| Download URL | pydoer-1.0.2-py3-none-any.whl |
|---|---|
| Size | 27.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d674cb20499e283aa5bd9314739a145d14c8e5efc1298d705bd996835acc978f
|
|
BLAKE2b-256 checksum How to use checksums |
eee129d7f32632330435524baa8b11e394caecbbaefe732ea63261238a2d7867
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.0 importlib_metadata/4.8.1 packaging/21.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Security for pydoer 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.