Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Kerberos over HTTP Negotiate/SPNEGO support for urllib2

Project description

# urllib_kerberos

## Usage

### Python 2

```
import urllib2
import urllib_kerberos

handlers.append(urllib_kerberos.HTTPKerberosAuthHandler())

opener = urllib2.build_opener(*handlers)
urllib2.install_opener(opener)
request = urllib2.Request(url, data)
```

### Python 3

```
import urllib.request
import urllib_kerberos

handlers.append(urllib_kerberos.HTTPKerberosAuthHandler())

opener = urllib.request.build_opener(*handlers)
urllib.request.install_opener(opener)
request = urllib.request.Request(url, data)
```

## Credits

Tim Olsen was the original author of `urllib2_kerberos`
[library](https://bitbucket.org/tolsen/urllib2_kerberos)
which is the bulk of the content of the `urllib_kerberos`
module.

Project details


Release history Release notifications

This version

0.2.0

Download files

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

Files for urllib_kerberos, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size urllib_kerberos-0.2.0.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page