Skip to content

Commit 0a0dabb

Browse files
committed
show quick stats
1 parent 6c05126 commit 0a0dabb

3 files changed

Lines changed: 242 additions & 0 deletions

File tree

Makefile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,19 @@ update:
2424
uv lock --upgrade
2525
uv sync
2626
$(MAKE) export-all-requirements
27+
28+
stats:
29+
@echo "=== Total Downloads ==="
30+
@pypistats overall bubble-data-api-client
31+
@echo "\n=== Recent (excludes mirrors) ==="
32+
@pypistats recent bubble-data-api-client
33+
@echo "\n=== By Python Version ==="
34+
@pypistats python_minor bubble-data-api-client
35+
@echo "\n=== By OS ==="
36+
@pypistats system bubble-data-api-client
37+
@echo "\n=== Monthly Downloads ==="
38+
@pypistats overall bubble-data-api-client --monthly --mirrors without
39+
@echo "\n=== Monthly by Python Version ==="
40+
@pypistats python_minor bubble-data-api-client --monthly
41+
@echo "\n=== Monthly by OS ==="
42+
@pypistats system bubble-data-api-client --monthly

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ dev = [
2828
"ipython~=9.5",
2929
"pre-commit~=4.5",
3030
"pyright~=1.1.407",
31+
"pypistats~=1.7",
3132
]
3233

3334
# ruff configuration

0 commit comments

Comments
 (0)