stemma-studio 0.4.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.
Files changed (113) hide show
  1. stemma_studio/__init__.py +10 -0
  2. stemma_studio/blog/__init__.py +1 -0
  3. stemma_studio/blog/admin.py +1604 -0
  4. stemma_studio/blog/admin_frontend/admin.css +115 -0
  5. stemma_studio/blog/admin_frontend/admin.js +668 -0
  6. stemma_studio/blog/admin_frontend/buffer.js +25 -0
  7. stemma_studio/blog/admin_frontend/flow.js +325 -0
  8. stemma_studio/blog/admin_frontend/i18n.js +28 -0
  9. stemma_studio/blog/admin_frontend/index.html +134 -0
  10. stemma_studio/blog/admin_server.py +273 -0
  11. stemma_studio/blog/attachments.py +57 -0
  12. stemma_studio/blog/author_preview.py +139 -0
  13. stemma_studio/blog/deploy.py +305 -0
  14. stemma_studio/blog/footnotes.py +56 -0
  15. stemma_studio/blog/frontend/fonts/MaruBuri-Bold.woff2 +0 -0
  16. stemma_studio/blog/frontend/fonts/MaruBuri-Regular.woff2 +0 -0
  17. stemma_studio/blog/frontend/fonts/OFL.txt +114 -0
  18. stemma_studio/blog/frontend/fonts/README.md +11 -0
  19. stemma_studio/blog/frontend/site.css +60 -0
  20. stemma_studio/blog/frontend/site.js +110 -0
  21. stemma_studio/blog/frontend/studio-header.css +15 -0
  22. stemma_studio/blog/frontend/theme.css +4 -0
  23. stemma_studio/blog/homepage.py +344 -0
  24. stemma_studio/blog/input.py +139 -0
  25. stemma_studio/blog/local_folder.py +226 -0
  26. stemma_studio/blog/markdown.py +115 -0
  27. stemma_studio/blog/math-render.cjs +14 -0
  28. stemma_studio/blog/math_support.py +60 -0
  29. stemma_studio/blog/preview.py +153 -0
  30. stemma_studio/blog/render.py +449 -0
  31. stemma_studio/blog/sample/public-v3.json +347 -0
  32. stemma_studio/blog/site_settings.py +172 -0
  33. stemma_studio/blog/vendor/KATEX-LICENSE +21 -0
  34. stemma_studio/blog/vendor/MISTUNE-LICENSE +14 -0
  35. stemma_studio/blog/vendor/README.md +14 -0
  36. stemma_studio/blog/vendor/__init__.py +1 -0
  37. stemma_studio/blog/vendor/katex/katex.cjs +17741 -0
  38. stemma_studio/blog/vendor/mistune/__init__.py +81 -0
  39. stemma_studio/blog/vendor/mistune/__main__.py +124 -0
  40. stemma_studio/blog/vendor/mistune/block_parser.py +486 -0
  41. stemma_studio/blog/vendor/mistune/core.py +209 -0
  42. stemma_studio/blog/vendor/mistune/directives/__init__.py +31 -0
  43. stemma_studio/blog/vendor/mistune/directives/_base.py +121 -0
  44. stemma_studio/blog/vendor/mistune/directives/_fenced.py +142 -0
  45. stemma_studio/blog/vendor/mistune/directives/_rst.py +73 -0
  46. stemma_studio/blog/vendor/mistune/directives/admonition.py +61 -0
  47. stemma_studio/blog/vendor/mistune/directives/image.py +152 -0
  48. stemma_studio/blog/vendor/mistune/directives/include.py +65 -0
  49. stemma_studio/blog/vendor/mistune/directives/toc.py +105 -0
  50. stemma_studio/blog/vendor/mistune/helpers.py +137 -0
  51. stemma_studio/blog/vendor/mistune/inline_parser.py +390 -0
  52. stemma_studio/blog/vendor/mistune/list_parser.py +254 -0
  53. stemma_studio/blog/vendor/mistune/markdown.py +110 -0
  54. stemma_studio/blog/vendor/mistune/plugins/__init__.py +38 -0
  55. stemma_studio/blog/vendor/mistune/plugins/abbr.py +103 -0
  56. stemma_studio/blog/vendor/mistune/plugins/def_list.py +135 -0
  57. stemma_studio/blog/vendor/mistune/plugins/footnotes.py +153 -0
  58. stemma_studio/blog/vendor/mistune/plugins/formatting.py +173 -0
  59. stemma_studio/blog/vendor/mistune/plugins/math.py +57 -0
  60. stemma_studio/blog/vendor/mistune/plugins/ruby.py +100 -0
  61. stemma_studio/blog/vendor/mistune/plugins/speedup.py +44 -0
  62. stemma_studio/blog/vendor/mistune/plugins/spoiler.py +80 -0
  63. stemma_studio/blog/vendor/mistune/plugins/table.py +179 -0
  64. stemma_studio/blog/vendor/mistune/plugins/task_lists.py +67 -0
  65. stemma_studio/blog/vendor/mistune/plugins/url.py +23 -0
  66. stemma_studio/blog/vendor/mistune/renderers/__init__.py +0 -0
  67. stemma_studio/blog/vendor/mistune/renderers/_list.py +60 -0
  68. stemma_studio/blog/vendor/mistune/renderers/html.py +151 -0
  69. stemma_studio/blog/vendor/mistune/renderers/markdown.py +146 -0
  70. stemma_studio/blog/vendor/mistune/renderers/rst.py +147 -0
  71. stemma_studio/blog/vendor/mistune/toc.py +111 -0
  72. stemma_studio/blog/vendor/mistune/util.py +81 -0
  73. stemma_studio/cli.py +178 -0
  74. stemma_studio/core/__init__.py +1 -0
  75. stemma_studio/core/__main__.py +175 -0
  76. stemma_studio/core/adapters.py +33 -0
  77. stemma_studio/core/application.py +357 -0
  78. stemma_studio/core/archive_sync.py +305 -0
  79. stemma_studio/core/blog.py +313 -0
  80. stemma_studio/core/containment.py +50 -0
  81. stemma_studio/core/disclosure.py +190 -0
  82. stemma_studio/core/domain.py +221 -0
  83. stemma_studio/core/editing.py +65 -0
  84. stemma_studio/core/folder_import.py +353 -0
  85. stemma_studio/core/migrations.py +59 -0
  86. stemma_studio/core/public_assets.py +57 -0
  87. stemma_studio/core/publication.py +194 -0
  88. stemma_studio/core/releases.py +168 -0
  89. stemma_studio/core/repository.py +196 -0
  90. stemma_studio/core/uploads.py +158 -0
  91. stemma_studio/editor/__init__.py +1 -0
  92. stemma_studio/editor/frontend/app.js +495 -0
  93. stemma_studio/editor/frontend/feedback.js +60 -0
  94. stemma_studio/editor/frontend/genealogy-layout.js +46 -0
  95. stemma_studio/editor/frontend/genealogy.css +3 -0
  96. stemma_studio/editor/frontend/genealogy.html +10 -0
  97. stemma_studio/editor/frontend/genealogy.js +106 -0
  98. stemma_studio/editor/frontend/i18n.js +28 -0
  99. stemma_studio/editor/frontend/index.html +18 -0
  100. stemma_studio/editor/frontend/style.css +19 -0
  101. stemma_studio/editor/frontend/work-buffer.js +42 -0
  102. stemma_studio/editor/server.py +221 -0
  103. stemma_studio/editor/service.py +424 -0
  104. stemma_studio/editor/workspace_server.py +67 -0
  105. stemma_studio/locale/__init__.py +159 -0
  106. stemma_studio/locale/en.json +697 -0
  107. stemma_studio/locale/ko.json +697 -0
  108. stemma_studio-0.4.0.dist-info/METADATA +276 -0
  109. stemma_studio-0.4.0.dist-info/RECORD +113 -0
  110. stemma_studio-0.4.0.dist-info/WHEEL +5 -0
  111. stemma_studio-0.4.0.dist-info/entry_points.txt +2 -0
  112. stemma_studio-0.4.0.dist-info/licenses/LICENSE +21 -0
  113. stemma_studio-0.4.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,10 @@
1
+ """Stemma: a local writing desk, genealogy model and bilingual blog publisher.
2
+
3
+ The three subpackages depend in one direction only. ``core`` holds the model,
4
+ persistence and publication rules and imports neither sibling. ``blog`` renders
5
+ and deploys the public site on top of ``core``. ``editor`` serves the writing
6
+ desk and mounts the blog's publication screens. ``tests/test_package_layout.py``
7
+ enforces that direction.
8
+ """
9
+
10
+ __version__ = "0.4.0"
@@ -0,0 +1 @@
1
+ """Bilingual static blog: Markdown rendering, preview, publication admin and deploy."""