User:Alexander Roidl/flask: Difference between revisions
No edit summary |
No edit summary |
||
Line 53: | Line 53: | ||
== Long To Do List (obviously) == | == Long To Do List (obviously) == | ||
<s> | *<s> much more properties for books</s> | ||
<s> | **<s> multiple authors?</s> | ||
<s> | **<s> description</s> | ||
<s> | **<s> date uploaded?</s> | ||
<s> | **<s> ISBN</s> | ||
** MD5 to link books (more stable than db ID) | ** MD5 to link books (more stable than db ID) | ||
<s> | **<s> Filetype (PDf, mobi, epub)</s> | ||
** Publisher | ** Publisher | ||
<s> | **<s> Tags</s> | ||
<s> | **<s> Categories? (also important for infrastructure)</s> | ||
<s> | *<s> Keep SQLite or python shelve? -> RQLITE</s> | ||
<s> | *<s> function to make stacks</s> | ||
<s> | *<s> delete books from DB?</s> | ||
<s> | *<s> Coverimage from PDF / ebooks</s> | ||
<s> | **<s> extract_cover.py <PDF file path> already done, but need to connect</s> | ||
* access to python scripts | * access to python scripts | ||
** like: python add_book.py <path to file> <name> <properties …> | ** like: python add_book.py <path to file> <name> <properties …> | ||
<s> | *<s> do we need users? (→ also conceptional question) -> NO USERS</s> | ||
<s> | *<s> Interface, Interface, Interface</s> | ||
<s> | **<s> search, links, categories, shelfs/stacks</s> | ||
<s> | *<s> API</s> | ||
<s> | **<s>make all that above accessible via RESTful API</s> | ||
<s> | **<s> add POST / PUT / DELETE (not sure how it works yet)</s> | ||
– | – | ||
* Make Files only accessible via local network, but catalog online | * Make Files only accessible via local network, but catalog online |
Revision as of 17:46, 9 June 2018
Development
TO DO
- Make distributed character visible (how much is this book part of xpub / varia .... )
- How much XPUB is this book |-x----------------------|
- How much is this book VARIA |------------------x-----|
- EX / IMPORT CSV
- PDF to Text
- Chat more interactive with search? with Tash?
Software
Flask
RQLite
SQLAlchemy
Further Development
First Prototype
first version of lib (super super prototype)
with first API setup:
http://37.139.6.124:8080/api/books
{ "books": [ { "author": "Jan Tschichold", "file": "The_Form_of_the_Book___Essays_on_the_Moral_-_Jan_Tschichold.pdf", "id": 1, "title": "The Form of the Book" } ] }
Code on the git:
https://git.xpub.nl/xpub-lib/log.html
Long To Do List (obviously)
much more properties for booksmultiple authors?descriptiondate uploaded?ISBN- MD5 to link books (more stable than db ID)
Filetype (PDf, mobi, epub)- Publisher
TagsCategories? (also important for infrastructure)
Keep SQLite or python shelve? -> RQLITEfunction to make stacksdelete books from DB?Coverimage from PDF / ebooksextract_cover.py <PDF file path> already done, but need to connect
- access to python scripts
- like: python add_book.py <path to file> <name> <properties …>
do we need users? (→ also conceptional question) -> NO USERSInterface, Interface, Interfacesearch, links, categories, shelfs/stacks
APImake all that above accessible via RESTful APIadd POST / PUT / DELETE (not sure how it works yet)
–
- Make Files only accessible via local network, but catalog online