A Library For Dynamically Importing Modules. Inspired By **Node.js** `require` Function.
Project description
Use
A Library For Dynamically Importing Modules. Inspired By Node.js require
Function.
Installation
Use can be installed using Pip by the command:-
[sudo] pip install use
Usage
If the file structure is like:-
test/
test/
__init__.py
test.py
utils/
__init__.py
utils.py
If you want to import test/test/__init__.py
in the file test/test/utils/utils.py
it is not possible, but using Use you can do it by putting the following snippet in test/test/utils/utils.py
file.
from use import use
initFile = use("./../__init__")
License Under The MIT License A Project By Shardul Nalegave
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
use-0.1.0.tar.gz
(2.6 kB
view details)
Built Distribution
use-0.1.0-py3-none-any.whl
(2.8 kB
view details)
File details
Details for the file use-0.1.0.tar.gz
.
File metadata
- Download URL: use-0.1.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ae8e96fb414b6bfd2bf45d59ab9115887cb24026fff9198600d643828a6797f |
|
MD5 | 2e2fa35e401e39539e0da158558fcbfe |
|
BLAKE2b-256 | 84bea9642e953d9dba0d4da68bfc1b703a02970fea24390f9b656a6e3909e994 |
File details
Details for the file use-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: use-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb7eaecf82d810ee4bae194ef142467cffbcee96f08b1c3c1ad7dcc43b1f1e10 |
|
MD5 | df2f3de08f8baa0ef7f8f68c04fa2425 |
|
BLAKE2b-256 | 3965a4fc1a7c178690b1e9415d16004aef68a913abfcb7fceb6766468c75adb1 |