Skip to content

jedie/dev-shell

Repository files navigation

A "dev-shell" for Python projects ;)

Note: The continuation of this project is uncertain!

tests codecov dev_shell @ PyPi Python Versions License GPL-3.0-or-later

This small project is intended to improve the start-up for collaborators.

The idea is to make the project setup as simple as possible. Just clone the sources and start a script and you're done ;)

Why in hell not just a Makefile? Because it doesn't out-of-the-box under Windows and MacOS, the dev-shell does ;)

Run Tests? Just start the script and call the "run test command".

The "dev-shell" is the base to create a CLI and a shell. It also shows how to make a project bootstrap as simply as possible, e.g.:

At least uv is needed. Install e.g.: via pipx:

apt-get install pipx
pipx install uv

Clone the project and just start the CLI help commands. A virtual environment will be created/updated automatically.

~$ git clone https://github.com/jedie/dev-shell.git
~$ cd dev-shell
~/dev-shell$ devshell.py --help
~/dev-shell$ devshell.py test

The output on first bootstrap start looks like:

~/dev-shell$ ./devshell.py

Developer shell - dev_shell - v0.10.0


dev-shell commands
──────────────────
check_code_style  fix_code_style  list_venv_packages  pyupgrade  update
coverage          install         publish             test       version

Uncategorized Commands
──────────────────────
alias  help  history  macro  quit  set  shortcuts

(dev_shell) quit
~/dev-shell$

compatibility

dev-shell version OS Python version
>=v0.10.0 Linux + MacOS + Windows 3.14, 3.13, 3.12
>=v0.7.0 Linux + MacOS + Windows 3.11, 3.10, 3.9
>=v0.5.0 Linux + MacOS + Windows 3.10, 3.9, 3.8, 3.7
>=v0.0.1 Linux + MacOS + Windows 3.9, 3.8, 3.7

See also:

History

Project links

About

A "dev-shell" for Python projects ;)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages