Skip to content

Commit faaa3fc

Browse files
authored
README: Update for more concise output with 3.13 (#472)
2 parents 9479f35 + eb5ac08 commit faaa3fc

File tree

1 file changed

+67
-67
lines changed

1 file changed

+67
-67
lines changed

README.md

Lines changed: 67 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ run("pypistats --help")
4949

5050
```console
5151
$ pypistats --help
52-
usage: pypistats [-h] [-V]
53-
{recent,overall,python_major,python_minor,system} ...
52+
usage: pypistats [-h] [-V] {recent,overall,python_major,python_minor,system} ...
5453

5554
positional arguments:
5655
{recent,overall,python_major,python_minor,system}
@@ -69,8 +68,7 @@ Help for a subcommand:
6968
```console
7069
$ pypistats recent --help
7170
usage: pypistats recent [-h] [-p {day,week,month}]
72-
[-f {html,json,pretty,md,markdown,rst,tsv}] [-j]
73-
[-v]
71+
[-f {html,json,pretty,md,markdown,rst,tsv}] [-j] [-v]
7472
package
7573

7674
Retrieve the aggregate download quantities for the last 1/7/30 days,
@@ -81,8 +79,8 @@ positional arguments:
8179

8280
options:
8381
-h, --help show this help message and exit
84-
-p {day,week,month}, --period {day,week,month}
85-
-f {html,json,pretty,md,markdown,rst,tsv}, --format {html,json,pretty,md,markdown,rst,tsv}
82+
-p, --period {day,week,month}
83+
-f, --format {html,json,pretty,md,markdown,rst,tsv}
8684
The format of output (default: pretty)
8785
-j, --json Shortcut for "-f json" (default: False)
8886
-v, --verbose Print debug messages to stderr (default: False)
@@ -96,11 +94,11 @@ Get recent downloads:
9694

9795
```console
9896
$ pypistats recent pillow
99-
┌───────────┬────────────┬────────────┐
100-
│ last_day │ last_month │ last_week │
101-
├───────────┼────────────┼────────────┤
102-
3,419,59791,237,12521,259,217
103-
└───────────┴────────────┴────────────┘
97+
┌───────────┬────────────┬────────────┐
98+
│ last_day │ last_month │ last_week │
99+
├───────────┼────────────┼────────────┤
100+
5,142,717125,777,27630,415,118
101+
└───────────┴────────────┴────────────┘
104102
```
105103

106104
<!-- [[[end]]] -->
@@ -112,37 +110,35 @@ Help for another subcommand:
112110
```console
113111
$ pypistats python_minor --help
114112
usage: pypistats python_minor [-h] [-V VERSION]
115-
[-f {html,json,pretty,md,markdown,rst,tsv}]
116-
[-j] [-sd yyyy-mm[-dd]|name]
117-
[-ed yyyy-mm[-dd]|name] [-m yyyy-mm|name] [-l]
118-
[-t] [-d] [--monthly] [-c {yes,no,auto}] [-v]
113+
[-f {html,json,pretty,md,markdown,rst,tsv}] [-j]
114+
[-sd yyyy-mm[-dd]|name] [-ed yyyy-mm[-dd]|name]
115+
[-m yyyy-mm|name] [-l] [-t] [-d] [--monthly]
116+
[-c {yes,no,auto}] [-v]
119117
package
120118

121-
Retrieve the aggregate daily download time series by Python minor version
122-
number
119+
Retrieve the aggregate daily download time series by Python minor version number
123120

124121
positional arguments:
125122
package
126123

127124
options:
128125
-h, --help show this help message and exit
129-
-V VERSION, --version VERSION
126+
-V, --version VERSION
130127
eg. 2.7 or 3.6 (default: None)
131-
-f {html,json,pretty,md,markdown,rst,tsv}, --format {html,json,pretty,md,markdown,rst,tsv}
128+
-f, --format {html,json,pretty,md,markdown,rst,tsv}
132129
The format of output (default: pretty)
133130
-j, --json Shortcut for "-f json" (default: False)
134-
-sd yyyy-mm[-dd]|name, --start-date yyyy-mm[-dd]|name
131+
-sd, --start-date yyyy-mm[-dd]|name
135132
Start date (default: None)
136-
-ed yyyy-mm[-dd]|name, --end-date yyyy-mm[-dd]|name
133+
-ed, --end-date yyyy-mm[-dd]|name
137134
End date (default: None)
138-
-m yyyy-mm|name, --month yyyy-mm|name
139-
Shortcut for -sd & -ed for a single month (default:
140-
None)
135+
-m, --month yyyy-mm|name
136+
Shortcut for -sd & -ed for a single month (default: None)
141137
-l, --last-month Shortcut for -sd & -ed for last month (default: False)
142138
-t, --this-month Shortcut for -sd for this month (default: False)
143139
-d, --daily Show daily downloads (default: False)
144140
--monthly Show monthly downloads (default: False)
145-
-c {yes,no,auto}, --color {yes,no,auto}
141+
-c, --color {yes,no,auto}
146142
Color terminal output (default: auto)
147143
-v, --verbose Print debug messages to stderr (default: False)
148144
```
@@ -155,28 +151,30 @@ Get version downloads:
155151

156152
```console
157153
$ pypistats python_minor pillow --last-month
158-
┌──────────┬─────────┬────────────┐
159-
│ category │ percent │ downloads │
160-
├──────────┼─────────┼────────────┤
161-
│ 3.8 │ 18.37% │ 16,161,117 │
162-
│ 3.10 │ 17.47% │ 15,373,666 │
163-
│ 3.7 │ 16.70% │ 14,691,371 │
164-
│ 3.11 │ 15.49% │ 13,630,259 │
165-
│ 3.9 │ 13.19% │ 11,605,389 │
166-
│ 3.6 │ 9.68% │ 8,519,789 │
167-
│ null │ 4.64% │ 4,085,994 │
168-
│ 3.12 │ 3.26% │ 2,871,386 │
169-
│ 2.7 │ 0.95% │ 837,638 │
170-
│ 3.5 │ 0.25% │ 216,308 │
171-
│ 3.13 │ 0.00% │ 2,830 │
172-
│ 3.4 │ 0.00% │ 1,237 │
173-
│ 3.3 │ 0.00% │ 109 │
174-
│ 3.1 │ 0.00% │ 3 │
175-
│ 3.2 │ 0.00% │ 2 │
176-
│ Total │ │ 87,997,098 │
177-
└──────────┴─────────┴────────────┘
178-
179-
Date range: 2024-02-01 - 2024-02-29
154+
┌──────────┬─────────┬─────────────┐
155+
│ category │ percent │ downloads │
156+
├──────────┼─────────┼─────────────┤
157+
│ 3.10 │ 19.31% │ 24,065,642 │
158+
│ 3.11 │ 17.45% │ 21,749,566 │
159+
│ 3.12 │ 15.68% │ 19,541,358 │
160+
│ 3.9 │ 13.93% │ 17,370,148 │
161+
│ 3.7 │ 12.86% │ 16,034,418 │
162+
│ 3.8 │ 9.69% │ 12,077,524 │
163+
│ null │ 5.89% │ 7,341,287 │
164+
│ 3.13 │ 2.99% │ 3,728,426 │
165+
│ 3.6 │ 1.81% │ 2,255,947 │
166+
│ 2.7 │ 0.38% │ 468,671 │
167+
│ 3.5 │ 0.01% │ 15,575 │
168+
│ 3.14 │ 0.00% │ 5,804 │
169+
│ 3.4 │ 0.00% │ 907 │
170+
│ 3.1 │ 0.00% │ 37 │
171+
│ 3.3 │ 0.00% │ 16 │
172+
│ 3.2 │ 0.00% │ 6 │
173+
│ 3.99 │ 0.00% │ 1 │
174+
│ Total │ │ 124,655,333 │
175+
└──────────┴─────────┴─────────────┘
176+
177+
Date range: 2025-01-01 - 2025-01-31
180178
```
181179

182180
<!-- [[[end]]] -->
@@ -185,26 +183,28 @@ You can format in Markdown, ready for pasting in GitHub issues and PRs:
185183

186184
<!-- [[[cog run("pypistats python_minor pillow --last-month --format md", with_console=False) ]]] -->
187185

188-
| category | percent | downloads |
189-
| :------- | ------: | ---------: |
190-
| 3.8 | 18.37% | 16,161,117 |
191-
| 3.10 | 17.47% | 15,373,666 |
192-
| 3.7 | 16.70% | 14,691,371 |
193-
| 3.11 | 15.49% | 13,630,259 |
194-
| 3.9 | 13.19% | 11,605,389 |
195-
| 3.6 | 9.68% | 8,519,789 |
196-
| null | 4.64% | 4,085,994 |
197-
| 3.12 | 3.26% | 2,871,386 |
198-
| 2.7 | 0.95% | 837,638 |
199-
| 3.5 | 0.25% | 216,308 |
200-
| 3.13 | 0.00% | 2,830 |
201-
| 3.4 | 0.00% | 1,237 |
202-
| 3.3 | 0.00% | 109 |
203-
| 3.1 | 0.00% | 3 |
204-
| 3.2 | 0.00% | 2 |
205-
| Total | | 87,997,098 |
206-
207-
Date range: 2024-02-01 - 2024-02-29
186+
| category | percent | downloads |
187+
| :------- | ------: | ----------: |
188+
| 3.10 | 19.31% | 24,065,642 |
189+
| 3.11 | 17.45% | 21,749,566 |
190+
| 3.12 | 15.68% | 19,541,358 |
191+
| 3.9 | 13.93% | 17,370,148 |
192+
| 3.7 | 12.86% | 16,034,418 |
193+
| 3.8 | 9.69% | 12,077,524 |
194+
| null | 5.89% | 7,341,287 |
195+
| 3.13 | 2.99% | 3,728,426 |
196+
| 3.6 | 1.81% | 2,255,947 |
197+
| 2.7 | 0.38% | 468,671 |
198+
| 3.5 | 0.01% | 15,575 |
199+
| 3.14 | 0.00% | 5,804 |
200+
| 3.4 | 0.00% | 907 |
201+
| 3.1 | 0.00% | 37 |
202+
| 3.3 | 0.00% | 16 |
203+
| 3.2 | 0.00% | 6 |
204+
| 3.99 | 0.00% | 1 |
205+
| Total | | 124,655,333 |
206+
207+
Date range: 2025-01-01 - 2025-01-31
208208

209209
<!-- [[[end]]] -->
210210

0 commit comments

Comments
 (0)