You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
ZALAN SZAKACS 249d9454f3 ImageMagickHackforMAC 7 years ago
app resolved conflicts 7 years ago
.gitignore cleanup 7 years ago
README.md ImageMagickHackforMAC 7 years ago
init.py prototype 0.0.1 7 years ago
init_db.sh prototype 0.0.1 7 years ago
requirements.txt prototype 0.0.1 7 years ago
run.py prototype 0.0.1 7 years ago

README.md

XPUB Library

Library running on Flask and SQLight (maybe to be replaced with a python shelve)

requirements.txt $ pip3 install -r requirements.txt

initialise database $ bash init_db.sh

run script python3 run.py

API

has currently 2 entrypoints:

/api/books GETs all the books in the database

/api/book/id GETs a specific book by its id

Installation

For those on mac and using homebrew, it seems like Wand doesn't support imagemagick 7 yet as mentioned in other answers. There's a new brew formula for Imagemagick 6 which can be used to install the older version in the meanwhile: brew install imagemagick@6 Create a symlink to this newly installed dylib file as mentioned in other answer to get things working. ln -s /usr/local/Cellar/imagemagick@6/<your specific 6 version>/lib/libMagickWand-6.Q16.dylib /usr/local/lib/libMagickWand.dylib