mailfmt 1.0.0__tar.gz → 1.0.1__tar.gz

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,13 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mailfmt
3
- Version: 1.0.0
4
- Summary: Plain text email formatter
3
+ Version: 1.0.1
4
+ Summary: Heuristic plain text email formatter.
5
5
  Project-URL: Repository, https://git.sr.ht/~ficd/mailfmt
6
- Project-URL: Homepage, https://sr.ht/~ficd/mailfmt
7
6
  Author-email: Daniel Fichtinger <daniel@ficd.ca>
8
7
  License-Expression: ISC
9
8
  License-File: LICENSE
10
- Keywords: email,formatter
9
+ Keywords: cli,email,formatter
11
10
  Requires-Python: >=3.11
12
11
  Description-Content-Type: text/markdown
13
12
 
mailfmt-1.0.1/justfile ADDED
@@ -0,0 +1,21 @@
1
+ clean:
2
+ #!/bin/sh
3
+ if [ ! -d "dist" ] && [ ! -d "__pycache__" ]; then
4
+ echo "Nothing to clean."
5
+ exit 0
6
+ fi
7
+ if [ -d "dist" ]; then
8
+ echo "Removing dist/"
9
+ rm -r dist/
10
+ fi
11
+ if [ -d "__pycache__" ]; then
12
+ echo "Removing __pycache__/"
13
+ rm -r "__pycache__"
14
+ fi
15
+ publish:
16
+ #!/bin/sh
17
+ just clean
18
+ uv build
19
+ export UV_PUBLISH_TOKEN="$(pass show pypi)"
20
+ uv publish
21
+
@@ -84,11 +84,12 @@ def main() -> None:
84
84
  return False
85
85
 
86
86
  parser = argparse.ArgumentParser(
87
- description='Formatter for plain text email.\n"--no-*" options are NOT passed by default.',
87
+ description="Heuristic formatter for plain text email. Preserves markup, signoffs, and signature blocks.",
88
88
  epilog="""
89
- Author : Daniel Fichtinger
90
- License: ISC
91
- Contact: daniel@ficd.ca
89
+ Author : Daniel Fichtinger
90
+ Repository: https://git.sr.ht/~ficd/mailfmt
91
+ License : ISC
92
+ Contact : daniel@ficd.ca
92
93
  """,
93
94
  formatter_class=argparse.RawDescriptionHelpFormatter,
94
95
  )
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  name = "mailfmt"
3
- version = "1.0.0"
4
- description = "Plain text email formatter"
3
+ version = "1.0.1"
4
+ description = "Heuristic plain text email formatter."
5
5
  readme = "README.md"
6
6
  authors = [
7
7
  { name = "Daniel Fichtinger", email = "daniel@ficd.ca" }
@@ -10,11 +10,10 @@ requires-python = ">=3.11"
10
10
  dependencies = []
11
11
  license = "ISC"
12
12
  license-files = ["LICENSE"]
13
- keywords = ["email", "formatter"]
13
+ keywords = ["email", "formatter", "cli"]
14
14
 
15
15
  [project.urls]
16
16
  Repository = "https://git.sr.ht/~ficd/mailfmt"
17
- Homepage = "https://sr.ht/~ficd/mailfmt"
18
17
 
19
18
  [project.scripts]
20
19
  mailfmt = "mailfmt:main"
@@ -4,5 +4,5 @@ requires-python = ">=3.11"
4
4
 
5
5
  [[package]]
6
6
  name = "mailfmt"
7
- version = "0.1.0"
7
+ version = "1.0.1"
8
8
  source = { editable = "." }
File without changes
File without changes
File without changes
File without changes