asfml 0.1.0__py3-none-win_amd64.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.
asfml/__init__.py ADDED
@@ -0,0 +1 @@
1
+ __version__ = "0.1.0"
asfml/_runner.py ADDED
@@ -0,0 +1,14 @@
1
+ from __future__ import annotations
2
+
3
+ import os
4
+ import sys
5
+ from pathlib import Path
6
+
7
+
8
+ def main() -> None:
9
+ binary_name = "asfml.exe" if os.name == "nt" else "asfml"
10
+ binary_path = Path(__file__).resolve().parent / "bin" / binary_name
11
+ if not binary_path.exists():
12
+ raise FileNotFoundError(f"asfml binary not found: {binary_path}")
13
+
14
+ os.execv(str(binary_path), [str(binary_path), *sys.argv[1:]])
asfml/bin/asfml.exe ADDED
Binary file
@@ -0,0 +1,71 @@
1
+ Metadata-Version: 2.4
2
+ Name: asfml
3
+ Version: 0.1.0
4
+ Summary: CLI for reading Apache Pony Mail archives
5
+ Home-page: https://github.com/Xuanwo/asfml
6
+ License: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/Xuanwo/asfml
8
+ Project-URL: Repository, https://github.com/Xuanwo/asfml
9
+ Project-URL: Issues, https://github.com/Xuanwo/asfml/issues
10
+ Requires-Python: >=3.8
11
+ Description-Content-Type: text/markdown
12
+ Dynamic: description
13
+ Dynamic: description-content-type
14
+ Dynamic: home-page
15
+ Dynamic: license
16
+ Dynamic: project-url
17
+ Dynamic: requires-python
18
+ Dynamic: summary
19
+
20
+ # asfml
21
+
22
+ `asfml` is a CLI for reading Apache Pony Mail archives from `lists.apache.org`.
23
+
24
+ It supports public archives directly and private archives through a manually
25
+ provided Pony Mail session cookie.
26
+
27
+ ## Installation
28
+
29
+ ```bash
30
+ brew tap xuanwo/tap && brew install asfml # Homebrew
31
+ cargo install asfml # Cargo
32
+ uv tool install asfml # Python / uv
33
+ npm install -g asfml # npm
34
+ ```
35
+
36
+ ## Usage
37
+
38
+ List recent messages:
39
+
40
+ ```bash
41
+ asfml list dev@opendal.apache.org --limit 5
42
+ ```
43
+
44
+ Search messages:
45
+
46
+ ```bash
47
+ asfml search dev@opendal.apache.org release --limit 5
48
+ ```
49
+
50
+ Read a message:
51
+
52
+ ```bash
53
+ asfml read <mid>
54
+ asfml read <mid> --parent
55
+ asfml read <mid> --root
56
+ asfml read <mid> --thread
57
+ ```
58
+
59
+ Authenticate for private archives:
60
+
61
+ ```bash
62
+ asfml auth set
63
+ asfml auth status private@opendal.apache.org
64
+ ```
65
+
66
+ `asfml auth set` accepts a raw `ponymail` cookie value, `ponymail=<value>`, a
67
+ full `Cookie:` header, or Netscape cookies.txt content.
68
+
69
+ ## License
70
+
71
+ Licensed under the Apache License, Version 2.0.
@@ -0,0 +1,8 @@
1
+ asfml/__init__.py,sha256=kUR5RAFc7HCeiqdlX36dZOHkUI5wI6V_43RpEcD8b-0,22
2
+ asfml/_runner.py,sha256=FGJomm9M85ac3_IKTOO_yb6_oMkUf7CUnQntipqjZTQ,412
3
+ asfml/bin/asfml.exe,sha256=Y8O7uKybGFRuAdpJDyBU7Y2u78o7hU1PoHvawZdATGo,4500480
4
+ asfml-0.1.0.dist-info/METADATA,sha256=hwbTIxjgxyq4paSI8sebqlB7mmBrPqUiJ2drSPUaz3U,1603
5
+ asfml-0.1.0.dist-info/WHEEL,sha256=GjDPPQwEcripVP6P2r3RxLa-h5Lb9ifGB7FYYtbLDT0,98
6
+ asfml-0.1.0.dist-info/entry_points.txt,sha256=tV0A5RF19h4dSlvY-Z4k5b5yHBFNN4xZcc_lYQVpltA,45
7
+ asfml-0.1.0.dist-info/top_level.txt,sha256=uJfQCEUh7sluLdTvKPYYNpm9s0uD9WJ2SXED6oik7g0,6
8
+ asfml-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: false
4
+ Tag: py3-none-win_amd64
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ asfml = asfml._runner:main
@@ -0,0 +1 @@
1
+ asfml