Nostalgia Index
  • User Guide
  • Reference

Skills

A skill is a package of structured files that teaches an AI coding agent how to work with a specific tool or framework. The skill below was generated by Great Docs from this project’s documentation. Install it in your agent and it will be able to run commands, edit configuration, write content, and troubleshoot problems without step-by-step guidance from you.

Any agent — install with npx:

npx skills add 

Codex / OpenCode

Tell the agent:
Fetch the skill file at <site-url>/skill.md and follow the instructions.

Manual — download the skill file:

curl -O <site-url>/skill.md

Or browse the SKILL.md file.

SKILL.md

---
name: nostalgia_index
description: >
  Wikipedia pageviews as a cultural pulse: a normalized nostalgia index, Shiny app and CLI. Use when writing Python code that uses the nostalgia_index package.
compatibility: Requires Python >=3.10.
---

# Nostalgia Index

Wikipedia pageviews as a cultural pulse: a normalized nostalgia index, Shiny app and CLI.

## Installation

```bash
pip install nostalgia_index
```

## API overview

### Dataclasses

Dataclass definitions

- `NostalgiaIndex`: Compute and hold the nostalgia index for one or more topics

### Functions

Utility functions

- `fetch_project_total`: Fetch total daily views for a project (``/aggregate/`` endpoint), used as the denominator
- `fetch_views`: Fetch daily pageviews for a single Wikipedia article
- `run_app`: Launch the Nostalgia Index Shiny app

## Resources

- [llms.txt](llms.txt) — Indexed API reference for LLMs
- [llms-full.txt](llms-full.txt) — Comprehensive documentation for LLMs

Site created with Great Docs.