html-to-markdown 1.3.2__tar.gz → 1.3.3__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.

Potentially problematic release.


This version of html-to-markdown might be problematic. Click here for more details.

Files changed (19) hide show
  1. {html_to_markdown-1.3.2 → html_to_markdown-1.3.3}/PKG-INFO +1 -1
  2. {html_to_markdown-1.3.2 → html_to_markdown-1.3.3}/html_to_markdown/__main__.py +4 -1
  3. {html_to_markdown-1.3.2 → html_to_markdown-1.3.3}/html_to_markdown.egg-info/PKG-INFO +1 -1
  4. {html_to_markdown-1.3.2 → html_to_markdown-1.3.3}/html_to_markdown.egg-info/SOURCES.txt +1 -0
  5. html_to_markdown-1.3.3/html_to_markdown.egg-info/entry_points.txt +2 -0
  6. {html_to_markdown-1.3.2 → html_to_markdown-1.3.3}/pyproject.toml +2 -3
  7. {html_to_markdown-1.3.2 → html_to_markdown-1.3.3}/LICENSE +0 -0
  8. {html_to_markdown-1.3.2 → html_to_markdown-1.3.3}/README.md +0 -0
  9. {html_to_markdown-1.3.2 → html_to_markdown-1.3.3}/html_to_markdown/__init__.py +0 -0
  10. {html_to_markdown-1.3.2 → html_to_markdown-1.3.3}/html_to_markdown/cli.py +0 -0
  11. {html_to_markdown-1.3.2 → html_to_markdown-1.3.3}/html_to_markdown/constants.py +0 -0
  12. {html_to_markdown-1.3.2 → html_to_markdown-1.3.3}/html_to_markdown/converters.py +0 -0
  13. {html_to_markdown-1.3.2 → html_to_markdown-1.3.3}/html_to_markdown/processing.py +0 -0
  14. {html_to_markdown-1.3.2 → html_to_markdown-1.3.3}/html_to_markdown/py.typed +0 -0
  15. {html_to_markdown-1.3.2 → html_to_markdown-1.3.3}/html_to_markdown/utils.py +0 -0
  16. {html_to_markdown-1.3.2 → html_to_markdown-1.3.3}/html_to_markdown.egg-info/dependency_links.txt +0 -0
  17. {html_to_markdown-1.3.2 → html_to_markdown-1.3.3}/html_to_markdown.egg-info/requires.txt +0 -0
  18. {html_to_markdown-1.3.2 → html_to_markdown-1.3.3}/html_to_markdown.egg-info/top_level.txt +0 -0
  19. {html_to_markdown-1.3.2 → html_to_markdown-1.3.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: html-to-markdown
3
- Version: 1.3.2
3
+ Version: 1.3.3
4
4
  Summary: Convert HTML to markdown
5
5
  Author-email: Na'aman Hirschfeld <nhirschfeld@gmail.com>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  import sys
2
2
 
3
- if __name__ == "__main__":
3
+ def cli():
4
4
  from html_to_markdown.cli import main
5
5
 
6
6
  try:
@@ -9,3 +9,6 @@ if __name__ == "__main__":
9
9
  except ValueError as e:
10
10
  print(str(e), file=sys.stderr) # noqa: T201
11
11
  sys.exit(1)
12
+
13
+ if __name__ == "__main__":
14
+ cli()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: html-to-markdown
3
- Version: 1.3.2
3
+ Version: 1.3.3
4
4
  Summary: Convert HTML to markdown
5
5
  Author-email: Na'aman Hirschfeld <nhirschfeld@gmail.com>
6
6
  License: MIT
@@ -12,5 +12,6 @@ html_to_markdown/utils.py
12
12
  html_to_markdown.egg-info/PKG-INFO
13
13
  html_to_markdown.egg-info/SOURCES.txt
14
14
  html_to_markdown.egg-info/dependency_links.txt
15
+ html_to_markdown.egg-info/entry_points.txt
15
16
  html_to_markdown.egg-info/requires.txt
16
17
  html_to_markdown.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ html_to_markdown = html_to_markdown.__main__:cli
@@ -5,7 +5,7 @@ requires = [ "setuptools>=78.1" ]
5
5
 
6
6
  [project]
7
7
  name = "html-to-markdown"
8
- version = "1.3.2"
8
+ version = "1.3.3"
9
9
  description = "Convert HTML to markdown"
10
10
  readme = "README.md"
11
11
  keywords = [ "converter", "html", "markdown", "text-extraction", "text-processing" ]
@@ -29,6 +29,7 @@ classifiers = [
29
29
  "Topic :: Utilities",
30
30
  "Typing :: Typed",
31
31
  ]
32
+ scripts.html_to_markdown = "html_to_markdown.__main__:cli"
32
33
 
33
34
  dependencies = [
34
35
  "beautifulsoup4>=4.13.4",
@@ -58,8 +59,6 @@ html_to_markdown = [ "py.typed" ]
58
59
  [tool.hatch.build]
59
60
  skip-excluded-dirs = true
60
61
 
61
- scripts.html_to_markdown = "html_to_markdown.__main__:cli"
62
-
63
62
  [tool.ruff]
64
63
  target-version = "py39"
65
64
  line-length = 120