Commit graph

65 commits

Author SHA1 Message Date
Ethan Dalool
87f1de1dc5 In move_nav_to_end, add nav to spine if not present. 2019-08-18 22:38:40 -07:00
Ethan Dalool
0004b53032 Fix holdit command undoing manual opf changes. 2019-08-18 22:38:05 -07:00
Ethan Dalool
cf08ce3570 Let covercomesfirst and normalize take many books via glob. 2019-08-18 19:55:41 -07:00
Ethan Dalool
7b4f4cdb1f Use font/ mimes instead of application/font- 2019-08-18 19:55:05 -07:00
Ethan Dalool
a9102cf877 Add the holdit command. 2019-08-18 19:53:54 -07:00
Ethan Dalool
d15977330b Add pip install to the readme. 2019-08-06 23:51:34 -07:00
Ethan Dalool
cac8712684 Bump version to 0.0.2. 2019-08-06 23:49:58 -07:00
Ethan Dalool
d77dcacc21 Initial commandline utilities. 2019-08-06 23:49:47 -07:00
Ethan Dalool
89420ff5d7 Add some simple getters for authors, languages, and titles. 2019-08-06 23:39:39 -07:00
Ethan Dalool
0364b87cf3 When normalizing, OEBPS exist_ok=True.
I hadn't considered that the content.opf would be in the root when
there is an OEBPS dir present. There's a whole weird world out there.
2019-08-06 23:38:56 -07:00
Ethan Dalool
29eea3855c Add method assert_id_not_exists for pre-creation checks.
At the moment it's only used once but it looks nice to have it
paired with the other assert also used in the add_file method.
2019-08-06 23:37:14 -07:00
Ethan Dalool
5ba482753c Add .htm to the mimetype fixer dict. 2019-08-06 23:36:13 -07:00
Ethan Dalool
54ae615730 Set default book language to be undetermined (und).
Per rfc5646, omitting is preferred where permitted, but in Epub
that's not permitted!
2019-08-05 17:54:37 -07:00
Ethan Dalool
f191b86573 Add setup.py. 2019-08-04 00:13:27 -07:00
Ethan Dalool
58c3de6c5d Initial commit. 2019-08-03 22:13:27 -07:00