Skip to main content

A tool for working with HTTP APIs

Project description

https://img.shields.io/pypi/v/http-okapi.svg https://img.shields.io/pypi/pyversions/http-okapi.svg https://img.shields.io/travis/jaraco/http-okapi/master.svg

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


Download files

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

Source Distribution

http-okapi-1.0.0.tar.gz (10.8 kB view hashes)

Uploaded Source

Built Distribution

http_okapi-1.0.0-py2.py3-none-any.whl (8.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page