Usage:
A handler for urllib2 to enable multipart/form-data for posting forms and uploading data.
Inspirations:
Upload files in python:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146306
Example:
import MultipartPostHandler, urllib2
opener = urllib2.build_opener(MultipartPostHandler.MultipartPostHandler)
params = { "username" : "bob", "password" : "riviera",
"file" : open("filename", "rb") }
opener.open("http://wwww.bobsite.com/upload/", params)
Further Example:
The main function of this file is a sample which downloads a page and
then uploads it to the W3C validator.
A handler for urllib2 to enable multipart/form-data for posting forms and uploading data.
Inspirations:
Upload files in python:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146306
Example:
import MultipartPostHandler, urllib2
opener = urllib2.build_opener(MultipartPostHandler.MultipartPostHandler)
params = { "username" : "bob", "password" : "riviera",
"file" : open("filename", "rb") }
opener.open("http://wwww.bobsite.com/upload/", params)
Further Example:
The main function of this file is a sample which downloads a page and
then uploads it to the W3C validator.
Release files for MultipartPostHandler2 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| MultipartPostHandler2-0.1.5.tar.gz | 3.9 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| MultipartPostHandler2-0.1.5-py2.7.egg | Legacy Egg format | - | - | Details |
| MultipartPostHandler2-0.1.5-1.src.rpm | Details | |||
| MultipartPostHandler2-0.1.5-1.noarch.rpm | Details |
Total release size: 25.2 kB
Release files / MultipartPostHandler2-0.1.5.tar.gz
| Download URL | MultipartPostHandler2-0.1.5.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8cb2c10aa857c1dae70cacc9bcfe9fc38c5f4971c850becca6b3f52bbcca29b7
|
|
BLAKE2b-256 checksum How to use checksums |
5584353448af4966a9e900841a8546a08ff90f47398fa7c3bdaf615626ed4fd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / MultipartPostHandler2-0.1.5-py2.7.egg
| Download URL | MultipartPostHandler2-0.1.5-py2.7.egg |
|---|---|
| Size | 5.8 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
1370823c7acddbe8e95f93f92023906f92f34a2b1d8a5a7e51abdfb77eb39bda
|
|
BLAKE2b-256 checksum How to use checksums |
3719d959861fb26e548f411bb305296b61670b5d4c2eeba84ab1d6c409a9cf42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / MultipartPostHandler2-0.1.5-1.src.rpm
| Download URL | MultipartPostHandler2-0.1.5-1.src.rpm |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f22059837ec1c3e6d76658162c4b8e5cbd39af9006db5b0d28f4277d684b891
|
|
BLAKE2b-256 checksum How to use checksums |
2ff45f052786fb6c5b824db425dadde37d57045092fbfbc1831d44a0d3b03ef1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / MultipartPostHandler2-0.1.5-1.noarch.rpm
| Download URL | MultipartPostHandler2-0.1.5-1.noarch.rpm |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e8d255a07d9f51e3d8460eb0b3e708b5ee2c6b1acabece7bb9593f6ee38aeb8
|
|
BLAKE2b-256 checksum How to use checksums |
13b625323b2180216cc900416ca4f28b8990b8bb3a9894142a770af0e39558e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |