A simple package to check if a Python library is installed in a Jupyter notebook.
Project description
libfinder
libfinder is a simple Python package that helps check if a library is installed in your python jupyter environment.
📌 Installation
Clone the repository and install:
git clone https://github.com/KaushiML3/libfinder
cd libfinder
pip install .
Uses
common step
pip install libfinder
-
Call the functions
import libfinder
-
Get the module names
lib_name=libfinder.get_lib_name() **or** libfinder.get_lib_name() print(lib_name)
-
Get the module versions and save the new_requirements.txt file
lib_ver=libfinder.get_lib_ver() **or** libfinder.get_lib_ver() print(lib_ver)
-
-
Use libfinder class
import libfinder
-
Create object
lib=libfinder.libraryfinder()
-
Get the module names
lib.get_lib_name()
-
Get the module versions
lib.get_lib_ver()
-
Get the .txt file
lib.to_txt("new_requirements.txt")
-
-
params
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file libfinder-0.1.7.tar.gz.
File metadata
- Download URL: libfinder-0.1.7.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1dd78836c3bc857478b2d31711bf09f169cd92f8c88f0d99e283c794009a14d8
|
|
| MD5 |
47c70543e1c9ba11219174e684d58578
|
|
| BLAKE2b-256 |
4d58a5fbcece90879ed322ea67234b4e66d17e44bb36111e3ad689044365cc6c
|
File details
Details for the file libfinder-0.1.7-py3-none-any.whl.
File metadata
- Download URL: libfinder-0.1.7-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d0975508ea3b641146f6183f474f85ef3ae1206f42a2ba9a7352027c973858e
|
|
| MD5 |
1cf67fbdb3eecf6ec148b1ac92a1ae8b
|
|
| BLAKE2b-256 |
0d2f8c4c1dcabffc1ffbf1afbd6227d957f6f180d4555aede196ad9df81c927f
|