add Download-Stats, update statistics

Casper da Costa-Luis 2020-10-25 21:27:01 +00:00
parent 301bc0f003
commit 6f3534d540
No known key found for this signature in database
GPG Key ID: 986B408043AE090D
2 changed files with 32 additions and 4 deletions

28
Download-Stats.md Normal file

@ -0,0 +1,28 @@
# Download Statistics
Number of downloads vis. <https://packaging.python.org/guides/analyzing-pypi-package-downloads>.
```sql
#standardSQL for 2020
SELECT COUNT(*) AS num_downloads
FROM `the-psf.pypi.downloads*`
WHERE file.project = 'tqdm'
AND _TABLE_SUFFIX
BETWEEN "20200101"
AND "20201231"
```
Alternatively use a tool e.g. `pypinfo --start-date 2020-01 --end-date 2020-12 tqdm`.
There's enough data that it's not possible to query all years in one go (exceeds free 1TB/month use) so here's a record of individual years far:
```yaml
2015: 10957 # 20151010 (v2.0.0) to 20151231, not visible any more
2016: 673688
2017: 5105012
2018: 12973659
2019: 66707975
2020: 101059708 # up to 20201025
```
So 187M PyPI downloads plus ![Conda-downloads](https://img.shields.io/conda/dn/conda-forge/tqdm?label=conda%20downloads&logo=conda-forge) and ![GitHub-release-downloads](https://img.shields.io/github/downloads/tqdm/tqdm/total?label=release%20downloads&logo=github)

@ -12,13 +12,13 @@ Here, have some impressive background:
### stats ### stats
- over 130 million downloads (`pypinfo` for `tqdm>=2.0.0`) which is *half as much as* `matplotlib` - over [190 million downloads](./Download-Stats)
+ (PyPI Downloads: ![tqdm](https://img.shields.io/pypi/dm/tqdm.svg?label=tqdm) vs + (PyPI Downloads: ![tqdm](https://img.shields.io/pypi/dm/tqdm.svg?label=tqdm) versus
![matplotlib](https://img.shields.io/pypi/dm/matplotlib.svg?label=matplotlib)) ![matplotlib](https://img.shields.io/pypi/dm/matplotlib.svg?label=matplotlib))
- [~1M code inclusions](https://github.com/search?q=tqdm&type=Code) - [~1M code inclusions](https://github.com/search?q=tqdm&type=Code)
+ [~83k dependent repos](https://github.com/tqdm/tqdm/network/dependents) + [~115k dependent repos](https://github.com/tqdm/tqdm/network/dependents)
+ ![~13k dependant libraries](https://img.shields.io/librariesio/dependent-repos/pypi/tqdm.svg?label=dependent%20libs&logo=koding&logoColor=white) + ![~13k dependant libraries](https://img.shields.io/librariesio/dependent-repos/pypi/tqdm.svg?label=dependent%20libs&logo=koding&logoColor=white)
+ [~40 tagged topics](https://github.com/topics/tqdm) + [~52 tagged topics](https://github.com/topics/tqdm)
- [![sourcerank 24](https://img.shields.io/librariesio/sourcerank/pypi/tqdm.svg?logo=koding&logoColor=white)](https://libraries.io/pypi/tqdm) so in the - [![sourcerank 24](https://img.shields.io/librariesio/sourcerank/pypi/tqdm.svg?logo=koding&logoColor=white)](https://libraries.io/pypi/tqdm) so in the
[world's top 25](https://libraries.io/search?order=desc&platforms=PyPI&sort=rank) [world's top 25](https://libraries.io/search?order=desc&platforms=PyPI&sort=rank)
- [![~15k stars](https://img.shields.io/github/stars/tqdm/tqdm.svg?logo=github&logoColor=white)](https://github.com/tqdm/tqdm/stargazers) - [![~15k stars](https://img.shields.io/github/stars/tqdm/tqdm.svg?logo=github&logoColor=white)](https://github.com/tqdm/tqdm/stargazers)