streamdown 0.22.0__tar.gz → 0.23.0__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.
Files changed (44) hide show
  1. {streamdown-0.22.0 → streamdown-0.23.0}/PKG-INFO +1 -1
  2. {streamdown-0.22.0 → streamdown-0.23.0}/pyproject.toml +1 -1
  3. {streamdown-0.22.0 → streamdown-0.23.0}/streamdown/sd.py +3 -1
  4. streamdown-0.23.0/tools/deploy.sh +7 -0
  5. {streamdown-0.22.0 → streamdown-0.23.0}/.gitignore +0 -0
  6. {streamdown-0.22.0 → streamdown-0.23.0}/LICENSE.MIT +0 -0
  7. {streamdown-0.22.0 → streamdown-0.23.0}/README.md +0 -0
  8. {streamdown-0.22.0 → streamdown-0.23.0}/requirements.txt +0 -0
  9. {streamdown-0.22.0 → streamdown-0.23.0}/streamdown/__init__.py +0 -0
  10. {streamdown-0.22.0 → streamdown-0.23.0}/streamdown/plugins/README.md +0 -0
  11. {streamdown-0.22.0 → streamdown-0.23.0}/streamdown/plugins/latex.py +0 -0
  12. {streamdown-0.22.0 → streamdown-0.23.0}/tests/README.md +0 -0
  13. {streamdown-0.22.0 → streamdown-0.23.0}/tests/backtick-with-post-spaces.md +0 -0
  14. {streamdown-0.22.0 → streamdown-0.23.0}/tests/block.md +0 -0
  15. {streamdown-0.22.0 → streamdown-0.23.0}/tests/bold_reset_with_link.md +0 -0
  16. {streamdown-0.22.0 → streamdown-0.23.0}/tests/broken-code.md +0 -0
  17. {streamdown-0.22.0 → streamdown-0.23.0}/tests/broken-example.md +0 -0
  18. {streamdown-0.22.0 → streamdown-0.23.0}/tests/chunk-buffer.sh +0 -0
  19. {streamdown-0.22.0 → streamdown-0.23.0}/tests/cjk-table.md +0 -0
  20. {streamdown-0.22.0 → streamdown-0.23.0}/tests/cjk-wrap.md +0 -0
  21. {streamdown-0.22.0 → streamdown-0.23.0}/tests/code.md +0 -0
  22. {streamdown-0.22.0 → streamdown-0.23.0}/tests/example.md +0 -0
  23. {streamdown-0.22.0 → streamdown-0.23.0}/tests/fizzbuzz.md +0 -0
  24. {streamdown-0.22.0 → streamdown-0.23.0}/tests/inline.md +0 -0
  25. {streamdown-0.22.0 → streamdown-0.23.0}/tests/jimmy_webb.md +0 -0
  26. {streamdown-0.22.0 → streamdown-0.23.0}/tests/line-buffer.sh +0 -0
  27. {streamdown-0.22.0 → streamdown-0.23.0}/tests/line-wrap.md +0 -0
  28. {streamdown-0.22.0 → streamdown-0.23.0}/tests/links.md +0 -0
  29. {streamdown-0.22.0 → streamdown-0.23.0}/tests/managerie.md +0 -0
  30. {streamdown-0.22.0 → streamdown-0.23.0}/tests/mandlebrot.md +0 -0
  31. {streamdown-0.22.0 → streamdown-0.23.0}/tests/markdown.md +0 -0
  32. {streamdown-0.22.0 → streamdown-0.23.0}/tests/nested-example.md +0 -0
  33. {streamdown-0.22.0 → streamdown-0.23.0}/tests/outline.md +0 -0
  34. {streamdown-0.22.0 → streamdown-0.23.0}/tests/pvgo_512.jpg +0 -0
  35. {streamdown-0.22.0 → streamdown-0.23.0}/tests/pythonvgo.md +0 -0
  36. {streamdown-0.22.0 → streamdown-0.23.0}/tests/qwen3.md +0 -0
  37. {streamdown-0.22.0 → streamdown-0.23.0}/tests/rerun.zsh +0 -0
  38. {streamdown-0.22.0 → streamdown-0.23.0}/tests/slash.md +0 -0
  39. {streamdown-0.22.0 → streamdown-0.23.0}/tests/strip-chunks.sh +0 -0
  40. {streamdown-0.22.0 → streamdown-0.23.0}/tests/table-break.md +0 -0
  41. {streamdown-0.22.0 → streamdown-0.23.0}/tests/table_test.md +0 -0
  42. {streamdown-0.22.0 → streamdown-0.23.0}/tests/test.md +0 -0
  43. {streamdown-0.22.0 → streamdown-0.23.0}/tests/test_input.md +0 -0
  44. {streamdown-0.22.0 → streamdown-0.23.0}/tests/wm.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: streamdown
3
- Version: 0.22.0
3
+ Version: 0.23.0
4
4
  Summary: A streaming markdown renderer for modern terminals with syntax highlighting
5
5
  Project-URL: Homepage, https://github.com/kristopolous/Streamdown
6
6
  Project-URL: Bug Tracker, https://github.com/kristopolous/Streamdown/issues
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "streamdown"
7
- version = "0.22.0"
7
+ version = "0.23.0"
8
8
  description = "A streaming markdown renderer for modern terminals with syntax highlighting"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -114,6 +114,8 @@ def debug_write(text):
114
114
 
115
115
  def savebrace():
116
116
  if state.Savebrace and state.code_buffer_raw:
117
+ tmp_dir = os.path.join(tempfile.gettempdir(), "sd")
118
+ os.makedirs(tmp_dir, exist_ok=True)
117
119
  path = os.path.join(tempfile.gettempdir(), "sd", 'savebrace')
118
120
  with open(path, "a") as f:
119
121
  f.write(state.code_buffer_raw + "\x00")
@@ -1023,7 +1025,7 @@ def width_calc():
1023
1025
  ]
1024
1026
 
1025
1027
  def main():
1026
- parser = ArgumentParser(description="Streamdown - A Streaming markdown renderer for modern terminals")
1028
+ parser = ArgumentParser(description="Streamdown - A Streaming markdown renderer for modern terminals. Latest version: https://github.com/day50-dev/Streamdown")
1027
1029
  parser.add_argument("filenameList", nargs="*", help="Input file to process (also takes stdin)")
1028
1030
  parser.add_argument("-l", "--loglevel", default="INFO", help="Set the logging level")
1029
1031
  parser.add_argument("-b", "--base", default=None, help="Set the hsv base: h,s,v")
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ source .venv/bin/activate
3
+ for i in pip hatch build; do
4
+ pip install --upgrade $i
5
+ done
6
+ python3 -m build .
7
+
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes