pystools
Project description
项目地址: https://pypi.org/project/pystools/
安装
source venv/bin/activate
pip install -U pystools -i https://pypi.org/simple --trusted-host pypi.org
本项目图像处理使用的是Pillow-SIMD
# must remove existed pillow first.
$ pip uninstall pillow
# install SSE4 version
$ pip install pillow-simd
# install AVX2 version
$ CC="cc -mavx2" pip install -U --force-reinstall pillow-simd
安装,之前需要先安装扩展库(详见: https://pillow.readthedocs.io/en/latest/installation.html#external-libraries)
# mac:
brew install libjpeg libtiff little-cms2 openjpeg webp
# linux
# Debian or Ubuntu:
sudo apt-get install python3-dev python3-setuptools
# Fedora:
sudo dnf install python3-devel redhat-rpm-config
# Alpine:
sudo apk add python3-dev py3-setuptools
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pystools-0.0.59.tar.gz
(74.6 kB
view hashes)
Built Distribution
pystools-0.0.59-py3-none-any.whl
(109.2 kB
view hashes)
Close
Hashes for pystools-0.0.59-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04a1afce2a47ecb6bc233b4445b0a02ddc3220865e1f8c2e80b191e637432053 |
|
MD5 | c0baf09d3a6adccb9fd557ef0a364791 |
|
BLAKE2b-256 | a553876d44edc08400529a7fbf6ff9d75c735c2cd23a88e64c5a7b023d437b0d |