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 details)

Uploaded Source

File details

Details for the file pipenv-check-0.0.8.tar.gz.

File metadata

  • Download URL: pipenv-check-0.0.8.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for pipenv-check-0.0.8.tar.gz
Algorithm Hash digest
SHA256 c28a7f2190a9fedf053df96f461cac693391b0f9bc712636907590a043751b10
MD5 57a4bd415b49c5f1356f0dfe5d9e0aa2
BLAKE2b-256 a29cde8f72836b36a548cb267403d0d6fa65ef1514ad5d17d8eb7676ef817878

See more details on using hashes here.

Supported by

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