Repository navigation
I wish we could have more code snippets examples like the Counter() one #463
Answered
by
purarue
serranomorante
asked this question in
Q&A
|
Is there any wiki on which I could read more useful examples like this one? Thanks! import my.reddit.all
from collections import Counter
return Counter(s.subreddit for s in my.reddit.all.saved()).most_common(4) |
Answered by
purarue
Sep 14, 2025
Replies: 1 comment 1 reply
|
Heres some real usage examples of em (both @karlicoss and my modules) promnesia and orger have modules that use HPI as data sources: https://github.com/karlicoss/promnesia/tree/master/src/promnesia/sources https://github.com/karlicoss/orger/tree/master/src/orger/modules https://github.com/purarue/promnesia/tree/master/promnesia_pura/sources some of my scripts using sms messages: https://github.com/purarue/HPI-personal/blob/master/scripts/abook-populate https://github.com/purarue/HPI-personal/blob/master/scripts/sms-convos my media feed modules: https://github.com/purarue/my_feed/tree/master/src/my_feed/sources |
1 reply
Answer selected by
serranomorante
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Heres some real usage examples of em (both @karlicoss and my modules)
promnesia and orger have modules that use HPI as data sources:
https://github.com/karlicoss/promnesia/tree/master/src/promnesia/sources
https://github.com/karlicoss/orger/tree/master/src/orger/modules
https://github.com/purarue/promnesia/tree/master/promnesia_pura/sources
some of my scripts using sms messages:
https://github.com/purarue/HPI-personal/blob/master/scripts/abook-populate
https://github.com/purarue/HPI-personal/blob/master/scripts/sms-convos
my media feed modules:
https://github.com/purarue/my_feed/tree/master/src/my_feed/sources