Skip to main content

Apologies Server

pypi license wheel python 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.

I originally developed this code in mid-2020 during COVID-enforced downtime, as part of an effort to write a UI to play the Apologies board game in a web browser. However, Javascript moves really fast, and by mid-2021, my UI implementation was already partially obsolete, and I abandoned work on it.

This code is still a reasonable example of how to build a Websocket server including a state machine to manage board game state. However, its main purpose was to support the process of building that web UI, so it's not designed or architected for production use. It doesn't really look like something I would write today, given the benefit of more experience with async design patterns in Python. But, it works.

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

Statement on free-threading: This code is single-threaded by design. Starting with Python 3.14, the matrix build CI workflow in GitHub Actions ensures that the test suite passes for both standard and free-threaded interpreters.

Metadata

Release files for apologiesserver 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for apologiesserver 0.2.3
File Size Uploaded
apologiesserver-0.2.3.tar.gz 90.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for apologiesserver 0.2.3
File Interpreter ABI Platform
apologiesserver-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 135.3 kB

Release files / apologiesserver-0.2.3.tar.gz

Download URL apologiesserver-0.2.3.tar.gz
Size 90.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a6f911bb76a2a06c13c6da6033a4a8fd4830daff19f947b312387d1e79b636dc
BLAKE2b-256 checksum
How to use checksums
732cca785e84b41d0e5958ad1c327d56882fb2160d081d0211486aeaa4486edb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / apologiesserver-0.2.3-py3-none-any.whl

Download URL apologiesserver-0.2.3-py3-none-any.whl
Size 44.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09f5a92308cbb018242f2f93325770668350be93c586e44347c2b645436f0dab
BLAKE2b-256 checksum
How to use checksums
285da5c344607f1dea9de37fc857e0be206bdd6e7a95f23426e5a7d43f15c818
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.21

2 release files

0.1.20

2 release files

0.1.19

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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