Commit graph

  • 6f1dbf407e Bump to version 0.0.9. master Ethan Dalool 2024-03-07 19:22:19 -0800
  • b6040548a0 Add git.voussoir.net mirror. Ethan Dalool 2023-09-11 21:18:48 -0700
  • 466bcf397b Add case for ncx in read_file with soup=True. Ethan Dalool 2023-07-09 13:58:33 -0700
  • 4cc89a10fc
    Update copyright year. Ethan Dalool 2022-08-13 13:09:00 -0700
  • 039610dec2
    Use new betterhelp. Ethan Dalool 2022-02-12 19:55:26 -0800
  • c23335733c
    Update uses of pathclass and a few command line argparsers. Ethan Dalool 2021-12-07 12:44:22 -0800
  • 6958f73cd9
    Remove donate.md. Ethan Dalool 2021-11-10 23:41:23 -0800
  • 06f2dae57e
    Bump to version 0.0.8. Ethan Dalool 2021-11-08 23:39:06 -0800
  • de7f387f48
    Update calls to pathclass.glob_files. Ethan Dalool 2021-11-07 19:33:14 -0800
  • 2162f1d982
    Use pathclass.glob. Ethan Dalool 2021-09-30 19:02:18 -0700
  • d36efec25f
    Use random.choices instead of random.choice in a loop. Ethan Dalool 2021-08-09 08:46:36 -0700
  • 9780368741
    Update CONTACT.md with link to voussoir.net. Ethan Dalool 2021-04-04 17:11:18 -0700
  • c45a7c9234 Update license, contact, donate for many projects. Ethan Dalool 2021-01-14 02:34:49 -0800
  • 561b863296 Add Mirrors header. Ethan Dalool 2020-12-23 19:56:01 -0800
  • ca87b9ff23 Add codeberg to mirror list. Ethan Dalool 2020-12-15 23:03:48 -0800
  • edf5277b7f Transition calls to getpermission to interactive. Ethan Dalool 2020-12-07 01:05:55 -0800
  • fbc828f6f4 Add github/gitlab link at bottom of readme. Ethan Dalool 2020-11-15 17:55:30 -0800
  • bb9c32cadb Add command 'new' to create empty book file. Ethan Dalool 2020-10-28 14:50:55 -0700
  • 636438ad61 Add --help to "see details on each command". Ethan Dalool 2020-10-12 22:07:24 -0700
  • 113d4fa863 Fix old args.epub -> epub. Ethan Dalool 2020-09-24 23:47:29 -0700
  • 281a4a5db4 Use pathclass.Path.makedirs. Ethan Dalool 2020-09-24 14:20:04 -0700
  • f845cc3065 Use pathclass.Path.open. Ethan Dalool 2020-09-20 18:26:45 -0700
  • 621ced7b22 Add setfont utility. Ethan Dalool 2020-08-27 16:28:39 -0700
  • 6826aa15b7 Replace calls to manifest.find with get_manifest_item. Ethan Dalool 2020-08-26 18:12:40 -0700
  • 37e1cd8ce2 Let easy_add_file return the created id. Ethan Dalool 2020-08-26 18:11:55 -0700
  • b561a3233f Fix delete_item calling get_filepath after extract from manifest. Ethan Dalool 2020-08-26 17:58:10 -0700
  • 8c888353e5 Use broader selectors for get_fonts media type filter. Ethan Dalool 2020-08-26 17:08:12 -0700
  • 8b7027a7a3 Bump to version 0.0.7. Ethan Dalool 2020-08-12 11:42:19 -0700
  • cedd3b19d8 Add skewer-case aliases for snake_case arguments. Ethan Dalool 2020-08-12 10:23:57 -0700
  • 2da8d90996 Add force_sep=/ to root_directory. Ethan Dalool 2020-06-18 09:03:18 -0700
  • 6e8446e7e4 Fix Lithium behavior by removing #anchor on first header. Ethan Dalool 2020-06-18 09:02:40 -0700
  • 256aeee5d5 Add epub.get_dates and add "(Year)" to the headerfile template. Ethan Dalool 2020-06-10 18:39:33 -0700
  • 4f44cd642f Use betterhelp easy mains to get parser off the global. Ethan Dalool 2020-03-10 22:41:09 -0700
  • 5bc269fd21 Bump to version 0.0.6. Ethan Dalool 2020-03-07 16:40:12 -0800
  • d928b950ac Add a few metadata methods, just proof-of-concept for now. Ethan Dalool 2020-03-07 16:37:39 -0800
  • a68a69ab99 Improve some docstrings and comments. Ethan Dalool 2020-03-07 16:36:32 -0800
  • 88fb94e84e Remove Epub.open, use Epub('path'); support read-only mode. Ethan Dalool 2020-03-07 16:18:53 -0800
  • 6c63444d27 Use voussoirkit.getpermission. Ethan Dalool 2020-03-07 13:52:29 -0800
  • a73dbba387 Use enumerate(start=1) instead of index += 1. Ethan Dalool 2020-03-07 13:50:39 -0800
  • b99eecf8c5 main should return args.func(args) value. Ethan Dalool 2020-02-08 16:19:58 -0800
  • f17b46d88e Add missing exec summary to main docstring. Ethan Dalool 2020-02-07 15:11:18 -0800
  • c56e0ec13e Fix toc from climbing too high when going from h2 to h4 to h2 etc. Ethan Dalool 2020-02-04 16:40:14 -0800
  • 92d595c00d Clarify this comment why the two .parent climbs are separate. Ethan Dalool 2020-02-04 00:18:25 -0800
  • 38f432fe6e Improve comments in generate_toc. Ethan Dalool 2020-02-03 23:12:36 -0800
  • 81fe7cd47b Use enumerate instead of manual counting, now that headers is exact. Ethan Dalool 2020-02-03 23:11:22 -0800
  • 3cfb8030a7 Create a regex pattern for exactly needed headers, no postfiltering. Ethan Dalool 2020-02-03 23:07:02 -0800
  • 3e254bddf1 Search for header elements directly instead of scanning descendants. Ethan Dalool 2020-02-03 22:40:48 -0800
  • edbd1e9996 Apply new pathclass.Extension with_dot. Ethan Dalool 2020-02-02 19:38:24 -0800
  • dfb3e9e6ed Split this line up for length reasons. Ethan Dalool 2020-02-02 19:36:57 -0800
  • dcfb2edf85 Add helptext for merge --demote_headers. Ethan Dalool 2020-02-02 19:36:16 -0800
  • 30ae76367f Simplify move_nav_to_end by calling spine.index. Ethan Dalool 2020-02-02 19:35:46 -0800
  • 7afb9fcb7a Use betterhelp to manage docstrings. Ethan Dalool 2020-01-30 23:41:42 -0800
  • 711493a9a8 Bump to version 0.0.5. Ethan Dalool 2020-01-20 17:57:58 -0800
  • f6ab58eb78 Add these ### headers above the helper functions. Ethan Dalool 2020-01-20 17:56:21 -0800
  • 9411e8cf80 Add function promote_xhtml_headers. Ethan Dalool 2020-01-20 17:55:49 -0800
  • 59776e5b4e Delete unused MIMETYPE_CONTENT, dupe of MIMETYPE_FILE_TEMPLATE. Ethan Dalool 2020-01-20 17:43:30 -0800
  • 1f1b36b173 Assign opf, opf_filepath normally instead of mutating in method. Ethan Dalool 2020-01-20 17:34:51 -0800
  • 6386f25cd4 Rearrange the lines in delete_file. Ethan Dalool 2020-01-20 17:33:58 -0800
  • fd73ecfe2e Add, improve some comments, docstrings, exception texts. Ethan Dalool 2020-01-20 17:32:47 -0800
  • 973731f797 Add argument demote_headers to merge. Ethan Dalool 2020-01-20 17:10:22 -0800
  • 324689ea3c Replace glob with winglob. Ethan Dalool 2020-01-20 17:06:27 -0800
  • ebde327cce Change email in setup.py. Ethan Dalool 2020-01-18 22:41:32 -0800
  • 73d88e12ce Move covercomesfirst's save line back to the argparse func. Ethan Dalool 2020-01-02 20:13:09 -0800
  • 96650c2886 During opf normalize, ensure ncx mimetype is correct. Ethan Dalool 2020-01-02 20:12:08 -0800
  • 046e8d9394 Bump to version 0.0.4. Ethan Dalool 2019-12-30 13:53:49 -0800
  • 636b936539 Add argument number_headerfile to get index in the h1. Ethan Dalool 2019-12-30 13:53:12 -0800
  • fa65157779 When merging, start indices at 1 instead of 0. Ethan Dalool 2019-12-30 13:52:08 -0800
  • 261faf66ae Treat addfile arguments as glob patterns. Ethan Dalool 2019-12-30 13:50:05 -0800
  • f29677d4e0 Add missing generate_toc to help text. Ethan Dalool 2019-12-30 13:48:37 -0800
  • 2e070b5fa9 Add step for normalizing the opf file specifically. Ethan Dalool 2019-12-30 13:48:06 -0800
  • 0075121607 Bump to version 0.0.3. Ethan Dalool 2019-09-10 15:25:27 -0700
  • 1da9d93ec6 Add command exec. Ethan Dalool 2019-09-08 21:25:35 -0700
  • 7cbdff827e Fix calculation of merge index, after globbing. Ethan Dalool 2019-09-08 21:25:10 -0700
  • 5416276b00 Fix relink behavior when subfolder exists with wrong casing. Ethan Dalool 2019-09-06 16:54:40 -0700
  • 70d3bdb2ae Add some docstrings to the interlinking functions. Ethan Dalool 2019-09-06 16:53:02 -0700
  • bddecab51f Recognize mimetype for xpgt. Ethan Dalool 2019-09-06 16:26:16 -0700
  • 6d4200eb7c Alphabetize the extension mimetypes and mime directories. Ethan Dalool 2019-09-06 16:25:57 -0700
  • fc07652d16 Add some prototypical validation code. Ethan Dalool 2019-09-06 15:44:28 -0700
  • 8763cf6c6c Let merge take glob patterns. Ethan Dalool 2019-09-06 15:39:26 -0700
  • 60d9d646a2 Add argument _original_epub_filepath for better messaging later. Ethan Dalool 2019-09-06 15:38:51 -0700
  • 9821125f2c Recognize directory for application/x-font-ttf. Ethan Dalool 2019-09-06 15:36:51 -0700
  • 9e020eaa11 Add method generate_toc and commandline command. Ethan Dalool 2019-08-29 16:44:57 -0700
  • 365c28bfdb Add more formatters into NCX_TEMPLATE, NAV_TEMPLATE. Ethan Dalool 2019-08-29 16:34:54 -0700
  • f93309a37c Let holdit take many books. Ethan Dalool 2019-08-29 13:46:34 -0700
  • 4d224e7d6a Rename argument only_linear to linear_only. Ethan Dalool 2019-08-29 13:45:33 -0700
  • faa0e9c7e3 Bail early if rename_map is empty. Ethan Dalool 2019-08-18 22:39:41 -0700
  • 34ce1bac56 Don't add unchanged paths to the rename_map. Ethan Dalool 2019-08-18 22:39:02 -0700
  • 87f1de1dc5 In move_nav_to_end, add nav to spine if not present. Ethan Dalool 2019-08-18 22:38:40 -0700
  • 0004b53032 Fix holdit command undoing manual opf changes. Ethan Dalool 2019-08-18 22:38:05 -0700
  • cf08ce3570 Let covercomesfirst and normalize take many books via glob. Ethan Dalool 2019-08-18 19:55:41 -0700
  • 7b4f4cdb1f Use font/ mimes instead of application/font- Ethan Dalool 2019-08-18 19:55:05 -0700
  • a9102cf877 Add the holdit command. Ethan Dalool 2019-08-18 19:53:54 -0700
  • d15977330b Add pip install to the readme. Ethan Dalool 2019-08-06 23:51:34 -0700
  • cac8712684 Bump version to 0.0.2. Ethan Dalool 2019-08-06 23:49:58 -0700
  • d77dcacc21 Initial commandline utilities. Ethan Dalool 2019-08-06 23:49:47 -0700
  • 89420ff5d7 Add some simple getters for authors, languages, and titles. Ethan Dalool 2019-08-06 23:39:39 -0700
  • 0364b87cf3 When normalizing, OEBPS exist_ok=True. Ethan Dalool 2019-08-06 23:38:56 -0700
  • 29eea3855c Add method assert_id_not_exists for pre-creation checks. Ethan Dalool 2019-08-06 23:37:14 -0700
  • 5ba482753c Add .htm to the mimetype fixer dict. Ethan Dalool 2019-08-06 23:36:13 -0700
  • 54ae615730 Set default book language to be undetermined (und). Ethan Dalool 2019-08-05 17:54:37 -0700