Metadata-Version: 2.4
Name: whatdidyoudo
Version: 0.1.0
Summary: A minimal Flask app that shows the amount of OpenStreetMap changes made by a user on a day.
Author-email: Ulf Rompe <whatdidyoudo.rompe.org@rompe.org>
License: MIT
Requires-Python: >=3.11
Requires-Dist: flask-caching==2.3.1
Requires-Dist: flask>=3.0.3
Requires-Dist: requests>=2.32.4
Provides-Extra: dev
Requires-Dist: hatchling>=1.27.0; extra == 'dev'
Requires-Dist: ruff>=0.13.2; extra == 'dev'
Requires-Dist: twine>=6.2.0; extra == 'dev'
Requires-Dist: types-requests>=2.32.4; extra == 'dev'
Description-Content-Type: text/markdown

# whatdidyoudo

A minimal Flask app that shows the amount of OpenStreetMap changes made by a user on a day.

## Background

I often ask myself after contributing many changes to OpenStreetMap, either by walking around
while extensively using StreetComplete, MapComplete or Vespucci, or by doing some tasks in iD or
jOSM: **How many changes did I contribute to the map today?**

I'm not the only one. I heard questions like this quite a few times:
**Where can I see how much I did on yesterday's mapwalk?**

Because I think that simple questions deserve simple answers, I made this tool to give exactly
this information and nothing else.

You don't need to self-host it, it is available for anyone at
[whatdidyoudo.rompe.org](https://whatdidyoudo.rompe.org).

## Setup

Fun fact: of course you don't really need *uv* for this. I'm just using this project to
get used to it as I think it has a lot of potential.

1. Install [uv](https://github.com/astral-sh/uv) if needed:

   ```sh
   pip install uv
   ```

2. Install dependencies using *uv*:

   ```sh
   uv pip install -r pyproject.toml
   ```

   If you want to develop:

   ```sh
   uv pip install -r pyproject.toml --extra dev
   ```

3. Run the app in test mode:

   ```sh
   python run_test.py
   ```

   Visit [http://127.0.0.1:5000/](http://127.0.0.1:5000/) in your browser to see "hello world".

4. Build a package and upload it to Pypi

   ```sh
   uv hatchling build
   uv twine upload dist/*
   ```

## License

This project is licensed under the MIT License. See the `pyproject.toml` for details.
