Skip to content

vbwagner/booksort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BOOKSORT

This is simple python3 script, which reads bunch of ebooks and stores them into directory hierarchy under current directory using first letter of author name as first level, author surname and given name as second level, series as third and book title as file name

Supported formats

Script supports fb2, epub pdf and djvu formats. External programs are needed to extract metainformation from pdf and djvu.

Author name handling

In the fb2 files author name is split into last-name, middle-name and first-name and each of them is supposed to be properly marked with appropriate tags. In other formats set of heuristics is used to find out whether author name is written first-name first or last-name first. It is, of course error-prone.

Heuristics are mainly russian-language specific.

stripspace

There is other script - stripspace, which fixes some common problems in the fb2 metainformation. May be I'll either integrate it into booksort or extend to more generic metainformation bulk editor.

About

Script to sort out electronic books

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published