Ben Chuanlong Du's Blog

It is never too late to learn.

Useful Java Libraries

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

General Purpose Java Libraries

Guava

Guava is a high-quality general purpose Java opensource library mainly developed by Google. It has good immutable collection implementations which are preferred to Java's built-in immutable …

My List of Python Modules

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Awesome Python

Awesome Python Applications

Data Science

  1. pandas: data frame.

  2. scipy: scientific computing.

  3. numpy: multi-dimensional arrays, fundation of pandas and deep learning packages.

  4. re: regular expression

File System

  1. shutil: copy, move …

Get the Dependencies of a Python Package Without Installing It

After installing a Python package, you can use the command pip3 show pkg to check detailed information about it. What if you want to get information about a Python package without installing? The RESTAPI https://pypi.org/pypi/pkg/json returns detailed information of the Python package pkg.

Note: The recursive version of dependencies implemented bellow does not take into consideration of versions, so it might not return the correct dependencies of a Python packages.