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)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa904bbdc26895ead3103b878984273051b1d4a6c702c640379b991914de323e
|
|
| MD5 |
41e4b4dd9fc91ca6df38ff59d4abfd31
|
|
| BLAKE2b-256 |
23fa8fe0b65ab7bab00f1bb4e54c1ac86e5a476ff685a3b5af3a3797e912587a
|