Skip to main content

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
print hapi.games()

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

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

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

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

Download files

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

Source Distribution

hyppy-0.1.1.zip (9.1 kB view details)

Uploaded Source

File details

Details for the file hyppy-0.1.1.zip.

File metadata

  • Download URL: hyppy-0.1.1.zip
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hyppy-0.1.1.zip
Algorithm Hash digest
SHA256 729c1f4808b5e5d27a825e236de5547a4fe59c84e63cf554c62fa006d8df3cea
MD5 30ab2eebd59145a97fbdd894a2199224
BLAKE2b-256 074ec7fec2e555019dc44cb543c4475ef91d9c2c8f79efc0ab9c3e6b8e871b97

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 file

0.1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page