A tool for working with HTTP APIs
Project description
A simple HTTP API tool.
The Tool
The tool is an HTML page with a background image. These resources are presented as package resources of the http_okapi package. The resource filenames are okapi.html and okapibg.png. The HTML page references okapibg.png by name, so the two files are meant to be served from the same path.
CherryPy Handler
This package also presents a server implementation for CherryPy. To use it, simply bind the http_okapi.cherrypy.Server somewhere in your handler tree:
class MyServer: okapi = http_okapi.cherrypy.Server()
Then, the okapi tool will be available at that path.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file http-okapi-1.0.0.tar.gz
.
File metadata
- Download URL: http-okapi-1.0.0.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf74920c32861f2c2937ffdd082422a91871c16cd3d066351f2b40a77c8ac98b |
|
MD5 | 4d4d32746a96db2c31228f1cf9f167f3 |
|
BLAKE2b-256 | abef4a9b4ef95ea30e0a596e3a32a52d85f40a202fa6dd6c81b4c0d4af97cf7c |
File details
Details for the file http_okapi-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: http_okapi-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85add28f6743be343bd43f4b00f7cbe13f3dedc6615efd64647333a16f482f97 |
|
MD5 | f2cd5480bf83e190cac0c0ecf79b87f0 |
|
BLAKE2b-256 | 9351a2446985f359ddb439148c20a7a90c7d76c0b123ba7cecd48f82861964ad |