Relatives Import Tool
Project description
# 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ritl-0.1.1.tar.gz
.
File metadata
- Download URL: ritl-0.1.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63009f6e83834d0f96838f89250d51aee9e8b2c7315a9d9d0925139051b5284c |
|
MD5 | 217d9e353167fb9c860f49b5a4262262 |
|
BLAKE2b-256 | 13c33344665ca7d75aa9ff042f4b533a690de55090668f890309d94eedaa3f00 |
File details
Details for the file ritl-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: ritl-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.61.2 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3a025eec06c699bc464b890c149b3fc7ea361ff64f590eb475b870b5808a38b |
|
MD5 | ab3e7e2f09a4fdab793d2a470fc9b4f9 |
|
BLAKE2b-256 | 08b9f8c58bd71e7e12d54665aa7d50f13805e76f3e484c2c0151f411171ca29d |