simple-module-remote 0.0.50__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. simple_module_remote/__init__.py +12 -0
  2. simple_module_remote/commands/__init__.py +1 -0
  3. simple_module_remote/commands/api_cmd.py +157 -0
  4. simple_module_remote/commands/auth_cmd.py +166 -0
  5. simple_module_remote/commands/doctor_cmd.py +157 -0
  6. simple_module_remote/commands/env_cmd.py +198 -0
  7. simple_module_remote/commands/generated.py +50 -0
  8. simple_module_remote/commands/root.py +186 -0
  9. simple_module_remote/commands/runtime.py +263 -0
  10. simple_module_remote/commands/schema_cmd.py +155 -0
  11. simple_module_remote/commands/schema_fetch.py +129 -0
  12. simple_module_remote/commands/schema_source.py +181 -0
  13. simple_module_remote/config/__init__.py +1 -0
  14. simple_module_remote/config/_file_store.py +182 -0
  15. simple_module_remote/config/_private_dir.py +191 -0
  16. simple_module_remote/config/credentials.py +296 -0
  17. simple_module_remote/config/environments.py +186 -0
  18. simple_module_remote/config/paths.py +32 -0
  19. simple_module_remote/config/resolve.py +96 -0
  20. simple_module_remote/curated/__init__.py +1 -0
  21. simple_module_remote/generate/__init__.py +1 -0
  22. simple_module_remote/generate/body.py +198 -0
  23. simple_module_remote/generate/confirm.py +38 -0
  24. simple_module_remote/generate/context.py +38 -0
  25. simple_module_remote/generate/emit.py +278 -0
  26. simple_module_remote/generate/execute.py +220 -0
  27. simple_module_remote/generate/naming.py +69 -0
  28. simple_module_remote/generate/operations.py +181 -0
  29. simple_module_remote/generate/pagination.py +80 -0
  30. simple_module_remote/generate/pairs.py +22 -0
  31. simple_module_remote/generate/params.py +210 -0
  32. simple_module_remote/generate/prepare.py +134 -0
  33. simple_module_remote/generate/tree.py +59 -0
  34. simple_module_remote/generate/trust.py +42 -0
  35. simple_module_remote/generate/validate.py +136 -0
  36. simple_module_remote/http/__init__.py +1 -0
  37. simple_module_remote/http/client.py +292 -0
  38. simple_module_remote/http/errors.py +59 -0
  39. simple_module_remote/http/safety.py +124 -0
  40. simple_module_remote/output/__init__.py +1 -0
  41. simple_module_remote/output/reasons.py +17 -0
  42. simple_module_remote/output/render.py +149 -0
  43. simple_module_remote/output/sanitize.py +32 -0
  44. simple_module_remote/py.typed +0 -0
  45. simple_module_remote/schema/__init__.py +1 -0
  46. simple_module_remote/schema/cache.py +187 -0
  47. simple_module_remote/schema/loader.py +56 -0
  48. simple_module_remote-0.0.50.dist-info/METADATA +73 -0
  49. simple_module_remote-0.0.50.dist-info/RECORD +51 -0
  50. simple_module_remote-0.0.50.dist-info/WHEEL +4 -0
  51. simple_module_remote-0.0.50.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,187 @@
