From 905d13774a63dee7e9d329a818395b5e6e1803bf Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Mon, 16 Nov 2026 22:47:27 +0100 Subject: [PATCH] rtdb_relay 0.1.1: ship py.typed Co-Authored-By: Claude Opus 5.5 --- rtdb_relay/README.md | 2 +- rtdb_relay/pyproject.toml | 7 ++++++- rtdb_relay/rtdb_relay/py.typed | 0 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 rtdb_relay/rtdb_relay/py.typed diff --git a/rtdb_relay/README.md b/rtdb_relay/README.md index 6d92d3d..2edc422 100644 --- a/rtdb_relay/README.md +++ b/rtdb_relay/README.md @@ -13,7 +13,7 @@ check that the package seals and opens exactly those bytes. Python 3.14+ (tested on 3.15.2). Install from a release tag: ```toml -"rtdb-relay @ git+https://github.com/kuhyx/utils@rtdb-relay-v0.1.0#subdirectory=rtdb_relay" +"rtdb-relay @ git+https://github.com/kuhyx/utils@rtdb-relay-v0.1.1#subdirectory=rtdb_relay" ``` ## Wire format (under the app's root, e.g. `todoimpl/v1-e2e`) diff --git a/rtdb_relay/pyproject.toml b/rtdb_relay/pyproject.toml index 396e66d..f7dc90a 100644 --- a/rtdb_relay/pyproject.toml +++ b/rtdb_relay/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "rtdb-relay" -version = "0.1.0" +version = "0.1.1" description = "Sealed request relay over Firebase RTDB: PC worker (Python) + Flutter client (Dart)" requires-python = ">=3.14" dependencies = [ @@ -12,6 +12,11 @@ dependencies = [ [tool.setuptools] packages = ["rtdb_relay", "rtdb_relay.tests"] +# py.typed: consumers type-check against the package (PEP 561). +[tool.setuptools.package-data] +rtdb_relay = ["py.typed"] +"rtdb_relay.tests" = ["data/*.json"] + [tool.ruff] target-version = "py314" include = ["*.py", "**/*.py"] diff --git a/rtdb_relay/rtdb_relay/py.typed b/rtdb_relay/rtdb_relay/py.typed new file mode 100644 index 0000000..e69de29