This release is a pre-release and may not be stable for production use.
Detailed Documentation
tw.uploadify documentation
- tw.uploadify is a tosca widget wrapper around jquery uploadify plugin
which can be found here :
the version released with this package is 2.1.4
using the widget
in the widget lib
from tw.forms import TableFieldSet
from tw.uploadify import Uploadify
class UploadFieldset(TableFieldSet):
label_text = "upload files"
fields = [
Uploadify('upload_file', label_text='upload File',
script='upload',
fileDataName='upload_file',
scriptData={'_method': 'PUT'},
removeCompleted=False,
),
]
upload_fieldset = UploadFieldset("upload_fieldset")
in the view controller
from widgetlib import upload_fieldset
...
class UploadController(BaseController):
@expose('project.templates.upload')
def index(self):
params = { 'child_args' : {
'upload_file': dict(script="foobarbaz"),
}
}
tmpl_context.file_form = upload_fieldset
return dict(params=params)
in the template
<div py:replace="tmpl_context.file_form(**params)">Files Form</div>
options
only some options are implemented now, please refer to the widgets.py source code
Change history
New in 0.1
0.1a4 partial events support
0.1a3 corrected example
0.1a2 nice test and debugging contrib from Diez Roggisch better example
0.1a1 CHANGES.txt wasn’t including, stopping easy_install
0.1a0 First Release
Metadata
Release files for tw.uploadify 0.1a4
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 |
|---|---|---|---|---|
| tw.uploadify-0.1a4.tar.gz | 40.7 kB | Without provenance | Details for tw.uploadify-0.1a4.tar.gz |
Release files / tw.uploadify-0.1a4.tar.gz
| Download URL | tw.uploadify-0.1a4.tar.gz |
|---|---|
| Size | 40.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c29eae5592028092a8792f23dd5e26d10ff7e3bf477b58fff5ff26e9028034db
|
|
BLAKE2b-256 checksum How to use checksums |
bd4d6d5781cf1c863ac90211eac2559b44df8d2def8a014f958198b48bf34161
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for tw.uploadify 0.1a4
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.