dephell package downloads¶
Get downloads statistic for package from PyPI.org. This command works with amazing PyPI Stats API, God bless this service.
$ dephell package downloads textdistance
{
"pythons": [
{
"category": "35",
"chart": "▅▂▄▃▁▂▄ ▇█▄▄▆█▄ ▂▂▄▅▁▁▄ ▅▄▅▄▁▁▄",
"day": 120,
"month": 3726,
"week": 786
},
...
],
"systems": [
{
"category": "Linux",
"chart": "▄▄▅▃▂▁█ ▇█▄▄▄▄▄ ▅▃▄▅▁▁▄ ▅▃▅▄▁▁▄",
"day": 259,
"month": 6947,
"week": 1421
},
...
],
"total": {
"day": 284,
"month": 8751,
"week": 1731
}
}
Fields¶
pythons– statistic by python versions.systems– statistic by operating systems.total.day– total downloads yesterday.total.week– total downloads for previous 7 days.total.month– total downloads from yesterday to the same day in the previous month.pythons.#.chartandsystems.#.chart– downloads bar chart for last 28 days grouped by 7 days.pythons.#.dayandsystems.#.day– total downloads yesterday.pythons.#.weekandsystems.#.week– total downloads for previous 7 days.pythons.#.monthandsystems.#.month– total downloads for previous 30 days.
Filtering¶
This command, as all commands with JSON output, supports filtering. For example, get only month stat for pythons:
dephell package downloads textdistance --filter="pythons.#.category+month.each()"
[
{
"category": "27",
"month": 332
},
...
]
See also¶
- How to filter commands JSON output.
- dephell package show to get information about package.
- dephell package search to search packages on PyPI.