This release is a pre-release and may not be stable for production use.
Author Robert Sudwarts
For uploading files via web interface.
Basic scope of the problem
Functionality for:
uploading large files using buffered chunks
scaling down large images
Package Components
upload.writefile() accepts a FieldStorage instance and writes in buffered chunks to the specified directory.
Image files can be written ‘as is’ or scaled to a specified size and [at the same time] as a thumbnail image of a specified size.
A Thumb class to check for existence of thumbnail/create/delete etc
Change Log
v.0.1.5 when scaling image to thumbnail image is given file extension .jpg
- v.0.1.4 added “Pillow>=2.0.0” as a dependency to setup.py.
This package is required instead of PIL
v.0.1.3 added conditional ‘scale’ to writefile() so that this package can be used for all types of files (not just images)
Metadata
Release files for cgiFileUpload 0.1.5dev
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 | |
|---|---|---|---|---|
| cgiFileUpload-0.1.5dev.tar.gz | 4.2 kB | Without provenance | Details |
Release files / cgiFileUpload-0.1.5dev.tar.gz
| Download URL | cgiFileUpload-0.1.5dev.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5cfce12b1defb059ed3153899f40f76a556c1b896161356a97d81490347bf09f
|
|
BLAKE2b-256 checksum How to use checksums |
9bc1583e36a867b6a9635f10da3c520f6c2cc14e3bd0d0e186fbec2b2bfe6f87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cgiFileUpload 0.1.5dev
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.