Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9e3288a5ff | |||
| 06465919dd |
@ -590,6 +590,12 @@ We should rename `email_scrobble_board_game` to reflect the fact that it's just
|
||||
a helper method to create board game scrobbles given a json blob. It's
|
||||
independent of the email flow it was originally creatdd for
|
||||
|
||||
* Version 54.1 [1/1]
|
||||
** DONE [#A] Concurrent listening trend is inefficient and should be disabled :trends:scrobbles:
|
||||
:PROPERTIES:
|
||||
:ID: 4aa3b719-6b22-cae9-85f0-fac67b4fc753
|
||||
:END:
|
||||
|
||||
* Version 54.0 [3/3]
|
||||
** DONE [#B] Add peak hour, weekly rhythm and activity dist trends :trends:scrobbles:
|
||||
:PROPERTIES:
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "vrobbler"
|
||||
version = "54.0"
|
||||
version = "54.1"
|
||||
description = ""
|
||||
authors = ["Colin Powell <colin@unbl.ink>"]
|
||||
|
||||
|
||||
@ -3,37 +3,34 @@ from trends.trends.activity import (
|
||||
compute_peak_hours,
|
||||
compute_weekly_rhythm,
|
||||
)
|
||||
from trends.trends.concurrent import compute_concurrent_listening, compute_concurrent_reading
|
||||
from trends.trends.concurrent import (
|
||||
compute_concurrent_listening,
|
||||
compute_concurrent_reading,
|
||||
)
|
||||
from trends.trends.reading import compute_reading_pace_vs_activity
|
||||
from trends.trends.trending import compute_trending_up
|
||||
|
||||
TREND_REGISTRY = {}
|
||||
|
||||
|
||||
def register(slug):
|
||||
def decorator(fn):
|
||||
TREND_REGISTRY[slug] = fn
|
||||
return fn
|
||||
|
||||
return decorator
|
||||
|
||||
|
||||
compute_activity_distribution = register("activity-distribution")(
|
||||
compute_activity_distribution
|
||||
)
|
||||
compute_concurrent_listening = register("concurrent-listening")(
|
||||
compute_concurrent_listening
|
||||
)
|
||||
compute_concurrent_reading = register("concurrent-reading")(
|
||||
compute_concurrent_reading
|
||||
)
|
||||
compute_peak_hours = register("peak-hours")(
|
||||
compute_peak_hours
|
||||
)
|
||||
# compute_concurrent_listening = register("concurrent-listening")(
|
||||
# compute_concurrent_listening
|
||||
# )
|
||||
compute_concurrent_reading = register("concurrent-reading")(compute_concurrent_reading)
|
||||
compute_peak_hours = register("peak-hours")(compute_peak_hours)
|
||||
compute_reading_pace_vs_activity = register("reading-pace-vs-activity")(
|
||||
compute_reading_pace_vs_activity
|
||||
)
|
||||
compute_trending_up = register("trending-up")(
|
||||
compute_trending_up
|
||||
)
|
||||
compute_weekly_rhythm = register("weekly-rhythm")(
|
||||
compute_weekly_rhythm
|
||||
)
|
||||
compute_trending_up = register("trending-up")(compute_trending_up)
|
||||
compute_weekly_rhythm = register("weekly-rhythm")(compute_weekly_rhythm)
|
||||
|
||||
Reference in New Issue
Block a user