A really simple package that allows you to import packages to your code
Project description
About
PackageImporter is a simple project for importing projects according to different types (DataScience, Plotting, etc.)
Installation
To install PackageImporter, run this command into your terminal (Use Windows Powershell because I love it):
pip install packageimporter
For a specific version, run:
pip install packageimporter=={version}
To upgrade the exsisting PackageImporter module (which you probably don't):
pip install --upgrade packageimporter
note: you can either use python -m pip or py -m pip if it's different. (It may) PackageImporter has only one limitation: Python>=3.6 (Because there are f-strings)
Usage Example
from packageimporter import Importer
Importer.stable.Plotter.plotly.express(alias="i_love_plotly_express")
# This will import plotly.express as i_love_plotly_express (weird alias) and raise an ModuleNotFoundError if plotly.express is not globally installed.
Update Notes:
Added "ScienceAndMaths" Class that supports scipy and sympy
Added "MyOwnModules" Class to import my own simple modules from PyPI
Added "PackageImporterVersionCheck" Class to check the version.
Fixed some minor grammartical issues with the README.md file
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
packageimporter-1.2.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for packageimporter-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97c3d9ff20c721997378ee273e94e0cbefae9af4c7a40317a9bc9dd19977bbc6 |
|
MD5 | bc596ee5b35525f540681a8fbffbc028 |
|
BLAKE2b-256 | e834179fc50364540e6999ec484aecada2f6dcc0bef677bead2a319395b4ae11 |