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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: apologiesserver-0.1.10.tar.gz
  • Upload date:
  • Size: 37.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.3 CPython/3.9.0 Darwin/19.6.0

File hashes

Hashes for apologiesserver-0.1.10.tar.gz
Algorithm Hash digest
SHA256 c0fa091d370ba9ea772d7d67478c9475126361bea2763207fd8aae43901b9378
MD5 b24645f1c9d344c4befc258fff75e2b4
BLAKE2b-256 9b56638c4d85f896614f1e69d9c1fec11779ca1d69ade55d39f6aa803dc0349d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for apologiesserver-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 d81a2bbc8500c60ea2ef22cc501f3469b3a99084b380b6790e9e0c0b27bd5d35
MD5 4351b25aee79bb06d5a90fe7a538f4e0
BLAKE2b-256 f0727a239164f3038d30c07275e2186798397ebe3921192f2e0ccb2e4e3a153a

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