@@ -23,36 +23,37 @@ pypinfo is a simple CLI to access [PyPI](https://pypi.org/) download statistics
2323``` console
2424$ pypinfo
2525Usage: pypinfo [OPTIONS] [PROJECT] [FIELDS]... COMMAND [ARGS]...
26-
27- Valid fields are:
2826
29- project | version | file | pyversion | percent3 | percent2 | impl | impl-version |
30-
31- openssl | date | month | year | country | installer | installer-version |
32-
33- setuptools-version | system | system-release | distro | distro-version | cpu |
27+ Valid fields are:
28+
29+ project | version | file | pyversion | percent3 | percent2 | impl | impl-version |
30+
31+ openssl | date | month | year | country | installer | installer-version |
32+
33+ setuptools-version | system | system-release | distro | distro-version | ci | cpu |
34+
35+ libc | libc-version
3436
35- libc | libc-version
36-
3737Options:
38- -a, --auth TEXT Path to Google credentials JSON file.
39- --run / --test --test simply prints the query.
40- -j, --json Print data as JSON, with keys `rows` and `query`.
41- -i, --indent INTEGER JSON indentation level.
42- -t, --timeout INTEGER Milliseconds. Default: 120000 (2 minutes)
43- -l, --limit INTEGER Maximum number of query results. Default: 10
44- -d, --days INTEGER Number of days in the past to include. Default: 30
45- -sd, --start-date TEXT Must be negative or YYYY-MM[-DD]. Default: -31
46- -ed, --end-date TEXT Must be negative or YYYY-MM[-DD]. Default: -1
47- -m, --month TEXT Shortcut for -sd & -ed for a single YYYY-MM month.
48- -w, --where TEXT WHERE conditional. Default: file.project = "project"
49- -o, --order TEXT Field to order by. Default: download_count
50- --all Show downloads by all installers, not only pip.
51- -pc, --percent Print percentages.
52- -md, --markdown Output as Markdown.
53- -v, --verbose Print debug messages to stderr.
54- --version Show the version and exit.
55- -h, --help Show this message and exit.
38+ -a, --auth TEXT Path to Google credentials JSON file.
39+ --run / --test --test simply prints the query.
40+ -n, --dry-run Don't run query but display how much data would be processed.
41+ -j, --json Print data as JSON, with keys `rows` and `query`.
42+ -i, --indent INTEGER JSON indentation level.
43+ -t, --timeout INTEGER Milliseconds. Default: 120000 (2 minutes)
44+ -l, --limit INTEGER Maximum number of query results. Default: 10
45+ -d, --days INTEGER Number of days in the past to include. Default: 30
46+ -sd, --start-date TEXT Must be negative or YYYY-MM[-DD]. Default: -31
47+ -ed, --end-date TEXT Must be negative or YYYY-MM[-DD]. Default: -1
48+ -m, --month TEXT Shortcut for -sd & -ed for a single YYYY-MM month.
49+ -w, --where TEXT WHERE conditional. Default: file.project = "project"
50+ -o, --order TEXT Field to order by. Default: download_count
51+ --all Show downloads by all installers, not only pip.
52+ -pc, --percent Print percentages.
53+ -md, --markdown Output as Markdown.
54+ -v, --verbose Print debug messages to stderr.
55+ --version Show the version and exit.
56+ -h, --help Show this message and exit.
5657```
5758
5859pypinfo accepts 0 or more options, followed by exactly 1 project, followed by
0 commit comments