Skip to main content

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.

Download files

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

Source Distribution

hancock-1.1.2.tar.gz (9.6 kB view details)

Uploaded Source

File details

Details for the file hancock-1.1.2.tar.gz.

File metadata

  • Download URL: hancock-1.1.2.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hancock-1.1.2.tar.gz
Algorithm Hash digest
SHA256 aa904bbdc26895ead3103b878984273051b1d4a6c702c640379b991914de323e
MD5 41e4b4dd9fc91ca6df38ff59d4abfd31
BLAKE2b-256 23fa8fe0b65ab7bab00f1bb4e54c1ac86e5a476ff685a3b5af3a3797e912587a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.2 This release

1 file

1.1.1

1 file

1.1.0

1 file

1.0.0

3 files

0.1.0

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page