Skip to main content

Websocket server to interactively play the Apologies game

Project description

Apologies Server

pypi license wheel python Test Suite docs coverage

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.22.tar.gz (87.3 kB view details)

Uploaded Source

Built Distribution

apologiesserver-0.1.22-py3-none-any.whl (41.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: apologiesserver-0.1.22.tar.gz
  • Upload date:
  • Size: 87.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.1 Windows/10

File hashes

Hashes for apologiesserver-0.1.22.tar.gz
Algorithm Hash digest
SHA256 492f80bdd33577a4d739b6c19b923f215a2046c0a196a9875d203c8114adb902
MD5 9079d7698c1280425fff729a8c1e4b15
BLAKE2b-256 5bcd3a5bdfb2f5054956f0a84e936acc2a6a3010df58c343417cd71977f41761

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for apologiesserver-0.1.22-py3-none-any.whl
Algorithm Hash digest
SHA256 dd6701508a7f38671a57260078bdc35cd9765b2dcbba7b8a176972935f6b9234
MD5 a5831e789c9ad7075b3e32283163bfd0
BLAKE2b-256 01daf39a1e3eef7de29ee7d730c06a6a0a2568a521823449d45171abc553bc3c

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