this is all the books in my calibre library. this is a lending library! if you want to borrow a book, let me know!
 
 
Go to file
Dozens B. McCuzzins c3e42563c6 📚 2023-03-05 09:59:48 -07:00
Makefile add makefile 2021-04-17 11:02:34 -06:00
README.md 📚 2022-10-29 10:24:57 -06:00
books.csv 📚 2023-03-05 09:59:48 -07:00
books.rec 📚 2023-03-05 09:59:48 -07:00
feed.xml 📚 2023-03-05 09:59:48 -07:00
genfeed.py add xml feed 2021-04-17 11:01:19 -06:00
justfile 📚 2022-10-29 10:24:57 -06:00
requirements.txt Add an RSS feed 2021-04-17 18:48:15 +02:00

README.md

Books

This is a catalog of all the books in my calibre library!

If you see a title here you would like to borrow, let me know! I'd be happy to share :)

How To (For me)

  • go to calibre and "convert books" -> "create a catalog...."
  • save it to the dir
  • j all

How To (For you)

If you want to browse the collection, I would look at books.rec.

If you're going to really explore this dataset, I recommend using the awesome csvkit.

=> https://csvkit.readthedocs.io/en/latest/index.html

It will allow you to do stuff like:

  • see the headers: csvcut -n books.csv
  • and the see just the columns you want: csvcut -c 13,4 books.csv
  • look at some stats: csvcut -c languages,size,formats books.csv | csvstat
  • find the largest pdfs in the collection: csvcut -c title_sort,formats,size books.csv | csvgrep -c formats -m pdf | csvsort -c size -r | head
  • csvjson books.csv | jq | whatever
  • show the most recently added books: csvcut -c 13,1,3 books.csv | csvsort -c timestamp -r | head -n 20
  • You can also perform actual SQL queries on it, and convert the data between csv and sqlite database: https://csvkit.readthedocs.io/en/latest/tutorial/3_power_tools.html

RSS feed

An RSS feed has been kindly provided by the Rsszard of Syndication and is available at https://git.tilde.town/dozens/books/raw/branch/main/feed.xml

Generating the feed requires you to have Python 3.7 or later installed, as well as the xmltodict package: pip3 install xmltodict.

To generate the feed, run ./geenfeed.py <books.csv >lefeed.xml.

TODO

  • type definitions for Book