Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

PyHiAPI - Simple test API

Project Description
# pyhiapi
A very simple API endpoint, easily deployable for testing purposes

## Installation

sudo pip install pyhiapi

## Usage

usage: [-h] [-b BIND] [-p PORT] [-c CODE]

optional arguments:
-h, --help show this help message and exit
-b BIND, --bind-address BIND
-p PORT, --port PORT
-c CODE, --response_code CODE

hiapi defaults to `localhost:4000`, and responds with 200s.

## Testing

You can just curl the service, perhaps like this:

$ curl -i http://localhost:4000/

HTTP/1.0 200 OK
Content-Type: text/html; charset=utf-8
Content-Length: 4
Server: Werkzeug/0.9.6 Python/2.7.8
Date: Fri, 23 Jan 2015 03:38:14 GMT

Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyhiapi-0.1.4.tar.gz (1.6 kB) Copy SHA256 Checksum SHA256 Source Jan 10, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting