Lightweight image library
Project description
Usage
file to ndarray
>>> from imageworker import file_to_array
>>> data = file_to_array("test.jpg")
url to ndarray
>>> from imageworker import url_to_array
>>> data = url_to_array("https://n.sinaimg.cn/spider2021326/106/w1024h682/20210326/5927-kmvwsvy1040641.jpg")
upload ndarray to qiniu cdn
>>> key = QINIU_KEY
>>> secret = QINIU_SECRET
>>> domain = HOST
>>> bucket = QINIU_BUCKET
>>> url = put_qiniu(data,key,secret,domain,bucket)
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
imageworker-0.1.10.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file imageworker-0.1.10.tar.gz.
File metadata
- Download URL: imageworker-0.1.10.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.5 Linux/5.8.0-43-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4280e93524cd3fced7fe2fcf5699f325948fc8c1a0ee9a7642416445f6d7275
|
|
| MD5 |
593e96b602dca91e150c6df1c7a001c2
|
|
| BLAKE2b-256 |
11a9426302d7c55cc92a3f691c7b5016185fb7c10cf2d8742bdc45d684325656
|
File details
Details for the file imageworker-0.1.10-py3-none-any.whl.
File metadata
- Download URL: imageworker-0.1.10-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.5 Linux/5.8.0-43-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08eaabb8e4d38b67e9f3bc4622f762c0170b9cfd4dc50941fe32621e9d9d8f20
|
|
| MD5 |
122d19ef4213508df484bc1cdde2bdc3
|
|
| BLAKE2b-256 |
d0bb05883240b69af7166198f62f955450be7b4c615db6b6a94313630bed9623
|