Installation¶
Warning
In the next major release (3.0.0) the requirements for the pdf creation will change. img2pdf
will not be used anymore and instead Wand and you will need to install ImageMagick too for it to work. Installation instructions will be updated accordingly.
Note
pyscandl
.Installing python (if not already on your system)¶
Windows¶
- Download python from their website
- Launch the installer
- don’t forget to add Python to the PATH
Linux¶
Install it from your package manager of choice
Mac¶
I don’t have a mac so i can’t tell you the best method but like for windows the python installer from their website should work, otherwise you can use brew
Installing imagemagick (if not already on your system)¶
Starting from version 3.0.0, the lib img2pdf
is replaced by wand
which uses imagemagick during the generation. You can install imagemagick:
- from your package manager of choice like
choco
,brew
,apt
oryay
- from their website
From PyPI (recommended)¶
This option is recommended for most users, you will have the most stable experience.
- install the python program:
pip install pyscandl
- enjoy
Updating¶
When a new release is made you can upgrade your installation using:
pip install pyscandl -U
Using setup.py¶
This option is recommended for development and people wanting to use the bleeding edge before the releases. Stability is not guaranteed.
- install the python program:
git clone https://github.com/Ara0n/pyscandl.git
cd pyscandl
python3 setup.py install
- enjoy
Requirements¶
The current python requirements are:
requests~=2.25.1
wand~=0.6.5
Pillow~=8.1.0
cfscrape~=2.1.1
beautifulsoup4~=4.9.3