项目地址: 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
Metadata
Release files for pystools 0.0.92
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pystools-0.0.92.tar.gz | 88.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pystools-0.0.92-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 211.3 kB
Release files / pystools-0.0.92.tar.gz
| Download URL | pystools-0.0.92.tar.gz |
|---|---|
| Size | 88.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7c9cc6abdbd27c615da0b57bf0e6bdb3abe322eb4f729e2df072b1ae92ac1de
|
|
BLAKE2b-256 checksum How to use checksums |
bade4ce98695cc2ee3422dd0b62bc70f25e3b05c8e352a1b99ff314dacdfd687
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Release files / pystools-0.0.92-py3-none-any.whl
| Download URL | pystools-0.0.92-py3-none-any.whl |
|---|---|
| Size | 123.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
810779cbd346f76c73fa7fbd8596673d21ed374e3a8f63ee36a578d9611d71c6
|
|
BLAKE2b-256 checksum How to use checksums |
efcb8dcbbe1fe416bf85404e89281e054fbba3898adae50a7f4c3c766b7080d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|