my.reddit: refactor into module that supports pushshift/gdpr (#179)

* initial pushshift/rexport merge implementation, using id for merging
* smarter module deprecation warning using regex
* add `RedditBase` from promnesia
* `import_source` helper for gracefully handing mixin data sources
This commit is contained in:
Sean Breckenridge 2021-10-31 13:39:04 -07:00 committed by GitHub
parent b54ec0d7f1
commit 8422c6e420
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 374 additions and 58 deletions

View file

@ -35,9 +35,9 @@ You simply 'import' your data and get to work with familiar Python types and dat
- Here's a short example to give you an idea: "which subreddits I find the most interesting?"
#+begin_src python
import my.reddit
import my.reddit.all
from collections import Counter
return Counter(s.subreddit for s in my.reddit.saved()).most_common(4)
return Counter(s.subreddit for s in my.reddit.all.saved()).most_common(4)
#+end_src
| orgmode | 62 |