mailfmt 0.1.0__py3-none-any.whl → 1.0.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.
@@ -1,9 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mailfmt
3
- Version: 0.1.0
3
+ Version: 1.0.0
4
4
  Summary: Plain text email formatter
5
+ Project-URL: Repository, https://git.sr.ht/~ficd/mailfmt
6
+ Project-URL: Homepage, https://sr.ht/~ficd/mailfmt
5
7
  Author-email: Daniel Fichtinger <daniel@ficd.ca>
8
+ License-Expression: ISC
6
9
  License-File: LICENSE
10
+ Keywords: email,formatter
7
11
  Requires-Python: >=3.11
8
12
  Description-Content-Type: text/markdown
9
13
 
@@ -13,14 +17,14 @@ Description-Content-Type: text/markdown
13
17
  consistent paragraph spacing while preserving markdown syntax, email headers,
14
18
  sign-offs, and signature blocks.
15
19
 
16
- By default, this script accepts its input on `stdin` and prints to `stdout`.
20
+ By default, the command accepts its input on `stdin` and prints to `stdout`.
17
21
  This makes it well suited for use as a formatter with a text editor like Kakoune
18
- or Helix. It has no dependencies besides the standard Python interpreter, and
19
- was written and tested against Python 3.13.3.
22
+ or Helix.
20
23
 
21
24
  <!--toc:start-->
22
25
 
23
26
  - [Features](#features)
27
+ - [Installation](#installation)
24
28
  - [Usage](#usage)
25
29
  - [Output Example](#output-example)
26
30
  - [Markdown Safety](#markdown-safety)
@@ -46,6 +50,28 @@ was written and tested against Python 3.13.3.
46
50
  - Use case: piping the output to `pandoc` to write a `text/html` message. See
47
51
  [Markdown Safety](#markdown-safety).
48
52
 
53
+ ## Installation
54
+
55
+ `mailfmt` is intended for use as a standaole tool. The package is available on
56
+ PyPI as `mailfmt`. I recommend using [uv](https://github.com/astral-sh/uv) or
57
+ `pipx` to install it so the `mailfmt` command is available on your path:
58
+
59
+ ```sh
60
+ uv tool install mailfmt
61
+ ```
62
+
63
+ Verify that the installation was successful:
64
+
65
+ ```sh
66
+ mailfmt --help
67
+ ```
68
+
69
+ The tool doesn't currently have any dependencies. Therefore, you can just
70
+ download and execute the
71
+ [mailfmt](https://git.sr.ht/~ficd/mailfmt/tree/main/item/mailfmt.py) script
72
+ directly. However, dependencies may be introduced later, so I recommend
73
+ installing with a Python package manager.
74
+
49
75
  ## Usage
50
76
 
51
77
  ```
@@ -0,0 +1,6 @@
1
+ mailfmt.py,sha256=auV0gcx7smsNhjbjdL8yNNDVEEidGMwJMB4AsUyBwbk,6500
2
+ mailfmt-1.0.0.dist-info/METADATA,sha256=V0ImmHow6Co4bbjPx58y8DW4URx7mbJ7ds4TswCdfHQ,6308
3
+ mailfmt-1.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4
+ mailfmt-1.0.0.dist-info/entry_points.txt,sha256=eFkLVHtmLEdRnOOzT4d2pAy7mBkjESW_8VQgUfAWvk4,41
5
+ mailfmt-1.0.0.dist-info/licenses/LICENSE,sha256=M8EhEEXHuRQsNgdRFtF2Ty6P62p8vgDanib1C-Zqkqc,749
6
+ mailfmt-1.0.0.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- mailfmt.py,sha256=auV0gcx7smsNhjbjdL8yNNDVEEidGMwJMB4AsUyBwbk,6500
2
- mailfmt-0.1.0.dist-info/METADATA,sha256=oJkZ8gCdpMFJOyLXO7BZHYfVoL2x2zZlpRwhSo6fjLg,5587
3
- mailfmt-0.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4
- mailfmt-0.1.0.dist-info/entry_points.txt,sha256=eFkLVHtmLEdRnOOzT4d2pAy7mBkjESW_8VQgUfAWvk4,41
5
- mailfmt-0.1.0.dist-info/licenses/LICENSE,sha256=M8EhEEXHuRQsNgdRFtF2Ty6P62p8vgDanib1C-Zqkqc,749
6
- mailfmt-0.1.0.dist-info/RECORD,,