Skip to main content

Websocket server to interactively play the Apologies game

Project description

Apologies Server

Apologies Server is a Websocket server interface used to interactively play a multi-player game using the Apologies library. The Apologies library implements a game similar to the Sorry board game.

It was written as a learning exercise and technology demonstration effort, and serves as a complete example of how to manage a modern (circa 2020) Python project, including style checks, code formatting, integration with IntelliJ, CI builds at GitHub, and integration with PyPI and Read the Docs.

See the documentation for notes about the public interface and the event model.

As of this writing, the published PyPI project does not include a script to run the server. The only way to run it is from the codebase, for local testing. See the developer documentation at GitHub for more information.

As a technology demonstration effort, the Apologies Server is fairly simplistic. It runs as a single stateful process that maintains game state in memory. It cannot be horizontally scaled, and there is no option for an external data store. There is also only limited support for authentication and authorization - any player can register any handle that is not currently being used. We do enforce resource limits (open connections, registered users, in-progress games) to limit the amount of damage abusive clients can do.

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

apologiesserver-0.1.12.tar.gz (37.0 kB view details)

Uploaded Source

Built Distribution

apologiesserver-0.1.12-py3-none-any.whl (45.0 kB view details)

Uploaded Python 3

File details

Details for the file apologiesserver-0.1.12.tar.gz.

File metadata

  • Download URL: apologiesserver-0.1.12.tar.gz
  • Upload date:
  • Size: 37.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.7.3 Linux/4.19.0-13-amd64

File hashes

Hashes for apologiesserver-0.1.12.tar.gz
Algorithm Hash digest
SHA256 461ab2897ea548de60ec4352d464d028e4901c2da69d9d5831cfd7f249270b89
MD5 9ac15f84b7321add30f8d3cbca40fd24
BLAKE2b-256 f589c7d4a441eaa6723a4461b42b0586b1cda24a5f66ee337bbc6e462478d629

See more details on using hashes here.

File details

Details for the file apologiesserver-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: apologiesserver-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 45.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.7.3 Linux/4.19.0-13-amd64

File hashes

Hashes for apologiesserver-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 975bc58fc15a53755bc6f758c52d46710ba57c83f58aec6fd3fb6a333e769a54
MD5 a028c025f73b8845916d6048ea39d737
BLAKE2b-256 9909c6564d846f964c0e0974f1ee369fcc54bc2efffe331892d9b637e16a298f

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