1
+ """The live schema cache: ``<cache>/<env>/openapi.json`` plus ``meta.json``.
2
+
3
+ Both files are owner-only (0600) in owner-only directories (0700) opened by
4
+ descriptor (``config/_private_dir.py``); reads are size-bounded. ``meta.json``
5
+ binds the schema to the base URL it was fetched from and to its SHA-256, so a URL
6
+ change or a torn write invalidates the cache. Neither file ever holds a credential.
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ import hashlib
12
+ import json
13
+ from dataclasses import dataclass, replace
14
+ from datetime import UTC, datetime
15
+ from pathlib import Path
16
+
17
+ from simple_module_remote.config._private_dir import PrivateDir, PrivateDirError
18
+ from simple_module_remote.config.paths import cache_dir
19
+
20
+ __all__ = [
21
+ "LOCK_FILENAME",
22
+ "MAX_SCHEMA_BYTES",
23
+ "CacheMeta",
24
+ "CachedSchema",
25
+ "SchemaCacheError",
26
+ "load_cached",
27
+ "load_from",
28
+ "open_cache",
29
+ "parse_schema",
30
+ "schema_digest",
31
+ "touch_in",
32
+ "write_to",
33
+ ]
34
+
35
+ SCHEMA_FILENAME = "openapi.json"
36
+ META_FILENAME = "meta.json"
37
+ LOCK_FILENAME = "sync.lock"
38
+ MAX_SCHEMA_BYTES = 32 * 1024 * 1024
39
+ MAX_META_BYTES = 64 * 1024
40
+ _META_TEXT_FIELDS = ("url", "origin", "fingerprint", "fetched_at")
41
+
42
+
43
+ class SchemaCacheError(Exception):
44
+ """An unusable cache entry; the message says why and is safe to show."""
45
+
46
+
47
+ @dataclass(frozen=True)
48
+ class CacheMeta:
49
+ url: str # the environment's normalised base URL, path included
50
+ origin: str
51
+ fingerprint: str # full SHA-256 hex digest of openapi.json
52
+ etag: str | None
53
+ fetched_at: str # ISO 8601, UTC
54
+
55
+ def age_seconds(self, now: datetime | None = None) -> float | None:
56
+ try:
57
+ when = datetime.fromisoformat(self.fetched_at)
58
+ except ValueError:
59
+ return None
60
+ if when.tzinfo is None:
61
+ when = when.replace(tzinfo=UTC)
62
+ return max(0.0, ((now or datetime.now(UTC)) - when).total_seconds())
63
+
64
+
65
+ @dataclass(frozen=True)
66
+ class CachedSchema:
67
+ path: Path
68
+ root: dict
69
+ meta: CacheMeta
70
+
71
+
72
+ def schema_digest(data: bytes) -> str:
73
+ return hashlib.sha256(data).hexdigest()
74
+
75
+
76
+ def parse_schema(data: bytes) -> dict:
77
+ """An OpenAPI document: a JSON object with ``openapi`` text and a ``paths`` object."""
78
+ try:
79
+ root = json.loads(data.decode("utf-8"))
80
+ except (ValueError, UnicodeDecodeError, RecursionError):
81
+ raise SchemaCacheError("the schema is not valid JSON") from None
82
+ if not (
83
+ isinstance(root, dict)
84
+ and isinstance(root.get("openapi"), str)
85
+ and isinstance(root.get("paths"), dict)
86
+ ):
87
+ raise SchemaCacheError("the schema is not an OpenAPI document")
88
+ return root
89
+
90
+
91
+ def _now() -> str:
92
+ return datetime.now(UTC).isoformat(timespec="seconds")
93
+
94
+
95
+ def open_cache(cli: str, env: str, *, create: bool) -> PrivateDir:
96
+ """The env's cache directory, opened by descriptor (``fd`` is None when absent)."""
97
+ try:
98
+ return PrivateDir(cache_dir(cli), env, create=create)
99
+ except PrivateDirError as exc:
100
+ raise SchemaCacheError(str(exc)) from None
101
+
102
+
103
+ def _read(store: PrivateDir, name: str, limit: int) -> bytes | None:
104
+ try:
105
+ return store.read(name, limit)
106
+ except PrivateDirError as exc:
107
+ raise SchemaCacheError(str(exc)) from None
108
+
109
+
110
+ def read_meta(store: PrivateDir) -> CacheMeta | None:
111
+ raw = _read(store, META_FILENAME, MAX_META_BYTES)
112
+ if raw is None:
113
+ return None
114
+ try:
115
+ data = json.loads(raw.decode("utf-8"))
116
+ except (ValueError, UnicodeDecodeError, RecursionError):
117
+ data = None
118
+ etag = data.get("etag") if isinstance(data, dict) else None
119
+ if not (
120
+ isinstance(data, dict)
121
+ and all(isinstance(data.get(key), str) for key in _META_TEXT_FIELDS)
122
+ and (etag is None or isinstance(etag, str))
123
+ ):
124
+ raise SchemaCacheError("the cached schema metadata is corrupt")
125
+ return CacheMeta(data["url"], data["origin"], data["fingerprint"], etag, data["fetched_at"])
126
+
127
+
128
+ def load_from(store: PrivateDir, env: str, url: str, origin: str) -> CachedSchema | None:
129
+ """The cached schema for ``env``; ``None`` when there is none.
130
+
131
+ Raises :class:`SchemaCacheError` when the entry exists but cannot be used: fetched
132
+ for another URL, altered or torn since, too large, or unsafe to read.
133
+ """
134
+ meta = read_meta(store)
135
+ if meta is None:
136
+ return None
137
+ if meta.url != url or meta.origin != origin:
138
+ raise SchemaCacheError(
139
+ f"the cached schema for {env!r} came from {meta.url}, "
140
+ f"but the environment now points at {url}"
141
+ )
142
+ raw = _read(store, SCHEMA_FILENAME, MAX_SCHEMA_BYTES)
143
+ if raw is None or schema_digest(raw) != meta.fingerprint:
144
+ raise SchemaCacheError(f"the cached schema for {env!r} is incomplete or was altered")
145
+ return CachedSchema(store.path / SCHEMA_FILENAME, parse_schema(raw), meta)
146
+
147
+
148
+ def load_cached(cli: str, env: str, url: str, origin: str) -> CachedSchema | None:
149
+ with open_cache(cli, env, create=False) as store:
150
+ return load_from(store, env, url, origin)
151
+
152
+
153
+ def _write_meta(store: PrivateDir, meta: CacheMeta) -> None:
154
+ body = json.dumps(
155
+ {
156
+ "url": meta.url,
157
+ "origin": meta.origin,
158
+ "fingerprint": meta.fingerprint,
159
+ "etag": meta.etag,
160
+ "fetched_at": meta.fetched_at,
161
+ },
162
+ indent=2,
163
+ )
164
+ try:
165
+ store.write(META_FILENAME, body.encode("utf-8"))
166
+ except PrivateDirError as exc:
167
+ raise SchemaCacheError(str(exc)) from None
168
+
169
+
170
+ def write_to(store: PrivateDir, url: str, origin: str, data: bytes, etag: str | None) -> CacheMeta:
171
+ """Store a fetched schema (validated first) and its metadata; returns the metadata."""
172
+ parse_schema(data)
173
+ meta = CacheMeta(url, origin, schema_digest(data), etag, _now())
174
+ try:
175
+ # Schema first: until meta.json names its digest, a reader rejects the pair.
176
+ store.write(SCHEMA_FILENAME, data)
177
+ except PrivateDirError as exc:
178
+ raise SchemaCacheError(str(exc)) from None
179
+ _write_meta(store, meta)
180
+ return meta
181
+
182
+
183
+ def touch_in(store: PrivateDir, meta: CacheMeta) -> CacheMeta:
184
+ """Record a revalidation (HTTP 304): same schema, new ``fetched_at``."""
185
+ fresh = replace(meta, fetched_at=_now())
186
+ _write_meta(store, fresh)
187
+ return fresh
@@ -0,0 +1,56 @@
1
+ """Load an OpenAPI document and resolve local ``$ref`` pointers."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import json
6
+ from pathlib import Path
7
+
8
+ __all__ = ["load_schema", "resolve_ref", "unwrap_nullable"]
9
+
10
+
11
+ def load_schema(path: Path) -> dict:
12
+ """Read an OpenAPI JSON file."""
13
+ data = json.loads(path.read_text(encoding="utf-8"))
14
+ if not isinstance(data, dict):
15
+ raise ValueError(f"{path} is not an OpenAPI object")
16
+ return data
17
+
18
+
19
+ def _lookup(schema: dict, ref: str) -> dict | None:
20
+ if not ref.startswith("#/"):
21
+ return None
22
+ node: object = schema
23
+ for part in ref[2:].split("/"):
24
+ part = part.replace("~1", "/").replace("~0", "~")
25
+ if not isinstance(node, dict) or part not in node:
26
+ return None
27
+ node = node[part]
28
+ return node if isinstance(node, dict) else None
29
+
30
+
31
+ def resolve_ref(schema: dict, node: dict) -> dict:
32
+ """Follow a ``$ref`` chain to its target; cycles and dangling refs yield ``{}``."""
33
+ seen: set[str] = set()
34
+ current = node
35
+ while isinstance(current, dict) and isinstance(current.get("$ref"), str):
36
+ ref = current["$ref"]
37
+ if ref in seen:
38
+ return {}
39
+ seen.add(ref)
40
+ target = _lookup(schema, ref)
41
+ if target is None:
42
+ return {}
43
+ current = target
44
+ return current if isinstance(current, dict) else {}
45
+
46
+
47
+ def unwrap_nullable(schema: dict, node: dict) -> dict:
48
+ """The single non-null branch of a nullable ``anyOf``/``oneOf``, resolved; else ``node``."""
49
+ for key in ("anyOf", "oneOf"):
50
+ branches = node.get(key)
51
+ if not isinstance(branches, list):
52
+ continue
53
+ live = [b for b in branches if isinstance(b, dict) and b.get("type") != "null"]
54
+ if len(live) == 1:
55
+ return resolve_ref(schema, live[0])
56
+ return node
@@ -0,0 +1,73 @@
1
+ Metadata-Version: 2.5
2
+ Name: simple_module_remote
3
+ Version: 0.0.50
4
+ Summary: Client-only engine for a per-project CLI over a simple_module app's REST API
5
+ Project-URL: Homepage, https://github.com/antosubash/simple_module_python
6
+ Project-URL: Repository, https://github.com/antosubash/simple_module_python
7
+ Project-URL: Issues, https://github.com/antosubash/simple_module_python/issues
8
+ Project-URL: Changelog, https://github.com/antosubash/simple_module_python/blob/main/CHANGELOG.md
9
+ Author-email: Anto Subash <antosubash@live.com>
10
+ License-Expression: MIT
11
+ License-File: LICENSE
12
+ Keywords: cli,openapi,rest,simple-module
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Environment :: Console
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.12
22
+ Requires-Dist: click<9,>=8.1
23
+ Requires-Dist: httpx<1,>=0.27
24
+ Requires-Dist: keyring<26,>=25
25
+ Requires-Dist: pyyaml<7,>=6.0
26
+ Requires-Dist: rich<16,>=13
27
+ Requires-Dist: tomli-w<2,>=1.0
28
+ Description-Content-Type: text/markdown
29
+
30
+ # simple_module_remote
31
+
32
+ Client-only engine for a per-project command line over a simple_module app's
33
+ REST API. It reads the app's OpenAPI schema, generates one command per
34
+ operation, and handles environments, credentials, HTTP and output formatting.
35
+ It never imports the server framework: it talks to a running app over HTTP only.
36
+
37
+ ## What it provides
38
+
39
+ - Named environments (`url`, optional `tenant`, `protected`) stored in a
40
+ per-CLI user config file, merged over an optional defaults file shipped with
41
+ the project.
42
+ - Environment selection by flag, `<CLI>_ENV` or the saved current environment.
43
+ - Request safety rules: only `/api/` paths, no credentials in URLs, plain
44
+ `http://` refused except for loopback hosts.
45
+
46
+ - `build_cli(name, schema_path, defaults_path)`: a `click` group with `env`,
47
+ `login`, `logout`, `whoami`, `doctor`, `schema`, `api`, `raw` and one group per
48
+ OpenAPI tag, generated from operations marked `x-sm-token`.
49
+
50
+ See `docs/framework/remote-cli.md` and `docs/guide/project-cli.md`.
51
+
52
+ ## Install
53
+
54
+ ```bash
55
+ uv add simple_module_remote
56
+ ```
57
+
58
+ ## Usage
59
+
60
+ The package is an engine, not a command. A project wraps it in its own CLI
61
+ entry point, naming the CLI so that config lives in `~/.config/<cli>/` and
62
+ environment variables use the `<CLI>_` prefix.
63
+
64
+ ```python
65
+ from pathlib import Path
66
+
67
+ from simple_module_remote import build_cli
68
+
69
+ main = build_cli("my-app", Path("openapi.json"), None, version="1.0")
70
+
71
+ if __name__ == "__main__":
72
+ main()
73
+ ```
@@ -0,0 +1,51 @@
1
+ simple_module_remote/__init__.py,sha256=9fXrl5TN22xgC31XPNPloTh3Jagf_wDGfi4SomJRaTk,409
2
+ simple_module_remote/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ simple_module_remote/commands/__init__.py,sha256=GmLpjpnQS5wlUVnXyr3Q825NMfBzNmTiVQJr6QsEsyY,46
4
+ simple_module_remote/commands/api_cmd.py,sha256=AB2FiIhv5qOpECWPpDhcPI-tva_XHl0KPnXmfcTt0dM,5474
5
+ simple_module_remote/commands/auth_cmd.py,sha256=ilbNwjc61zmVa8UiWg7ifZg8pJLPjY43GcK_OtX1vxk,6215
6
+ simple_module_remote/commands/doctor_cmd.py,sha256=r4_NQ43DDcx3zo_yKEI-ufcFnOVfGj47aGVBu66ARaY,5485
7
+ simple_module_remote/commands/env_cmd.py,sha256=pXmu0DGjSHN8IkhHj4CYmx_XtTofDeuPJH3uRkVxdsI,7146
8
+ simple_module_remote/commands/generated.py,sha256=xwmiNYBYVpoBsdqx0SvYVyaMyaadmAYhVSUb0W5dCvo,1575
9
+ simple_module_remote/commands/root.py,sha256=_Xibrnt600cbN734vDOUxOJ4dUmBfffOfOUyKl4uedI,7206
10
+ simple_module_remote/commands/runtime.py,sha256=gS0Od2LxOsO_3AYf0MvRDmTFArFlx0u4B96C1LDZuag,9882
11
+ simple_module_remote/commands/schema_cmd.py,sha256=IJ4uECXAccraaq2OKamsQqkgyCBDf2-siBvdVGANXPo,6055
12
+ simple_module_remote/commands/schema_fetch.py,sha256=t-k5qv3zNrBneeJMdzGaVnobZpqDznhMH8EtIhlbDXM,5298
13
+ simple_module_remote/commands/schema_source.py,sha256=ouxlcFfZxOetLRtH4gXg4LQ9WCVOFWnhhuYWG9nNHus,6483
14
+ simple_module_remote/config/__init__.py,sha256=4TaUq5yPr5a-iaa6W-q7udTXEuTY2617Z9PK4C_u4OE,44
15
+ simple_module_remote/config/_file_store.py,sha256=lhzHWsErx1xggQt-sYkMw7M9nvTbjnuBep6nVGc3P-I,6931
16
+ simple_module_remote/config/_private_dir.py,sha256=vTnKJaeonV5viO7rOlDB-SyHJx5Yzk9erChrpH1W49s,7578
17
+ simple_module_remote/config/credentials.py,sha256=93oRoqWsunset7XHgMBljmKpVlZeFRulJGAC810EDEg,11996
18
+ simple_module_remote/config/environments.py,sha256=9-NlLgHDhjrTYqT1Ad8IGYHxxDJTJINFQh4b75tva8Q,6759
19
+ simple_module_remote/config/paths.py,sha256=K0MH0PQ91I26B4uR2jsl7SrQjnFoX-BbVAUtN3YJueQ,890
20
+ simple_module_remote/config/resolve.py,sha256=ozSOpPEcvrHmOCQUUle-jnn7tORX3-XzkQRpqF4TOPk,3294
21
+ simple_module_remote/curated/__init__.py,sha256=u_rvq2uJUkSaZguEfUJD29tDUoUEDZ50slD_HDYN7Ws,45
22
+ simple_module_remote/generate/__init__.py,sha256=OkCTYBd_pFq1hJdtexIPUhCi56beYdRJHb7SagAobH8,46
23
+ simple_module_remote/generate/body.py,sha256=ayKckIi541uHENTC0k4aYkR7d4htaGqtjtJPdWrjgBI,7641
24
+ simple_module_remote/generate/confirm.py,sha256=jwmQZx_TNTsKTMyU_HEGBS62Ly9D4cFVjji5voArH2E,1130
25
+ simple_module_remote/generate/context.py,sha256=ObGelclvSQXr9Nx59aJFKuDv3xbnZDl5vMsnE3NuYKM,1142
26
+ simple_module_remote/generate/emit.py,sha256=3xsE11PoMQT3rAPJsxtb0FRE48j_GmipRWtu_MCSA0k,10113
27
+ simple_module_remote/generate/execute.py,sha256=ItrWlh5u3HJawQ4C1N8vyumatqrQqpWZcbbhMnRGPAw,7801
28
+ simple_module_remote/generate/naming.py,sha256=D-pDmYNynZ_80s_IEdz0VuFgv-aDVh5msmUaC-yvI50,1942
29
+ simple_module_remote/generate/operations.py,sha256=DHsoB0iC5DYfHf1c6jDE5SrtDgvrEX0dN3owRnHIFns,6337
30
+ simple_module_remote/generate/pagination.py,sha256=PPuRGnmtMxwfiJIg_ASyYoWT-n0O5l3cdrW1k62bMjg,2949
31
+ simple_module_remote/generate/pairs.py,sha256=tGLaIsHmD066vCj5V_Sxd1ssSr_eA1OmZGIUm6AOei4,693
32
+ simple_module_remote/generate/params.py,sha256=dZzi92pWzeUf7NF8ALwsS8kUbmRAVVrGvumGq2SCktc,7965
33
+ simple_module_remote/generate/prepare.py,sha256=-4Z0H3NjSdVTS-gjvMZG1PIfb_QtlJzDY1XiB1JtGZM,5403
34
+ simple_module_remote/generate/tree.py,sha256=7-b3BMfOYt7YfqlA-CmvaGsg1nFmgNaigbKJE7m3wok,1947
35
+ simple_module_remote/generate/trust.py,sha256=_74ksOTE4lYcJm7iJMT4J378mcQfqfdJz7CszLjMIO0,1554
36
+ simple_module_remote/generate/validate.py,sha256=GxZFiN34oG2Zt5QQGO3ckbLVyEk07P6oAXRWm9jM6Co,5856
37
+ simple_module_remote/http/__init__.py,sha256=9LaNVfPcMBpS8Vinvpe7CxCVsesG1vUgVt4h_k6f0ho,42
38
+ simple_module_remote/http/client.py,sha256=EC6oPuk5xE4chHIM8-tK237CeyOcK-ZlwHyGEuxpHGc,11596
39
+ simple_module_remote/http/errors.py,sha256=MKGdR8gz2gGY04b4z8cKTfKLgjbibHkhdHk2zE3gEs8,1807
40
+ simple_module_remote/http/safety.py,sha256=D6uPAIw972jLJzy9XaMZFsdN52K2W6SLChmlHxdZZbU,4876
41
+ simple_module_remote/output/__init__.py,sha256=Z7zum3HtMQAtABLKVvBl8lHnHt-WXBEr8H9DqLAYIJs,44
42
+ simple_module_remote/output/reasons.py,sha256=nJHiU-GAWGFuOPsiiqrAZh4DhReOBxfv8B0b948cAb0,562
43
+ simple_module_remote/output/render.py,sha256=Ik2MKTWHptVkvzkvUxZhCAOKyLAvvgWFhRJVMlOzLpA,5031
44
+ simple_module_remote/output/sanitize.py,sha256=-LH-QKfMFr6M3pXtfhsF0aTGSHuVBby24DRpy5wiADk,1201
45
+ simple_module_remote/schema/__init__.py,sha256=jwiQF1pEmKjgJx9V1c7EPamBiOmpymN1ExAaFLfegdE,44
46
+ simple_module_remote/schema/cache.py,sha256=0WzD4KkEQvRTdo2ZHaGUanBUXL6lLmPRHWboMep9xUM,6275
47
+ simple_module_remote/schema/loader.py,sha256=bU9BFVabU4Da4do1yotwvdqv4FuA9RnZUR57WXA9bKs,1831
48
+ simple_module_remote-0.0.50.dist-info/METADATA,sha256=S7Nu6VMYen4Rs4NmUsa72tHqVmAJuQtBOAzIH3mapaI,2671
49
+ simple_module_remote-0.0.50.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
50
+ simple_module_remote-0.0.50.dist-info/licenses/LICENSE,sha256=Yn66lhLklsF5p7pa85_ksQrJ79Q-FgOaUAHevLBjer4,1068
51
+ simple_module_remote-0.0.50.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Anto Subash
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.