python-fu icon indicating copy to clipboard operation
python-fu copied to clipboard

Python command line tools, for increased fu.

python-fu: Useful shell scripts for Python devs

Build status

Create dir structures for your modules easily:

$ mkmodule foo.bar.qux
$ tree foo
foo
├── __init__.py
└── bar
    ├── __init__.py
    └── qux.py

Easily promote module files:

$ promote foo.bar.qux
$ tree foo
foo
├── __init__.py
└── bar
    ├── __init__.py
    └── qux
        └── __init__.py

Easily demote modules files (if safe):

$ demote foo.bar.qux
$ tree foo
foo
├── __init__.py
└── bar
    ├── __init__.py
    └── qux.py

Safety first

These commands will never cause any data loss.

Installation

You can use pip to install python-fu:

$ pip install python-fu