Skip to main content

No project description provided

Project description

get-py-deps

A Python module to pretty print a table with the dependencies of a Python package with license and url.

Can both be used in your code with from get_py_deps import get_py_deps or as a command line tool as.

$ get_py_deps sphinx

Which will output a table with the licenses and urls which were found as dependencies to that package.

+--------------------------------------+--------------------------------------------------------------+-------------------------------------------+
|               Package                |                           License                            |                    Url                    |
+--------------------------------------+--------------------------------------------------------------+-------------------------------------------+
|           alabaster 0.7.16           |                     (License not found)                      |            (Homepage not found)           |
|           docutils 0.17.1            | public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.txt) |      http://docutils.sourceforge.net/     |
|           imagesize 1.4.1            |                             MIT                              | https://github.com/shibukawa/imagesize_py |
|             Jinja2 3.1.3             |                         BSD-3-Clause                         |    https://palletsprojects.com/p/jinja/   |
|            packaging 23.2            |                     (License not found)                      |            (Homepage not found)           |
|           requests 2.31.0            |                          Apache 2.0                          |      https://requests.readthedocs.io      |
|        snowballstemmer 2.2.0         |                         BSD-3-Clause                         |  https://github.com/snowballstem/snowball |
|    sphinxcontrib-applehelp 1.0.8     |                     (License not found)                      |            (Homepage not found)           |
|     sphinxcontrib-devhelp 1.0.6      |                     (License not found)                      |            (Homepage not found)           |
|     sphinxcontrib-htmlhelp 2.0.5     |                     (License not found)                      |            (Homepage not found)           |
|      sphinxcontrib-jsmath 1.0.1      |                             BSD                              |           http://sphinx-doc.org/          |
|      sphinxcontrib-qthelp 1.0.7      |                     (License not found)                      |            (Homepage not found)           |
| sphinxcontrib-serializinghtml 1.1.10 |                     (License not found)                      |            (Homepage not found)           |
+--------------------------------------+--------------------------------------------------------------+-------------------------------------------+

Note that the package and its dependencies needs to be installed in the environment where the command is run.

Use case could be that you want to add an option to your own CLI tool to list the dependencies of your tool.

🦆

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-py-deps-1.0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

get_py_deps-1.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file get-py-deps-1.0.1.tar.gz.

File metadata

  • Download URL: get-py-deps-1.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for get-py-deps-1.0.1.tar.gz
Algorithm Hash digest
SHA256 948e453c71ba080827600e6a91d6927717d29bfdacde9bece4aa402012cd5d11
MD5 5a0aea88f99777c00837573c1f2c2947
BLAKE2b-256 bd4f9f0c215a3f68cddb495b3e4a21b8bae198a7949adbd9136f31929ee13e86

See more details on using hashes here.

File details

Details for the file get_py_deps-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: get_py_deps-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for get_py_deps-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54e4ea02f93d3409f7880978d7678faf01067333acdadf6d4f184f5f31af1523
MD5 0e0e37ad3aba7733f4f05df86c0831c7
BLAKE2b-256 8abd7a20f86f02f1b1e9816ad5a103bfd12a9c2a86dcb690b03ebf8722d52577

See more details on using hashes here.

Supported by

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