Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance #159

Merged
merged 3 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/get_pypi_stats.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# adapted from icepyx's workflow:
# https://github.com/icesat2py/icepyx/blob/6c187bd35358d88083a5163d3491118aa1aad45c/.github/workflows/get_pypi_stats.yml

name: Get PyPi Stats
on:
schedule:
# runs once a month on the first: "min hr day-of-month month day-of-week"
- cron: "00 12 1 * *"
# Trigger manually from the Actions tab
workflow_dispatch:

jobs:
# This workflow contains a single job called "pypi_stats"
pypi_stats:
# The type of runner that the job will run on
runs-on: ubuntu-latest
if: github.repository_owner == 'polartoolkit'

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
ref: "traffic"

# Calculates pypi stats and clones and stores in CSV file
- name: Update pypi stats files
run: |
pip install -U pip
pip install pypistats pandas seaborn matplotlib
python ./docs/tracking/stats.py

# Commits files to repository
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: pypistats
message: "Pypi stats auto-update"
add: "./docs/tracking/*"
# add: "./pypistats/*"
Binary file added docs/tracking/downloads.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
265 changes: 265 additions & 0 deletions docs/tracking/downloads_data.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,265 @@
category,date,downloads
with_mirrors,2023-08-02,41
with_mirrors,2023-08-03,20
with_mirrors,2023-08-04,40
with_mirrors,2023-08-05,42
with_mirrors,2023-08-06,38
with_mirrors,2023-08-08,43
with_mirrors,2023-08-09,110
with_mirrors,2023-08-12,7
with_mirrors,2023-08-13,46
with_mirrors,2023-08-16,1
with_mirrors,2023-08-17,2
with_mirrors,2023-08-18,20
with_mirrors,2023-08-19,59
with_mirrors,2023-08-20,3
with_mirrors,2023-08-21,20
with_mirrors,2023-08-22,34
with_mirrors,2023-08-23,95
with_mirrors,2023-08-24,26
with_mirrors,2023-08-25,24
with_mirrors,2023-08-26,31
with_mirrors,2023-08-27,20
with_mirrors,2023-08-28,9
with_mirrors,2023-08-29,20
with_mirrors,2023-08-30,17
with_mirrors,2023-08-31,20
with_mirrors,2023-09-01,6
with_mirrors,2023-09-02,21
with_mirrors,2023-09-04,4
with_mirrors,2023-09-05,20
with_mirrors,2023-09-06,20
with_mirrors,2023-09-08,42
with_mirrors,2023-09-09,26
with_mirrors,2023-09-12,26
with_mirrors,2023-09-13,21
with_mirrors,2023-09-14,46
with_mirrors,2023-09-17,1
with_mirrors,2023-09-18,1
with_mirrors,2023-09-19,43
with_mirrors,2023-09-20,61
with_mirrors,2023-09-21,7
with_mirrors,2023-09-22,8
with_mirrors,2023-09-23,20
with_mirrors,2023-09-24,21
with_mirrors,2023-09-25,26
with_mirrors,2023-09-26,21
with_mirrors,2023-09-27,27
with_mirrors,2023-09-28,9
with_mirrors,2023-09-29,2
with_mirrors,2023-09-30,11
with_mirrors,2023-10-02,22
with_mirrors,2023-10-03,1
with_mirrors,2023-10-04,70
with_mirrors,2023-10-05,41
with_mirrors,2023-10-06,7
with_mirrors,2023-10-07,22
with_mirrors,2023-10-08,2
with_mirrors,2023-10-09,1
with_mirrors,2023-10-10,4
with_mirrors,2023-10-11,24
with_mirrors,2023-10-12,24
with_mirrors,2023-10-14,2
with_mirrors,2023-10-17,42
with_mirrors,2023-10-18,10
with_mirrors,2023-10-19,1
with_mirrors,2023-10-20,47
with_mirrors,2023-10-21,70
with_mirrors,2023-10-22,60
with_mirrors,2023-10-23,36
with_mirrors,2023-10-24,22
with_mirrors,2023-10-25,91
with_mirrors,2023-10-26,60
with_mirrors,2023-10-27,18
with_mirrors,2023-10-28,2
with_mirrors,2023-10-29,20
with_mirrors,2023-10-30,3
with_mirrors,2023-10-31,2
with_mirrors,2023-11-01,49
with_mirrors,2023-11-02,21
with_mirrors,2023-11-03,18
with_mirrors,2023-11-04,62
with_mirrors,2023-11-06,1
with_mirrors,2023-11-07,4
with_mirrors,2023-11-08,44
with_mirrors,2023-11-09,21
with_mirrors,2023-11-10,21
with_mirrors,2023-11-11,20
with_mirrors,2023-11-12,46
with_mirrors,2023-11-13,4
with_mirrors,2023-11-14,19
with_mirrors,2023-11-15,32
with_mirrors,2023-11-16,26
with_mirrors,2023-11-18,28
with_mirrors,2023-11-21,39
with_mirrors,2023-11-22,81
with_mirrors,2023-11-23,135
with_mirrors,2023-11-24,64
with_mirrors,2023-11-25,28
with_mirrors,2023-11-26,9
with_mirrors,2023-11-27,40
with_mirrors,2023-11-28,52
with_mirrors,2023-11-29,57
with_mirrors,2023-11-30,34
with_mirrors,2023-12-01,43
with_mirrors,2023-12-02,20
with_mirrors,2023-12-03,6
with_mirrors,2023-12-04,33
with_mirrors,2023-12-05,40
with_mirrors,2023-12-06,21
with_mirrors,2023-12-07,2
with_mirrors,2023-12-08,40
with_mirrors,2023-12-09,22
with_mirrors,2023-12-10,145
with_mirrors,2023-12-11,46
with_mirrors,2023-12-12,43
with_mirrors,2023-12-13,32
with_mirrors,2023-12-14,74
with_mirrors,2023-12-15,14
with_mirrors,2023-12-16,61
with_mirrors,2023-12-17,29
with_mirrors,2023-12-18,12
with_mirrors,2023-12-19,48
with_mirrors,2023-12-20,6
with_mirrors,2023-12-21,31
with_mirrors,2023-12-22,22
with_mirrors,2023-12-23,15
with_mirrors,2023-12-24,24
with_mirrors,2023-12-25,5
with_mirrors,2023-12-26,23
with_mirrors,2023-12-27,3
with_mirrors,2023-12-28,14
with_mirrors,2023-12-29,28
with_mirrors,2023-12-30,2
with_mirrors,2023-12-31,22
with_mirrors,2024-01-02,13
with_mirrors,2024-01-03,2
with_mirrors,2024-01-05,20
with_mirrors,2024-01-07,1
with_mirrors,2024-01-08,52
with_mirrors,2024-01-09,29
with_mirrors,2024-01-10,18
with_mirrors,2024-01-11,30
with_mirrors,2024-01-12,80
with_mirrors,2024-01-13,17
with_mirrors,2024-01-14,35
with_mirrors,2024-01-15,25
with_mirrors,2024-01-16,3
with_mirrors,2024-01-17,47
with_mirrors,2024-01-19,42
with_mirrors,2024-01-20,11
with_mirrors,2024-01-21,22
with_mirrors,2024-01-22,32
with_mirrors,2024-01-23,25
with_mirrors,2024-01-24,7
with_mirrors,2024-01-25,24
with_mirrors,2024-01-26,177
with_mirrors,2024-01-26,336
with_mirrors,2024-01-27,28
with_mirrors,2024-01-27,49
with_mirrors,2024-01-28,11
with_mirrors,2024-01-28,57
with_mirrors,2024-01-29,139
with_mirrors,2024-01-29,162
without_mirrors,2023-08-02,1
without_mirrors,2023-08-09,7
without_mirrors,2023-08-12,1
without_mirrors,2023-08-16,1
without_mirrors,2023-08-19,2
without_mirrors,2023-08-20,3
without_mirrors,2023-08-23,3
without_mirrors,2023-08-26,11
without_mirrors,2023-08-30,11
without_mirrors,2023-09-04,1
without_mirrors,2023-09-06,20
without_mirrors,2023-09-12,6
without_mirrors,2023-09-14,2
without_mirrors,2023-09-17,1
without_mirrors,2023-09-18,1
without_mirrors,2023-09-19,3
without_mirrors,2023-09-22,1
without_mirrors,2023-09-26,12
without_mirrors,2023-09-27,2
without_mirrors,2023-09-28,3
without_mirrors,2023-09-29,2
without_mirrors,2023-09-30,1
without_mirrors,2023-10-03,1
without_mirrors,2023-10-04,20
without_mirrors,2023-10-07,1
without_mirrors,2023-10-08,2
without_mirrors,2023-10-11,20
without_mirrors,2023-10-14,1
without_mirrors,2023-10-19,1
without_mirrors,2023-10-20,7
without_mirrors,2023-10-23,1
without_mirrors,2023-10-24,2
without_mirrors,2023-10-25,21
without_mirrors,2023-10-27,2
without_mirrors,2023-10-28,2
without_mirrors,2023-10-30,3
without_mirrors,2023-10-31,1
without_mirrors,2023-11-01,28
without_mirrors,2023-11-02,1
without_mirrors,2023-11-04,2
without_mirrors,2023-11-06,1
without_mirrors,2023-11-10,1
without_mirrors,2023-11-12,20
without_mirrors,2023-11-13,4
without_mirrors,2023-11-14,9
without_mirrors,2023-11-18,8
without_mirrors,2023-11-21,19
without_mirrors,2023-11-22,81
without_mirrors,2023-11-23,135
without_mirrors,2023-11-24,37
without_mirrors,2023-11-25,8
without_mirrors,2023-11-26,9
without_mirrors,2023-11-27,39
without_mirrors,2023-11-28,12
without_mirrors,2023-11-29,17
without_mirrors,2023-11-30,14
without_mirrors,2023-12-01,1
without_mirrors,2023-12-04,23
without_mirrors,2023-12-06,21
without_mirrors,2023-12-07,2
without_mirrors,2023-12-09,1
without_mirrors,2023-12-10,57
without_mirrors,2023-12-11,15
without_mirrors,2023-12-12,1
without_mirrors,2023-12-13,18
without_mirrors,2023-12-14,2
without_mirrors,2023-12-15,2
without_mirrors,2023-12-16,3
without_mirrors,2023-12-17,1
without_mirrors,2023-12-18,8
without_mirrors,2023-12-20,4
without_mirrors,2023-12-21,5
without_mirrors,2023-12-23,3
without_mirrors,2023-12-25,3
without_mirrors,2023-12-26,1
without_mirrors,2023-12-27,2
without_mirrors,2023-12-28,12
without_mirrors,2023-12-29,2
without_mirrors,2024-01-02,9
without_mirrors,2024-01-03,2
without_mirrors,2024-01-05,10
without_mirrors,2024-01-07,1
without_mirrors,2024-01-08,4
without_mirrors,2024-01-10,4
without_mirrors,2024-01-12,14
without_mirrors,2024-01-13,6
without_mirrors,2024-01-14,5
without_mirrors,2024-01-15,3
without_mirrors,2024-01-16,3
without_mirrors,2024-01-17,3
without_mirrors,2024-01-20,1
without_mirrors,2024-01-22,10
without_mirrors,2024-01-23,1
without_mirrors,2024-01-24,3
without_mirrors,2024-01-26,86
without_mirrors,2024-01-26,235
without_mirrors,2024-01-27,11
without_mirrors,2024-01-27,18
without_mirrors,2024-01-28,3
without_mirrors,2024-01-28,5
without_mirrors,2024-01-29,62
without_mirrors,2024-01-29,63
Loading
Loading