ritl

Relatives Import Tool


License
MIT
Install
pip install ritl==0.1.1

Documentation

ritl

Relatives Import Tool : How many time I was blocked by relative import problems. This time is over now...

Installation

pip install ritl

Usage

We just need to put :

from ritl import relative_import
relative_import.add_rel_imp()

and we can import easily our modules in the same directory of our file. Wherever you execute it.

You can also add more directories, relative to your file directory :

relative_import.add_rel_imp("../utils")

This will allow you to relatively import your modules from other directory in utils

After this, you just have to import your modules