Jeeves Shell
A Pythonic replacement for GNU Make, with re-usability and modularity added as a bonus.
Jeeves transforms your shell experience by enabling you to create custom Python-based shell commands to manage and automate your development workflows.
Features
- Custom Shell Commands: Construct commands to build, compile, lint, format, test, deploy, and propel your projects forward.
- Python-Powered: Use Python for readable and maintainable workflows.
- Rich Integrations: Stylish command output with
richandsh. - Plugin System: Share your setup across projects.
Quick Start
Install with pip:
pip install 'jeeves-shell[all]'
Or with poetry:
poetry add --group dev --extras=all jeeves-shell
Example
Create a file named jeeves.py in the root of your project.
import rich
import sh
def hi():
"""Hello world."""
user_name = sh.whoami()
machine = sh.uname('-a')
rich.print(f'Hello [b]{user_name}[/b]!')
rich.print(f'This code is running on: [b]{machine}[/b].')
And then execute in your shell:
j hi
this should print something along the lines of:
Hello john-connor!
This code is running on: Cyberdyne T800!
Learn More
Read the tutorial!
Credits
This project was generated with wemake-python-package.
Metadata
Release files for jeeves-shell 2.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jeeves_shell-2.3.4.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jeeves_shell-2.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.3 kB
Release files / jeeves_shell-2.3.4.tar.gz
| Download URL | jeeves_shell-2.3.4.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b33bbcd4b42cc876360a5301845e7abf5c7c50275d8009a43c3bf8c503e67e0c
|
|
BLAKE2b-256 checksum How to use checksums |
948455c72426a4c5d4dff2debfec74be8335108b2ce95bc318d74d45c04cc380
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.7 Linux/6.2.0-39-generic
|
Release files / jeeves_shell-2.3.4-py3-none-any.whl
| Download URL | jeeves_shell-2.3.4-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4bbf45d31f9c4db93f810af511c9525d595e6ef859c66caeb5144e15873f89b
|
|
BLAKE2b-256 checksum How to use checksums |
d5ee32ef25f2336a66521c41def302ccda8b240815388d422707581b3d030e6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.7 Linux/6.2.0-39-generic
|