pyDiffTools 0.1.6__tar.gz → 0.1.7__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 (81) hide show
  1. {pydifftools-0.1.6 → pydifftools-0.1.7}/MANIFEST.in +1 -0
  2. {pydifftools-0.1.6/pyDiffTools.egg-info → pydifftools-0.1.7}/PKG-INFO +31 -2
  3. {pydifftools-0.1.6 → pydifftools-0.1.7}/README.rst +19 -0
  4. pydifftools-0.1.7/example_notebook/_quarto.yml +30 -0
  5. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/__version__.txt +1 -0
  6. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/1a724af72b16f5a9e607e12b1c721645/base.ipynb +394 -0
  7. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/1b28fc9daac9081847e5161b2c546f8a/base.ipynb +380 -0
  8. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/231f64eee282fa225d1104935cf80a24/base.ipynb +394 -0
  9. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/26e56f6b0ff54851a45145157f2f0dc4/base.ipynb +394 -0
  10. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/311fabd7029ffd050d056e2f316eb50f/base.ipynb +394 -0
  11. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/57da2021e5b156ac3adf01398201c723/base.ipynb +389 -0
  12. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/62b24ea7da75011d92b0f8924faa208d/base.ipynb +363 -0
  13. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/7f1b20d69d889514ab5d1cc92e3cb14f/base.ipynb +394 -0
  14. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/86f74c8c54a87ff892d9b15dd714e8f0/base.ipynb +395 -0
  15. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/88893b4234eac2945d9d6cb2e277f186/base.ipynb +392 -0
  16. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/9a40046ada6f582ee34af00fbdbfb417/base.ipynb +358 -0
  17. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/a1bf4d270d0641ff41faf1d7cce3439a/base.ipynb +362 -0
  18. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/a3789f7d9585a781f2a1c60ce95ff10d/base.ipynb +362 -0
  19. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/be46ecba858d39ad5f0c46902ddf1c02/base.ipynb +406 -0
  20. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/d0cbc57a12f2ccce710a5afd04cc05e7/base.ipynb +357 -0
  21. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/d3e12d320b14228f701231ae32ddd7dd/base.ipynb +351 -0
  22. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/eb434f61555438d020a6970a5dbf9ee8/base.ipynb +409 -0
  23. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/f6b0e73aa7fa029134665d4dde57e096/base.ipynb +363 -0
  24. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/f719a6e4ff09873cb0ffb06ec9d232f9/base.ipynb +395 -0
  25. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/executed/feeee244a7ce3d60e1a227eb604df823/base.ipynb +350 -0
  26. pydifftools-0.1.7/example_notebook/project1/.jupyter_cache/global.db +0 -0
  27. pydifftools-0.1.7/example_notebook/project1/example.qmd +58 -0
  28. pydifftools-0.1.7/example_notebook/project1/example.tex +54 -0
  29. pydifftools-0.1.7/example_notebook/project1/index.qmd +9 -0
  30. pydifftools-0.1.7/example_notebook/project1/subproject1/.jupyter_cache/__version__.txt +1 -0
  31. pydifftools-0.1.7/example_notebook/project1/subproject1/.jupyter_cache/executed/ca90e4df5f4f0583df6554156a68dc7f/base.ipynb +363 -0
  32. pydifftools-0.1.7/example_notebook/project1/subproject1/.jupyter_cache/global.db +0 -0
  33. pydifftools-0.1.7/example_notebook/project1/subproject1/end_vs_he_sketch.jpg +0 -0
  34. pydifftools-0.1.7/example_notebook/project1/subproject1/independent.qmd +3 -0
  35. pydifftools-0.1.7/example_notebook/project1/subproject1/index.qmd +7 -0
  36. pydifftools-0.1.7/example_notebook/project1/subproject1/tasks.qmd +21 -0
  37. pydifftools-0.1.7/example_notebook/project1/subproject1/test_include.qmd +1 -0
  38. pydifftools-0.1.7/example_notebook/project1/subproject1/tryforerror.qmd +52 -0
  39. pydifftools-0.1.7/example_notebook/project1/test_include.qmd +1 -0
  40. {pydifftools-0.1.6 → pydifftools-0.1.7/pyDiffTools.egg-info}/PKG-INFO +31 -2
  41. pydifftools-0.1.7/pyDiffTools.egg-info/SOURCES.txt +76 -0
  42. pydifftools-0.1.7/pyDiffTools.egg-info/requires.txt +12 -0
  43. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/check_numbers.py +20 -5
  44. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/command_line.py +54 -135
  45. pydifftools-0.1.7/pydifftools/command_registry.py +65 -0
  46. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/continuous.py +25 -26
  47. pydifftools-0.1.7/pydifftools/flowchart/__init__.py +15 -0
  48. pydifftools-0.1.7/pydifftools/flowchart/dot_to_yaml.py +114 -0
  49. pydifftools-0.1.7/pydifftools/flowchart/graph.py +451 -0
  50. pydifftools-0.1.7/pydifftools/flowchart/watch_graph.py +145 -0
  51. pydifftools-0.1.7/pydifftools/notebook/__init__.py +0 -0
  52. pydifftools-0.1.7/pydifftools/notebook/fast_build.py +1274 -0
  53. pydifftools-0.1.7/pydifftools/notebook/tex_to_qmd.py +308 -0
  54. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/outline.py +15 -2
  55. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/wrap_sentences.py +80 -95
  56. pydifftools-0.1.7/pyproject.toml +49 -0
  57. pydifftools-0.1.6/pyDiffTools.egg-info/SOURCES.txt +0 -32
  58. pydifftools-0.1.6/pyDiffTools.egg-info/requires.txt +0 -2
  59. pydifftools-0.1.6/pyproject.toml +0 -21
  60. {pydifftools-0.1.6 → pydifftools-0.1.7}/LICENSE.md +0 -0
  61. {pydifftools-0.1.6 → pydifftools-0.1.7}/pyDiffTools.egg-info/dependency_links.txt +0 -0
  62. {pydifftools-0.1.6 → pydifftools-0.1.7}/pyDiffTools.egg-info/entry_points.txt +0 -0
  63. {pydifftools-0.1.6 → pydifftools-0.1.7}/pyDiffTools.egg-info/top_level.txt +0 -0
  64. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/__init__.py +0 -0
  65. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/comment_functions.py +0 -0
  66. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/copy_files.py +0 -0
  67. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/diff-doc.js +0 -0
  68. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/doc_contents.py +0 -0
  69. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/html_comments.py +0 -0
  70. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/html_uncomments.py +0 -0
  71. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/match_spaces.py +0 -0
  72. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/onewordify.py +0 -0
  73. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/onewordify_undo.py +0 -0
  74. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/rearrange_tex.py +0 -0
  75. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/searchacro.py +0 -0
  76. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/separate_comments.py +0 -0
  77. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/split_conflict.py +0 -0
  78. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/unseparate_comments.py +0 -0
  79. {pydifftools-0.1.6 → pydifftools-0.1.7}/pydifftools/xml2xlsx.vbs +0 -0
  80. {pydifftools-0.1.6 → pydifftools-0.1.7}/setup.cfg +0 -0
  81. {pydifftools-0.1.6 → pydifftools-0.1.7}/tests/test_rrng.py +0 -0
