1.76 million, GPT-4 is released, how to check the download volume of OpenAI?

Hello everyone, this is Wan Feng, a programmer.

The new generation of GPT4 was released yesterday, and this year GPT continues to bring surprises to everyone.

On OpenAI's official website, GPT's Python call third-party library is also disclosed : openai.

Let’s take a look today, this Python smart interface~

1. Code Description

Students who have developed Python projects know that during the development process, we need to call different third-party libraries. For example, I have developed a dedicated third-party library for office automation: python-office, I want to check the download volume of this library in the whole network, there are two ways:

  1. Through Google's BigData: Everyone on the earth knows that this method will not work.
  2. by popip这个库的pip_timesmethod.

Let's take a look at how to implement method 2.

download popip

pip install popip

call popip

import popip

popip.pip_times(package_name = "python-office")

2. Check the download volume of openai

If you want to check the download volume of openai, just change the content in the package_name in the above code to openai.

import popip

popip.pip_times(package_name = "openai")

As shown in the figure below, last_month was downloaded 176w+ times!

Guess you like

Origin blog.csdn.net/weixin_42321517/article/details/129601455