semvec/pypi-packages huggingface dataset:
importparentlib 99.0.3
do shorter code to import from relative path
License: BSD License

Add `importparentlib` to python

```python
####
# suppose:
# /lib../lib_998/lib_998_1.py
# /lib../lib_998/lib_998_2.py
# /lib../lib_998/lib_998_3/__init__.py
# /lib../lib_999/lib_999_1/lib_999_1_1.py
# /lib../lib_999/lib_999_2/lib_999_2_5.py
# /lib../lib_999/lib_999_3/lib_999_3_7/__init__.py
# /lib../lib_1000.py
# /lib../lib_1002.py
# /lib../lib_1003/__init__.py
# /lib../lib_1006/lib_1006_6.py
# and this scripting is in `lib_1006_6.py`
####

import importparentlib

lib_998_1 = importparentlib(__file__, "../lib_998/lib_998_1")
lib_998_2 = importparentlib(__file__, "../lib_998/lib_998_2.py")
lib_998_3 = importparentlib(__file__, "../lib_998/lib_998_3")
lib_999_1_1 = importparentlib(__file__, "../lib_999/lib_999_1/lib_999_1_1")
lib_999_2_5 = importparentlib(__file__, "../lib_999/lib_999_1/lib_999_2_5.py")
lib_999_3_7 = importparentlib(__file__, "../lib_999/lib_999_3/lib_999_3_7")
lib_1000 = importparentlib(__file__, "../lib_1000")
lib_1002 = importparentlib(__file__, "../lib_1002.py")
lib_1003 = importparentlib(__file__, "../lib_1003")
```