Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A handler for urllib2 to enable multipart form uploading

Project Description
A handler for urllib2 to enable multipart/form-data for posting forms and uploading data.

Upload files in python:

import MultipartPostHandler, urllib2

opener = urllib2.build_opener(MultipartPostHandler.MultipartPostHandler)
params = { "username" : "bob", "password" : "riviera",
"file" : open("filename", "rb") }"", 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 History

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
MultipartPostHandler2-0.1.5-1.noarch.rpm (8.3 kB) Copy SHA256 Checksum SHA256 any RPM Sep 25, 2014
MultipartPostHandler2-0.1.5-1.src.rpm (7.3 kB) Copy SHA256 Checksum SHA256 any RPM Sep 25, 2014
MultipartPostHandler2-0.1.5-py2.7.egg (5.8 kB) Copy SHA256 Checksum SHA256 2.7 Egg Sep 25, 2014
MultipartPostHandler2-0.1.5.tar.gz (3.9 kB) Copy SHA256 Checksum SHA256 Source Sep 25, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting