Skip to main content

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) 

Metadata

Release files for imageworker 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imageworker 0.1.12
File Size Uploaded Provenance Actions
imageworker-0.1.12.tar.gz 2.3 kB Without provenance Details for imageworker-0.1.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for imageworker 0.1.12
File Interpreter ABI Platform Actions
imageworker-0.1.12-py3-none-any.whl Python 3 none any Details for imageworker-0.1.12-py3-none-any.whl

Total release size: 4.8 kB

Release files / imageworker-0.1.12.tar.gz

Download URL imageworker-0.1.12.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
aa6030d2c8052cb74390a448627ad643e898d833ec5cd71ab4ca20bbd14c370c
BLAKE2b-256 checksum
How to use checksums
51789e32c3f9b469f915ec66bb9662c0668a07a11df04bdc7eb63e6ef71abeab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.5 Linux/5.8.0-43-generic

Release files / imageworker-0.1.12-py3-none-any.whl

Download URL imageworker-0.1.12-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fec41f7b39a95818bc7c591d308909a8994d2666a07caedf6656e77e8abae5ee
BLAKE2b-256 checksum
How to use checksums
534d358658f9ff95d3925ec9cced75e191a4454909e8635cb795b282dcd1626f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.5 Linux/5.8.0-43-generic

Security for imageworker 0.1.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page