kobo: BREAKING changes. Use kobuddy module directly, rename export_dir to export_path.

Hopefully this makes a lot of sense in the first place, and not that many users, so deserves breaking.
This commit is contained in:
Dima Gerasimov 2020-06-04 22:43:10 +01:00
parent db852b3927
commit 821eb47c93
6 changed files with 51 additions and 9 deletions

View file

@ -27,6 +27,7 @@ If you have some issues with the setup, see [[file:SETUP.org::#troubleshooting][
- [[#myinstapaper][my.instapaper]]
- [[#mygithubgdpr][my.github.gdpr]]
- [[#mygithubghexport][my.github.ghexport]]
- [[#mykobo][my.kobo]]
:END:
* Intro
@ -80,6 +81,7 @@ modules = [
('instapaper' , 'my.instapaper' ),
('github' , 'my.github.gdpr' ),
('github' , 'my.github.ghexport' ),
('kobo' , 'my.kobo' ),
]
def indent(s, spaces=4):
@ -261,3 +263,15 @@ for cls, p in modules:
# if omitted, will use /tmp
cache_dir: Optional[PathIsh] = None
#+end_src
** [[file:../my/kobo.py][my.kobo]]
[[https://uk.kobobooks.com/products/kobo-aura-one][Kobo]] e-ink reader: annotations and reading stats
#+begin_src python
class kobo:
'''
Uses [[https://github.com/karlicoss/kobuddy#as-a-backup-tool][kobuddy]] outputs.
'''
# path[s]/glob to the exported databases
export_path: Paths
#+end_src