Skip to main content

Jeeves Shell

Build Status codecov Python Version wemake-python-styleguide

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 rich and sh.
  • 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jeeves_shell-2.3.4.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jeeves_shell-2.3.4-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file jeeves_shell-2.3.4.tar.gz.

File metadata

  • Download URL: jeeves_shell-2.3.4.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.2.0-39-generic

File hashes

Hashes for jeeves_shell-2.3.4.tar.gz
Algorithm Hash digest
SHA256 b33bbcd4b42cc876360a5301845e7abf5c7c50275d8009a43c3bf8c503e67e0c
MD5 c1b21bb8f47aeca46ab132087d548de7
BLAKE2b-256 948455c72426a4c5d4dff2debfec74be8335108b2ce95bc318d74d45c04cc380

See more details on using hashes here.

File details

Details for the file jeeves_shell-2.3.4-py3-none-any.whl.

File metadata

  • Download URL: jeeves_shell-2.3.4-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.2.0-39-generic

File hashes

Hashes for jeeves_shell-2.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e4bbf45d31f9c4db93f810af511c9525d595e6ef859c66caeb5144e15873f89b
MD5 7a0d1214cd19fe9b185569fe571307fb
BLAKE2b-256 d5ee32ef25f2336a66521c41def302ccda8b240815388d422707581b3d030e6d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.3.4 This release

2 files

2.3.3

2 files

2.3.2

2 files

2.3.1

2 files

2.3.0

2 files

2.2.0

2 files

2.1.11

2 files

2.1.10

2 files

2.1.9

2 files

2.1.8

2 files

2.1.6

2 files

2.1.5

2 files

2.1.4

2 files

2.1.3

2 files

2.1.2

2 files

2.1.1

2 files

2.1.0

2 files

2.0.1

2 files

2.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page