معرفی شرکت ها


dependency-checker-0.0.5


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A lightweight pythonic way to check if a package's dependencies are out of date
ویژگی مقدار
سیستم عامل -
نام فایل dependency-checker-0.0.5
نام dependency-checker
نسخه کتابخانه 0.0.5
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Zachary Mueller
ایمیل نویسنده muellerzr@gmail.com
آدرس صفحه اصلی https://github.com/muellerzr/dependency_checker/tree/master/
آدرس اینترنتی https://pypi.org/project/dependency-checker/
مجوز Apache Software License 2.0
# Dependency Checker > A lightweight pythonic way to verify if python packages are on the latest version ## Install `pip install dependency-checker` ## How to use ``` from dependency_checker import get_installed_dependencies, is_latest_version ``` `dependency_checker` has two functionalities: - Checking a python project's dependencies - Checking if a python package is on the latest version Each are intuitive to use, and have detailed documentation available. To check a package's dependencies, we can use the `get_installed_dependencies` function, passing in the string name of the module: ``` get_installed_dependencies('dependency-checker', depth_limit=1) ``` {'packaging': '21.0', 'pip': '21.2.4', 'pipdeptree': '2.1.0'} Generally a depth of 1 is enough to get a package's main dependencies, bar `pip`, `packaging`, and other "standard" python resources. If we also want to include the original package, we can pass that in as a parameter: ``` get_installed_dependencies('dependency-checker', depth_limit=1, include_self=True) ``` {'dependency-checker': '0.0.1', 'packaging': '21.0', 'pip': '21.2.4', 'pipdeptree': '2.1.0'} There also exists `is_latest_version`, which will see if a package version is the latest available on `pypi`: ``` is_latest_version('pipdeptree', '2.0.9') ``` False ## Automatically Building a requirements.txt file You can also use dependency_checker to automatically build a requirements file from the command-line. It is an extension of [pipreqs](https://github.com/bndr/pipreqs), combining both our functionalities together to give a more fine-grained and stable text file. To read more, see the documentation [here](https://muellerzr.github.io/dependency_checker/pipreqs)


نیازمندی

مقدار نام
- pip
- packaging
>=2.2.1 pipdeptree
>=0.4.11 pipreqs
- PyGithub


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl dependency-checker-0.0.5:

    pip install dependency-checker-0.0.5.whl


نصب پکیج tar.gz dependency-checker-0.0.5:

    pip install dependency-checker-0.0.5.tar.gz