Skip to content

AStrayByte/booknav

Repository files navigation

booknav

Hopefully to be able to convert between epubcfi and kobo locations so that I can sync read locations with an ereader app

Packages

This project hopes to be entirely written in standard python with no extra packages required

Tests

Test Status

To run tests:

uv run pytest

I have included 3 different books to test on:

Book Details
Alice in Wonderland This was copied from the gutenberg project and is safe to copy and distribute.
Frankenstein This was copied from the gutenberg project and is safe to copy and distribute.
Test This is a fake epub i used to simulate the example shown in the offical documentation

Kepubs

There are 2 copies of Alice in Wonderland and Frankenstein. A 2nd copy of each was made using Kepubify to test on Kepubs as well as epubs.

Todo:

  • Add Todo List 📋
  • Change out Exceptions for proper Exceptions like FileNotFoundError
  • Make this a python package
  • Make github action to auto upload pypi
  • Reorganize Code to multiple files
  • Make tests for individual functions rather than end to end.

About

Convert Between EpubCFI and Kobo Locations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages