imageproxy is a small standalone WSGI application that dynamically resizes images.
It supports virtual hosting, so you can use the same instance to serve assets for different domains.
Example config file:
[site:example.net] root=/srv/example.net/web/media/images prefix=/assets/media/images [site:example.com] root=/srv/example.com/web/media/images prefix=/assets/media/images
By default only JPEG files can be resized, but if you’d like to make GIFs and PNGs resizable, add the following:
[type:image/gif] resize=true [type:image/png] resize=true
You can specify the configuration file location by giving its path in the IMAGEPROXY_SETTINGS environment variable.
If you want to use this with Paste, it comes with a sample config file. Naturally, you’ll need Paste, PasteDeploy, and PasteScript to run it. However, Paste isn’t required and the imageproxy.create_application callable can be used with any WSGI server.
Metadata
Release files for imageproxy 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| imageproxy-0.2.0.tar.gz | 9.7 kB | Without provenance | Details for imageproxy-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| imageproxy-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for imageproxy-0.2.0-py3-none-any.whl |
Total release size: 19.8 kB
Release files / imageproxy-0.2.0.tar.gz
| Download URL | imageproxy-0.2.0.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd56114e1d7e477ec0884e7ad20853cd3d32a9f4c121db256a4e82cf66a25a30
|
|
BLAKE2b-256 checksum How to use checksums |
ec1dbda13441e9165139ccd2a1ef595a26bdd3f7b9ece0ea8b6ed36abf01278a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / imageproxy-0.2.0-py3-none-any.whl
| Download URL | imageproxy-0.2.0-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8d43918f365eb08779501f836276b69113f6d4de42b7ced38ace52107676542
|
|
BLAKE2b-256 checksum How to use checksums |
6d4bf01b24a704ad5cb2d2dc21f719ba05bd499336ae202a4c764f749fbe3494
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for imageproxy 0.2.0
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.