@@ -3,3 +3,4 @@ include README.rst
3
3
  include LICENSE.md
4
4
  include pydifftools/diff-doc.js
5
5
  include pydifftools/xml2xlsx.vbs
6
+ recursive-include example_notebook *
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyDiffTools
3
- Version: 0.1.6
3
+ Version: 0.1.7
4
4
  Summary: Diff tools
5
5
  Author: J M Franck
6
6
  License: Copyright (c) 2015, jmfranck
@@ -35,7 +35,17 @@ License: Copyright (c) 2015, jmfranck
35
35
  Description-Content-Type: text/x-rst
36
36
  License-File: LICENSE.md
37
37
  Requires-Dist: selenium
38
- Requires-Dist: fuzzywuzzy
38
+ Requires-Dist: fuzzywuzzy[speedup]
39
+ Requires-Dist: PyYAML>=6.0
40
+ Requires-Dist: watchdog
41
+ Requires-Dist: pydot
42
+ Requires-Dist: python-dateutil
43
+ Requires-Dist: jinja2
44
+ Requires-Dist: nbformat
45
+ Requires-Dist: nbconvert
46
+ Requires-Dist: pygments
47
+ Requires-Dist: ansi2html
48
+ Requires-Dist: lxml
39
49
  Dynamic: license-file
40
50
 
41
51
  pydifftools
