https://github.com/kulla/analytics-mfnf
Pageview analytics for the wikibooks project "Mathe für Nicht-Freaks" also known as "Serlo Hochschulmathematik" at https://de.wikibooks.org/wiki/Mathe_f%C3%BCr_Nicht-Freaks
https://github.com/kulla/analytics-mfnf
Last synced: 3 months ago
JSON representation
Pageview analytics for the wikibooks project "Mathe für Nicht-Freaks" also known as "Serlo Hochschulmathematik" at https://de.wikibooks.org/wiki/Mathe_f%C3%BCr_Nicht-Freaks
- Host: GitHub
- URL: https://github.com/kulla/analytics-mfnf
- Owner: kulla
- License: apache-2.0
- Created: 2025-03-16T14:03:28.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-16T18:34:32.000Z (3 months ago)
- Last Synced: 2025-03-16T18:44:12.013Z (3 months ago)
- Language: Jupyter Notebook
- Size: 135 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Analytics of page views for „Mathe für Nicht-Freaks“
This project aims to analyze the page views of the project [“Mathe für Nicht-Freaks“](https://de.wikibooks.org/wiki/Mathe_f%C3%BCr_Nicht-Freaks) website.
## Pageview analysis
You can find all pageview analyses at https://kulla.github.io/analytics-mfnf/. The statistics are [updated daily by a GitHub Action](./github/workflows/publish.yml).
## Setup
1. Clone the repository
2. Make sure [`uv` is installed](https://docs.astral.sh/uv/getting-started/installation/)
3. Run `uv run` in the repository## Scripts
The scripts in the [`scripts`](./scripts) folder help in creating new statistics. The scripts are:
- `./scripts/build`: Generate the pageview statistics
- `./scripts/format`: Format all Python files and fix some lint errors
- `./scripts/start-jupyter-lab`: Start a Jupyter Lab server
- `./scripts/create-new-notebook `: Create a new Jupyter Notebook from a template. The type can be `statistic` or `report`.
- `./scripts/test`: Run all tests with `pytest`
- `./scripts/test-watch-mode`: Run all tests in watch mode