rly 0.1.0__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.
rly/__init__.py ADDED
@@ -0,0 +1,3 @@
1
+ """PyPI launcher for the ReplyLayer CLI."""
2
+
3
+ __version__ = "0.1.0"
rly/__main__.py ADDED
@@ -0,0 +1,5 @@
1
+ from .cli import main
2
+
3
+
4
+ if __name__ == "__main__":
5
+ main()
rly/cli.py ADDED
@@ -0,0 +1,41 @@
1
+ from __future__ import annotations
2
+
3
+ import os
4
+ import shutil
5
+ import subprocess
6
+ import sys
7
+ from collections.abc import Sequence
8
+
9
+ NPM_PACKAGE = "replylayer@latest"
10
+
11
+
12
+ def main(argv: Sequence[str] | None = None) -> int:
13
+ args = list(sys.argv[1:] if argv is None else argv)
14
+ npx = shutil.which("npx")
15
+ if npx is None:
16
+ print(
17
+ "rly requires Node.js 22+ with npm/npx on PATH.\n"
18
+ "Install Node.js, then run this command again.",
19
+ file=sys.stderr,
20
+ )
21
+ return 127
22
+
23
+ env = os.environ.copy()
24
+ env.setdefault("npm_config_update_notifier", "false")
25
+
26
+ try:
27
+ completed = subprocess.run(
28
+ [npx, "--yes", NPM_PACKAGE, *args],
29
+ env=env,
30
+ check=False,
31
+ )
32
+ except FileNotFoundError:
33
+ print(
34
+ "rly could not find npx. Install Node.js 22+ with npm and try again.",
35
+ file=sys.stderr,
36
+ )
37
+ return 127
38
+ except KeyboardInterrupt:
39
+ return 130
40
+
41
+ return completed.returncode
@@ -0,0 +1,47 @@
1
+ Metadata-Version: 2.4
2
+ Name: rly
3
+ Version: 0.1.0
4
+ Summary: PyPI launcher for the ReplyLayer CLI
5
+ Project-URL: Homepage, https://replylayer.ai
6
+ Project-URL: Repository, https://github.com/mcintoshjames-sketch/ReplyLayer
7
+ Project-URL: Issues, https://github.com/mcintoshjames-sketch/ReplyLayer/issues
8
+ Author: ReplyLayer
9
+ License-Expression: MIT
10
+ Keywords: agent,ai,cli,email,mailbox,replylayer
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Environment :: Console
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3 :: Only
17
+ Classifier: Topic :: Communications :: Email
18
+ Requires-Python: >=3.10
19
+ Description-Content-Type: text/markdown
20
+
21
+ # rly
22
+
23
+ `rly` is the PyPI launcher for the ReplyLayer CLI.
24
+
25
+ ```bash
26
+ pip install rly
27
+ rly --help
28
+ ```
29
+
30
+ The installed `rly` command delegates to the official npm package:
31
+ `replylayer@latest`.
32
+
33
+ ## Requirements
34
+
35
+ - Python 3.10+
36
+ - Node.js 22+ with npm/npx on `PATH`
37
+
38
+ ## Examples
39
+
40
+ ```bash
41
+ rly auth login
42
+ rly mailbox list
43
+ rly inbox list --mailbox support-bot
44
+ ```
45
+
46
+ For full CLI documentation, see the ReplyLayer repository:
47
+ https://github.com/mcintoshjames-sketch/ReplyLayer
@@ -0,0 +1,7 @@
1
+ rly/__init__.py,sha256=BLK26qfCFmQq_d3NT4PsrkQbf_15GploG6FJhIHO6jg,67
2
+ rly/__main__.py,sha256=wu5N2wk8mvBgyvr2ghmQf4prezAe0_i-p123VVreyYc,62
3
+ rly/cli.py,sha256=HwB8lFt-_YKP1GBUK9F87oH4JDMogPF2lGBFtSkHdTg,1023
4
+ rly-0.1.0.dist-info/METADATA,sha256=wVr7WncWvz3WPt03-1G2mP3oy5qINkqMkfNVueMUnGI,1235
5
+ rly-0.1.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
6
+ rly-0.1.0.dist-info/entry_points.txt,sha256=WTGfCCCFuHNRnhfvvP2y59WS2siy5SzSmXiaQ8t5sPQ,37
7
+ rly-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.29.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ rly = rly.cli:main