pitstop-cli 1.0.0__tar.gz → 1.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/CHANGELOG.md +29 -12
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/PKG-INFO +9 -9
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/README.md +4 -4
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/pyproject.toml +5 -5
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/skills/pitstop/SKILL.md +1 -1
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/src/pitstop/overpass.py +1 -1
- pitstop_cli-1.0.2/src/pitstop/version.py +1 -0
- pitstop_cli-1.0.0/src/pitstop/version.py +0 -1
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/.github/workflows/ci.yml +0 -0
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/.gitignore +0 -0
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/LICENSE +0 -0
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/src/pitstop/__init__.py +0 -0
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/src/pitstop/__main__.py +0 -0
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/src/pitstop/chargers.py +0 -0
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/src/pitstop/cli.py +0 -0
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/src/pitstop/core.py +0 -0
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/src/pitstop/cpo_tariffs.py +0 -0
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/src/pitstop/geocoding.py +0 -0
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/src/pitstop/mcp_server.py +0 -0
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/tests/test_chargers.py +0 -0
- {pitstop_cli-1.0.0 → pitstop_cli-1.0.2}/tests/test_core.py +0 -0
|
@@ -4,6 +4,21 @@ All notable changes to this project are documented here. The format is based on
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project aims
|
|
5
5
|
to follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [1.0.2] - 2026-06-26
|
|
8
|
+
|
|
9
|
+
Documentation/package-description patch. The README status section still
|
|
10
|
+
described the v0.9.0 milestone even though the current public release line is
|
|
11
|
+
1.0.x. This release updates the packaged README to match v1.0.2, corrects a CLI
|
|
12
|
+
example that used an MCP tool name, and lists the full MCP tool surface.
|
|
13
|
+
|
|
14
|
+
## [1.0.1] - 2026-06-10
|
|
15
|
+
|
|
16
|
+
Metadata-only patch. The 1.0.0 wheel on PyPI was built and uploaded before the
|
|
17
|
+
GitHub repo was renamed `pitstop` → `pitstop-cli`, so its `Project-URL`
|
|
18
|
+
entries (Homepage / Repository / Changelog / Issues) point at the pre-rename
|
|
19
|
+
URLs. PyPI wheels are immutable, so this release supersedes 1.0.0 with
|
|
20
|
+
corrected metadata. No code changes.
|
|
21
|
+
|
|
7
22
|
## [1.0.0] - 2026-06-02
|
|
8
23
|
|
|
9
24
|
First public release. Nine months of iteration condensed:
|
|
@@ -259,15 +274,17 @@ Initial release.
|
|
|
259
274
|
- `--fuel` is a substring match, so `Gasolio` also matches variants such as
|
|
260
275
|
`Gasolio Alpino`.
|
|
261
276
|
|
|
262
|
-
[1.0.
|
|
263
|
-
[0.
|
|
264
|
-
[0.
|
|
265
|
-
[0.
|
|
266
|
-
[0.
|
|
267
|
-
[0.
|
|
268
|
-
[0.
|
|
269
|
-
[0.
|
|
270
|
-
[0.
|
|
271
|
-
[0.
|
|
272
|
-
[0.
|
|
273
|
-
[0.
|
|
277
|
+
[1.0.2]: https://github.com/galjos/pitstop-cli/releases/tag/v1.0.2
|
|
278
|
+
[1.0.1]: https://github.com/galjos/pitstop-cli/releases/tag/v1.0.1
|
|
279
|
+
[1.0.0]: https://github.com/galjos/pitstop-cli/releases/tag/v1.0.0
|
|
280
|
+
[0.9.0]: https://github.com/galjos/pitstop-cli/releases/tag/v0.9.0
|
|
281
|
+
[0.8.0]: https://github.com/galjos/pitstop-cli/releases/tag/v0.8.0
|
|
282
|
+
[0.7.0]: https://github.com/galjos/pitstop-cli/releases/tag/v0.7.0
|
|
283
|
+
[0.6.0]: https://github.com/galjos/pitstop-cli/releases/tag/v0.6.0
|
|
284
|
+
[0.5.0]: https://github.com/galjos/pitstop-cli/releases/tag/v0.5.0
|
|
285
|
+
[0.4.0]: https://github.com/galjos/pitstop-cli/releases/tag/v0.4.0
|
|
286
|
+
[0.3.0]: https://github.com/galjos/pitstop-cli/releases/tag/v0.3.0
|
|
287
|
+
[0.2.0]: https://github.com/galjos/pitstop-cli/releases/tag/v0.2.0
|
|
288
|
+
[0.1.1]: https://github.com/galjos/pitstop-cli/releases/tag/v0.1.1
|
|
289
|
+
[0.1.0]: https://github.com/galjos/pitstop-cli/releases/tag/v0.1.0
|
|
290
|
+
[0.0.1]: https://github.com/galjos/pitstop-cli/releases/tag/v0.0.1
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pitstop-cli
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: JSON-first CLI + MCP server for Italian fuel-station prices and EV charging — MIMIT, OpenStreetMap, ISTAT.
|
|
5
|
-
Project-URL: Homepage, https://github.com/galjos/pitstop
|
|
6
|
-
Project-URL: Repository, https://github.com/galjos/pitstop
|
|
7
|
-
Project-URL: Changelog, https://github.com/galjos/pitstop/blob/main/CHANGELOG.md
|
|
8
|
-
Project-URL: Issues, https://github.com/galjos/pitstop/issues
|
|
5
|
+
Project-URL: Homepage, https://github.com/galjos/pitstop-cli
|
|
6
|
+
Project-URL: Repository, https://github.com/galjos/pitstop-cli
|
|
7
|
+
Project-URL: Changelog, https://github.com/galjos/pitstop-cli/blob/main/CHANGELOG.md
|
|
8
|
+
Project-URL: Issues, https://github.com/galjos/pitstop-cli/issues
|
|
9
9
|
Author: Josef M. Gallmetzer
|
|
10
10
|
License: MIT License
|
|
11
11
|
|
|
@@ -56,7 +56,7 @@ A JSON-first CLI and MCP server for **Italian fuel-station prices** and **EV cha
|
|
|
56
56
|
Italy publishes per-station fuel prices daily (MIMIT *Osservaprezzi Carburanti* open data) and OpenStreetMap maps every EV charger in the country, but raw access means downloading multi-megabyte CSVs, joining files, sorting through misreports, and translating between Italian comune names and the ones a user actually types. `pitstop` does all of that locally and returns a small, well-formed JSON envelope.
|
|
57
57
|
|
|
58
58
|
Built for questions like:
|
|
59
|
-
- *"What's the cheapest diesel near Rome right now?"* → `pitstop
|
|
59
|
+
- *"What's the cheapest diesel near Rome right now?"* → `pitstop stations --fuel Gasolio --near 41.9,12.5 --cheapest`
|
|
60
60
|
- *"Where can I fast-charge my EV in Bolzano?"* → `pitstop chargers --comune Bozen --fast`
|
|
61
61
|
- *"Are these station prices statistically reliable?"* → every price carries a `regional_median`, `deviation_pct`, and `outlier` flag.
|
|
62
62
|
|
|
@@ -123,7 +123,7 @@ Every returned price carries `regional_median`, `deviation_pct`, and an `outlier
|
|
|
123
123
|
|
|
124
124
|
## MCP server
|
|
125
125
|
|
|
126
|
-
For agents that speak MCP, the same data is exposed as tools (`list_fuels`, `find_stations`, `find_cheapest`) over the shared core:
|
|
126
|
+
For agents that speak MCP, the same data is exposed as tools (`list_fuels`, `find_stations`, `find_cheapest`, `find_chargers`, `get_stats`) over the shared core:
|
|
127
127
|
|
|
128
128
|
```bash
|
|
129
129
|
pip install "pitstop-cli[mcp]" # or: uv tool install "pitstop-cli[mcp]"
|
|
@@ -153,10 +153,10 @@ pytest -q
|
|
|
153
153
|
|
|
154
154
|
## Status & roadmap
|
|
155
155
|
|
|
156
|
-
|
|
156
|
+
v1.0.2 — stable public release: fuel-price core (registry+price join, filters, proximity, cheapest, `--min-price` floor, `--fresh-within-days` freshness, combined 15% + Tukey IQR outlier rule, ISTAT comune-coordinate validation, JSON) + **EV charging stations via OSM Overpass** (operator, plug types, max kW, fee, access — `pitstop chargers`) + **operator tariff-page URLs** attached to each EV result. Includes **multi-fuel query support**, **international municipality mapping** (EN/FR/DE), **macro price statistics** (`pitstop stats`), and **navigation/GeoJSON support**. MCP server, agent skill, tests, CI.
|
|
157
157
|
|
|
158
158
|
Planned, roughly in order:
|
|
159
|
-
- **EV
|
|
159
|
+
- per-station **EV tariff data** once Italy exposes a documented public API for PUN / AFIR data;
|
|
160
160
|
- additional countries behind a per-country source adapter (e.g. Germany Tankerkönig, France/Spain official feeds).
|
|
161
161
|
|
|
162
162
|
## Data sources & attributions
|
|
@@ -5,7 +5,7 @@ A JSON-first CLI and MCP server for **Italian fuel-station prices** and **EV cha
|
|
|
5
5
|
Italy publishes per-station fuel prices daily (MIMIT *Osservaprezzi Carburanti* open data) and OpenStreetMap maps every EV charger in the country, but raw access means downloading multi-megabyte CSVs, joining files, sorting through misreports, and translating between Italian comune names and the ones a user actually types. `pitstop` does all of that locally and returns a small, well-formed JSON envelope.
|
|
6
6
|
|
|
7
7
|
Built for questions like:
|
|
8
|
-
- *"What's the cheapest diesel near Rome right now?"* → `pitstop
|
|
8
|
+
- *"What's the cheapest diesel near Rome right now?"* → `pitstop stations --fuel Gasolio --near 41.9,12.5 --cheapest`
|
|
9
9
|
- *"Where can I fast-charge my EV in Bolzano?"* → `pitstop chargers --comune Bozen --fast`
|
|
10
10
|
- *"Are these station prices statistically reliable?"* → every price carries a `regional_median`, `deviation_pct`, and `outlier` flag.
|
|
11
11
|
|
|
@@ -72,7 +72,7 @@ Every returned price carries `regional_median`, `deviation_pct`, and an `outlier
|
|
|
72
72
|
|
|
73
73
|
## MCP server
|
|
74
74
|
|
|
75
|
-
For agents that speak MCP, the same data is exposed as tools (`list_fuels`, `find_stations`, `find_cheapest`) over the shared core:
|
|
75
|
+
For agents that speak MCP, the same data is exposed as tools (`list_fuels`, `find_stations`, `find_cheapest`, `find_chargers`, `get_stats`) over the shared core:
|
|
76
76
|
|
|
77
77
|
```bash
|
|
78
78
|
pip install "pitstop-cli[mcp]" # or: uv tool install "pitstop-cli[mcp]"
|
|
@@ -102,10 +102,10 @@ pytest -q
|
|
|
102
102
|
|
|
103
103
|
## Status & roadmap
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
v1.0.2 — stable public release: fuel-price core (registry+price join, filters, proximity, cheapest, `--min-price` floor, `--fresh-within-days` freshness, combined 15% + Tukey IQR outlier rule, ISTAT comune-coordinate validation, JSON) + **EV charging stations via OSM Overpass** (operator, plug types, max kW, fee, access — `pitstop chargers`) + **operator tariff-page URLs** attached to each EV result. Includes **multi-fuel query support**, **international municipality mapping** (EN/FR/DE), **macro price statistics** (`pitstop stats`), and **navigation/GeoJSON support**. MCP server, agent skill, tests, CI.
|
|
106
106
|
|
|
107
107
|
Planned, roughly in order:
|
|
108
|
-
- **EV
|
|
108
|
+
- per-station **EV tariff data** once Italy exposes a documented public API for PUN / AFIR data;
|
|
109
109
|
- additional countries behind a per-country source adapter (e.g. Germany Tankerkönig, France/Spain official feeds).
|
|
110
110
|
|
|
111
111
|
## Data sources & attributions
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pitstop-cli"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.2"
|
|
8
8
|
description = "JSON-first CLI + MCP server for Italian fuel-station prices and EV charging — MIMIT, OpenStreetMap, ISTAT."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -32,10 +32,10 @@ classifiers = [
|
|
|
32
32
|
]
|
|
33
33
|
|
|
34
34
|
[project.urls]
|
|
35
|
-
Homepage = "https://github.com/galjos/pitstop"
|
|
36
|
-
Repository = "https://github.com/galjos/pitstop"
|
|
37
|
-
Changelog = "https://github.com/galjos/pitstop/blob/main/CHANGELOG.md"
|
|
38
|
-
Issues = "https://github.com/galjos/pitstop/issues"
|
|
35
|
+
Homepage = "https://github.com/galjos/pitstop-cli"
|
|
36
|
+
Repository = "https://github.com/galjos/pitstop-cli"
|
|
37
|
+
Changelog = "https://github.com/galjos/pitstop-cli/blob/main/CHANGELOG.md"
|
|
38
|
+
Issues = "https://github.com/galjos/pitstop-cli/issues"
|
|
39
39
|
|
|
40
40
|
[project.optional-dependencies]
|
|
41
41
|
mcp = ["mcp>=1.0"]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: pitstop
|
|
3
3
|
description: Italian fuel-station prices (petrol, diesel, GPL, methane, HVO) and EV charging stations. Find cheapest by municipality / province / brand / coordinate, look up EV chargers near a place, get macro price stats. Backed by MIMIT Osservaprezzi Carburanti, OpenStreetMap (Overpass), and ISTAT comune coordinates. Use for "cheapest diesel near X in Italy", "fuel stations in <comune>", or "EV chargers near <comune>".
|
|
4
|
-
homepage: https://github.com/galjos/pitstop
|
|
4
|
+
homepage: https://github.com/galjos/pitstop-cli
|
|
5
5
|
metadata:
|
|
6
6
|
{
|
|
7
7
|
"openclaw":
|
|
@@ -54,7 +54,7 @@ def fetch_elements(
|
|
|
54
54
|
req = urllib.request.Request(
|
|
55
55
|
OVERPASS_URL,
|
|
56
56
|
data=query.encode("utf-8"),
|
|
57
|
-
headers={"User-Agent": "pitstop/0.7 (https://github.com/galjos/pitstop)"},
|
|
57
|
+
headers={"User-Agent": "pitstop/0.7 (https://github.com/galjos/pitstop-cli)"},
|
|
58
58
|
method="POST",
|
|
59
59
|
)
|
|
60
60
|
error = None
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.0.2"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.0.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|