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!

HAPI wrapper and tools for the online game Hyperiums

Project Description

A Python interface for the Hyperiums API (HAPI).

Aims to provide:

  • A HAPI wrapper, allowing multiple connections (i.e. per user, per game),
  • Parsing tools for daily list exports,
  • Functions and formulae for some of the game’s mechanics.

MIT licensed.

Installation and quickstart

To install:

pip install hyppy

Using the HAPI:

from hyppy.hapi import HAPI

hapi = HAPI('Hyperiums6')

# Get a list of games

# Password authentication for list downloads
hapi.authenticate_basic('loginname', 'password')

# Download today's planet list for this game'planets', './planets.txt.gz')

# HAPI key authentication for everything else
hapi.authenticate_hapi('loginname', 'hapikey')

# Get all player's planets
print hapi.planet()
Release History

Release History

This version
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 (9.1 kB) Copy SHA256 Checksum SHA256 Source May 7, 2013

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