whatdidyoudo 0.1.7__py3-none-any.whl → 0.1.8__py3-none-any.whl

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.

Potentially problematic release.


This version of whatdidyoudo might be problematic. Click here for more details.

whatdidyoudo/app.py CHANGED
@@ -9,6 +9,7 @@ from flask_caching import Cache
9
9
  from flask_limiter import Limiter
10
10
  from flask_limiter.util import get_remote_address
11
11
 
12
+ __version__ = "0.1.8"
12
13
 
13
14
  app = Flask(__name__)
14
15
  cache = Cache(app, config={"CACHE_TYPE": "SimpleCache",
@@ -81,7 +82,7 @@ def whatdidyoudo(user: str | None = None, date: str | None = None) -> str:
81
82
  error = f"Can't determine changes for user {user} on {date}."
82
83
 
83
84
  return render_template('form.html', user=user, date=date, changes=changes,
84
- changesets=changesets, error=error)
85
+ changesets=changesets, error=error, version=__version__)
85
86
 
86
87
 
87
88
  def main():
@@ -46,7 +46,8 @@
46
46
  {% else %}
47
47
  <p>
48
48
  How much did you contribute to OpenStreetMap today? Or any other day?
49
-
49
+ </p>
50
+ <p>
50
51
  To answer this question, enter your OSM username and the date you want to check above and click "Show".
51
52
  </p>
52
53
  {% endif %}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: whatdidyoudo
3
- Version: 0.1.7
3
+ Version: 0.1.8
4
4
  Summary: A minimal Flask app that shows the amount of OpenStreetMap changes made by a user on a day.
5
5
  Project-URL: Homepage, https://github.com/rompe/whatdidyoudo
6
6
  Project-URL: Issues, https://github.com/rompe/whatdidyoudo/issues
@@ -0,0 +1,7 @@
1
+ whatdidyoudo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ whatdidyoudo/app.py,sha256=rdnkdKMjhic2fxvCbdtAdcoAZSj_ETllCSq0WubDHEw,3405
3
+ whatdidyoudo/static/style.css,sha256=hnmgBB_Gq4Q4s8ciZmi-zZYa7l-PnPF630Q5J6IL1kI,2130
4
+ whatdidyoudo/templates/form.html,sha256=bWSv-wA9IMmvBnoL1_xvs-iRE_BR-0HLqSMrI4MssNY,2409
5
+ whatdidyoudo-0.1.8.dist-info/METADATA,sha256=TkN7QsJCB9dRUIE8rITY7tV3y8b_-nT6aOe_milGvSU,2510
6
+ whatdidyoudo-0.1.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
7
+ whatdidyoudo-0.1.8.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- whatdidyoudo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- whatdidyoudo/app.py,sha256=VVJiOLfYzkp4o46PUlezyAPvp4gXCrx38CiTkuO2mJI,3361
3
- whatdidyoudo/static/style.css,sha256=hnmgBB_Gq4Q4s8ciZmi-zZYa7l-PnPF630Q5J6IL1kI,2130
4
- whatdidyoudo/templates/form.html,sha256=-p6OerNSG72D1Ev36ZJXMzU7seuOGasi-IXkMJDnCVY,2384
5
- whatdidyoudo-0.1.7.dist-info/METADATA,sha256=OIK6WPuQ7jzNUZtS4wO3B5MO9zdZouwnSwzWdaOMNKc,2510
6
- whatdidyoudo-0.1.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
7
- whatdidyoudo-0.1.7.dist-info/RECORD,,