Skip to main content

View installed pip packages and their update status.

Project description

# pipenv-check

Moved the color_print and BColors class, which were defined inside the main function, outside the main function to increase the readability of the code.

An error occurred when you tried to directly convert the result of subprocess.check_output([“pip”, “list”, “–format=json”]) to JSON. Since this output is a byte array, you must first convert this output to a character array. This was accomplished with decode(‘utf-8’) .

At the same time, this operation may result in any errors (for example, if pip is not found or returns an error). Therefore, I enclosed this code in a try-except block and informed the user when the error occurred and terminated the program.

After calling the ThreadPool’s close method, we also called the join method. This waits for all threads to complete and provides more predictable program behavior.

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

pipenv-check-0.0.8.tar.gz (4.1 kB view hashes)

Uploaded Source

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