GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jeeves-sh/jeeves-shell: Pythonic command runner, often used instead of `make`

BranchesTags
Open more actions menu

Latest commit

 

History

163 Commits
163 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
_archive
_archive
 
 
docs
docs
 
 
jeeves_shell
jeeves_shell
 
 
test_samples
test_samples
 
 
tests
tests
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
README.md
README.md
 
 
jeeves.py
jeeves.py
 
 
macros.py
macros.py
 
 
mkdocs.yml
mkdocs.yml
 
 
poetry.lock
poetry.lock
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

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.

About

Pythonic command runner, often used instead of `make`

jeeves.sh

Topics

administrationboilerplatelintingmakemakefilepythonshelltestingtypertyper-cli

Resources

Readme
Activity
Custom properties

Stars

41 stars

Watchers

1 watching

Forks

2 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.