- a tiny cut from gp.fileupload-1.1, doing the actual job, with fixes and extensions.
as HTML form, or jquery with multiple progress-per-upload;
as single file and multiple file selections (HTML5)
ok with UTF8 or cp1251 encoded non-ascii filenames
ok with any file-sizes - doesn’t store anything in memory
uses os.path.getsize() to measure actual progress. hacks cgi.FieldStorage to handle tiny files (<1000 bytes)
- usage:
in sklad.wsgi, application(), change the head/tail for needed html (default is both form and jquery).
change FieldStorage.PATH to where files should be stored (relative)
the relevant client file is jquery.fileupload.js, to change progress-representation.
tweak .htaccess or in other way make sklad.wsgi accessible to apache (AddHandler wsgi-script .wsgi)
for logging, uncomment fdebug and may change tpath
hack it all as u like
- notes for python version 2.5 and below:
standard-lib cgi.py does not work - use the hacked/backported 25/cgi.py (put in same dir or fix imports in sklad.wsgi)
there’s no json module in standard-lib; install simple_json instead
have fun www.svilendobrev.com
Metadata
Release files for sklad 0.1
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 |
|---|---|---|---|---|
| sklad-0.1.tar.gz | 31.0 kB | Without provenance | Details for sklad-0.1.tar.gz |
Release files / sklad-0.1.tar.gz
| Download URL | sklad-0.1.tar.gz |
|---|---|
| Size | 31.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c20552eb0fc3b0c56ff4f85f09277c483843e5390df28fcc5d28ef9052e3794
|
|
BLAKE2b-256 checksum How to use checksums |
fc8670ec21242c926f73c60553a96aa9eb503f9af84f9545f02aa64392f6d1e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for sklad 0.1
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.