Closed hugovk closed 5 years ago
pypi-trends.py --pypistats will use pypistats to get data instead of pypistats
pypi-trends.py --pypistats
pypistats
pypinfo
Update jsons2csv.py to be able to read in JSON data from either pypinfo or pypistats
jsons2csv.py
pypinfo output (prettified):
{ "last_update": "2018-10-01 07:43:19", "query": { "bytes_billed": 40791703552, "bytes_processed": 40790964510, "cached": false, "estimated_cost": "0.19" }, "rows": [ { "download_count": 1491518, "percent": "0.47", "python_version": "2.7" }, ... { "download_count": 18, "percent": "5.7e-06", "python_version": "None" } ] }
pypistats output (prettified):
{ "data": [ { "category": "2.6", "downloads": 287 }, ... { "category": "null", "downloads": 24816 } ], "package": "matplotlib", "type": "python_minor_downloads" }
pypi-trends.py --pypistats
will usepypistats
to get data instead ofpypistats
pypinfo
pypinfo
pypistats
is slightly different topypinfo
Update
jsons2csv.py
to be able to read in JSON data from eitherpypinfo
orpypistats
pypinfo
output (prettified):pypistats
output (prettified):TODO