skip to navigation
skip to content

hancock 1.1.2

HTTP request signing library.Provides private key URL signing for secure HTTP requests.

hancock 1.1.1

HTTP request signing library.

Here’s a simple usage example:

import hancock

if __name__ == "__main__":
        url = "http://localhost:8000/service/"
        qs = { "color": "green" }

        url = hancock.sign(public_key, private_key, url, query)
        print(url)

        r = hancock.get(public_key, private_key, url, query)
        print(r.json())

get hancock

Install requests:

sudo easy_install hancock

Download the latest release from Python Package Index or clone the repository

More documentation is on it’s way (check the site for updates)

Provide any feedback and issues on the bug tracker, that should be coming soon.

 
File Type Py Version Uploaded on Size
hancock-1.1.2.tar.gz (md5) Source 2015-04-14 9KB