Skip to main content

GETDEP

codecov PyPI version Requirements Status Code Coverage Quality check

Get dependencies for a given package management system and a given package.

Install

You can install getdep either via pip (PyPI) or from source. To install using pip:

python3 -m pip install getdep

Or manually:

git clone https://github.com/remiflavien1/getdep 
cd getdep   
./install.sh   
python3 setup.py install   

For apt dependencies you need to install apt-rdepends:

sudo apt install apt-rdepends

Use

>>> from getdep import getdep
>>> getdep.get_pip_dependencies("requests")
['chardet', 'idna', 'urllib3', 'certifi', 'pyOpenSSL', 'cryptography', 'PySocks', 'win-inet-pton']
>>> getdep.get_apt_dependencies("nano")
['nano', 'libc6', 'libncursesw5', 'libtinfo5', 'libgcc1', 'gcc-8-base']

# Supported package management system
>>> from getdep import utility
>>> utility.print_supported_pms()
Supported PMS are : 
         apt        
         apt-get    
         composer   
         gem        
         npm        
         pip    

Note

You must have the package management system, which you are requesting, installed on your system.

Release files for getdep 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for getdep 1.1.2
File Size Uploaded
getdep-1.1.2.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for getdep 1.1.2
File Interpreter ABI Platform
getdep-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / getdep-1.1.2.tar.gz

Download URL getdep-1.1.2.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5a0316a3e7fb85a93a0eb5e045a900f51d6068b9fa4b51d2837a2e7b29c11148
BLAKE2b-256 checksum
How to use checksums
619bbb8c30ed8f8d4f9a1d7c8e589ba68a3c3009b2dd4260cc8280eb5fea94dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

Release files / getdep-1.1.2-py3-none-any.whl

Download URL getdep-1.1.2-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
713212b1073a983045cde4c46c5ba614b9c9a7c1e578408d324d3d45f54002d9
BLAKE2b-256 checksum
How to use checksums
7f10800105c265b83fe70b9224b3e016b31d0981b09f1a3700a464ed2b477cac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

Release history Release notifications | RSS feed

1.2.1

2 release files

1.2.0

2 release files

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page