Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ritl-0.1.1.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

ritl-0.1.1-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page