@@ -81,6 +91,25 @@ included are (listed in order of fun/utility):
81
91
  (currently tested on windows with *version 3.5* of the former,
82
92
  *not the latest installer*,
83
93
  since crossref isn't built with the most recent version).
94
+ - `pydifft wgrph <graph.yaml>` watches a YAML flowchart description,
95
+ rebuilds the DOT/SVG output using GraphViz, and keeps a browser window
96
+ refreshed as you edit the file. This wraps the former
97
+ ``flowchart/watch_graph.py`` script so all of its functionality is now
98
+ available through the main ``pydifft`` entry point.
99
+ - `pydifft tex2qmd file.tex` converts LaTeX sources to Quarto markdown.
100
+ The converter preserves custom observation blocks and errata tags while
101
+ translating verbatim/python environments into fenced code blocks so the
102
+ result is ready for the Pandoc-based builder.
103
+ - `pydifft qmdb [--watch] [--no-browser] [--webtex]` runs the relocated
104
+ ``fast_build.py`` logic from inside the package. Without ``--watch`` it
105
+ performs a single build of the configured `_quarto.yml` targets into the
106
+ ``_build``/``_display`` directories; with ``--watch`` it starts the HTTP
107
+ server and automatically rebuilds the staged fragments whenever you edit
108
+ a ``.qmd`` file.
109
+ - `pydifft qmdinit [directory]` scaffolds a new Quarto-style project using
110
+ the bundled templates and example ``project1`` hierarchy, then downloads
111
+ MathJax into ``_template/mathjax`` so the builder can run immediately.
112
+ This is analogous to ``git init`` for markdown notebooks.
84
113
  - `pydifft wr <filename.tex|md>` (wrap)
85
114
  This provides a standardized (and
86
115
  short) line
@@ -41,6 +41,25 @@ included are (listed in order of fun/utility):
41
41
  (currently tested on windows with *version 3.5* of the former,
42
42
  *not the latest installer*,
43
43
  since crossref isn't built with the most recent version).
44
+ - `pydifft wgrph <graph.yaml>` watches a YAML flowchart description,
45
+ rebuilds the DOT/SVG output using GraphViz, and keeps a browser window
46
+ refreshed as you edit the file. This wraps the former
47
+ ``flowchart/watch_graph.py`` script so all of its functionality is now
48
+ available through the main ``pydifft`` entry point.
49
+ - `pydifft tex2qmd file.tex` converts LaTeX sources to Quarto markdown.
50
+ The converter preserves custom observation blocks and errata tags while
51
+ translating verbatim/python environments into fenced code blocks so the
52
+ result is ready for the Pandoc-based builder.
53
+ - `pydifft qmdb [--watch] [--no-browser] [--webtex]` runs the relocated
54
+ ``fast_build.py`` logic from inside the package. Without ``--watch`` it
55
+ performs a single build of the configured `_quarto.yml` targets into the
56
+ ``_build``/``_display`` directories; with ``--watch`` it starts the HTTP
57
+ server and automatically rebuilds the staged fragments whenever you edit
58
+ a ``.qmd`` file.
59
+ - `pydifft qmdinit [directory]` scaffolds a new Quarto-style project using
60
+ the bundled templates and example ``project1`` hierarchy, then downloads
61
+ MathJax into ``_template/mathjax`` so the builder can run immediately.
62
+ This is analogous to ``git init`` for markdown notebooks.
44
63
  - `pydifft wr <filename.tex|md>` (wrap)
45
64
  This provides a standardized (and
46
65
  short) line
@@ -0,0 +1,30 @@
1
+
2
+ project:
3
+ type: website
4
+ render:
5
+ - notebook250708.qmd
6
+ - projects.qmd
7
+ - project1/example.qmd
8
+
9
+ website:
10
+ sidebar:
11
+ contents:
12
+ - notebook250708.qmd
13
+ - projects.qmd
14
+ - project1/example.qmd
15
+
16
+ execute:
17
+ cache: true
18
+ jupyter: python3
19
+ fig-width: 6.0
20
+ fig-height: 3.708282 # aspect 1.618
21
+
22
+ format:
23
+ html:
24
+ toc: true
25
+ toc-depth: 4
26
+ toc-location: right
27
+ extensions: [markdown+raw_html]
28
+ title-block-style: none
29
+
30
+ filters: [obs.lua]