Skip to main content

A Library For Dynamically Importing Modules. Inspired By **Node.js** `require` Function.

Project description


A Library For Dynamically Importing Modules. Inspired By Node.js require Function.


Use can be installed using Pip by the command:-

    [sudo] pip install use


If the file structure is like:-


If you want to import test/test/ in the file test/test/utils/ it is not possible, but using Use you can do it by putting the following snippet in test/test/utils/ file.

    from use import use

    initFile = use("./../__init__")

License Under The MIT License A Project By Shardul Nalegave

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

use-0.1.0.tar.gz (2.6 kB view hashes)

Uploaded source

Built Distribution

use-0.1.0-py3-none-any.whl (2.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page