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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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

Hashes for http-okapi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bf74920c32861f2c2937ffdd082422a91871c16cd3d066351f2b40a77c8ac98b
MD5 4d4d32746a96db2c31228f1cf9f167f3
BLAKE2b-256 abef4a9b4ef95ea30e0a596e3a32a52d85f40a202fa6dd6c81b4c0d4af97cf7c

See more details on using hashes here.

File details

Details for the file http_okapi-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for http_okapi-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 85add28f6743be343bd43f4b00f7cbe13f3dedc6615efd64647333a16f482f97
MD5 f2cd5480bf83e190cac0c0ecf79b87f0
BLAKE2b-256 9351a2446985f359ddb439148c20a7a90c7d76c0b123ba7cecd48f82861964ad

See more details on using hashes here.

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