Skip to main content

Useful tool for easy importing with aliases

Project description

🧺 get_lunchbox

Easy imports in Python — simplify your workflow by dynamically importing modules with optional aliases.

🚀 Usage

from get_lunchbox import get_lunchbox

lb = get_lunchbox(
    ("math",),
    ("numpy", "np"),
    ("matplotlib.pyplot", "plt")
)

print(lb.math.sqrt(25))      # 5.0
print(lb.np.array([1, 2, 3]))  # numpy array
lb.plt.plot([1, 2], [3, 4])    # matplotlib plot
lb.plt.show()

Installation Process

pip install get_lunchbox

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

get_lunchbox-1.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

get_lunchbox-1.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file get_lunchbox-1.0.tar.gz.

File metadata

  • Download URL: get_lunchbox-1.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for get_lunchbox-1.0.tar.gz
Algorithm Hash digest
SHA256 5b62d97f7b569f11511a3437c8fe5525d1793d84b075869b978084c403ab818d
MD5 98124aff1883d234923be9f64d1d18b2
BLAKE2b-256 ab64d30df310d3ada03b1cce088c2b0de7fa1dba746abec60e8cfa3b308d49e0

See more details on using hashes here.

File details

Details for the file get_lunchbox-1.0-py3-none-any.whl.

File metadata

  • Download URL: get_lunchbox-1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for get_lunchbox-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae33b59186576e7942b544f1b97bdac8f5930e2948dfa188824a9a68ff89fd14
MD5 6baa8d61950cb6ef24abd2bf0d7c5aaa
BLAKE2b-256 3bfbc7da2b4c1975fb06385de1b8f719c764bcc3258834af001d8a21d4ca4adf

See more details on using hashes here.

Supported by

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