tketool.markdown 1.3.5__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.
- tketool_markdown-1.3.5/PKG-INFO +35 -0
- tketool_markdown-1.3.5/README.md +17 -0
- tketool_markdown-1.3.5/pyproject.toml +31 -0
- tketool_markdown-1.3.5/setup.cfg +4 -0
- tketool_markdown-1.3.5/src/tketool/markdown/__init__.py +34 -0
- tketool_markdown-1.3.5/src/tketool/markdown/charts.py +754 -0
- tketool_markdown-1.3.5/src/tketool/markdown/document.py +958 -0
- tketool_markdown-1.3.5/src/tketool.markdown.egg-info/PKG-INFO +35 -0
- tketool_markdown-1.3.5/src/tketool.markdown.egg-info/SOURCES.txt +10 -0
- tketool_markdown-1.3.5/src/tketool.markdown.egg-info/dependency_links.txt +1 -0
- tketool_markdown-1.3.5/src/tketool.markdown.egg-info/requires.txt +4 -0
- tketool_markdown-1.3.5/src/tketool.markdown.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: tketool.markdown
|
|
3
|
+
Version: 1.3.5
|
|
4
|
+
Summary: Markdown document and chart construction APIs for tketool
|
|
5
|
+
Author-email: Ke <jiangke1207@icloud.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://pypi.org/project/tketool.markdown/
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Requires-Python: >=3.10
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: tketool.core==1.3.5
|
|
16
|
+
Provides-Extra: test
|
|
17
|
+
Requires-Dist: pytest<9,>=8; extra == "test"
|
|
18
|
+
|
|
19
|
+
# tketool.markdown
|
|
20
|
+
|
|
21
|
+
Programmatic Markdown documents and chart helpers.
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
pip install tketool.markdown
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
```python
|
|
28
|
+
from tketool.markdown import Document
|
|
29
|
+
|
|
30
|
+
doc = Document("report.md")
|
|
31
|
+
doc.write("# Report")
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
The retired `tketool.markdowns` path and abbreviated `M*` class names are not
|
|
35
|
+
shipped.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# tketool.markdown
|
|
2
|
+
|
|
3
|
+
Programmatic Markdown documents and chart helpers.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
pip install tketool.markdown
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
```python
|
|
10
|
+
from tketool.markdown import Document
|
|
11
|
+
|
|
12
|
+
doc = Document("report.md")
|
|
13
|
+
doc.write("# Report")
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
The retired `tketool.markdowns` path and abbreviated `M*` class names are not
|
|
17
|
+
shipped.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=77", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "tketool.markdown"
|
|
7
|
+
version = "1.3.5"
|
|
8
|
+
description = "Markdown document and chart construction APIs for tketool"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
license = "MIT"
|
|
12
|
+
authors = [{ name = "Ke", email = "jiangke1207@icloud.com" }]
|
|
13
|
+
dependencies = ["tketool.core==1.3.5"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"Programming Language :: Python :: 3.10",
|
|
17
|
+
"Programming Language :: Python :: 3.11",
|
|
18
|
+
"Programming Language :: Python :: 3.12",
|
|
19
|
+
"Operating System :: OS Independent",
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
[project.optional-dependencies]
|
|
23
|
+
test = ["pytest>=8,<9"]
|
|
24
|
+
|
|
25
|
+
[project.urls]
|
|
26
|
+
Homepage = "https://pypi.org/project/tketool.markdown/"
|
|
27
|
+
|
|
28
|
+
[tool.setuptools.packages.find]
|
|
29
|
+
where = ["src"]
|
|
30
|
+
include = ["tketool*"]
|
|
31
|
+
namespaces = true
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"""Markdown document and diagram construction primitives."""
|
|
2
|
+
|
|
3
|
+
from .charts import Flowchart, FlowchartColorEnum, FlowchartShapeEnum, GanttChart
|
|
4
|
+
from .document import (
|
|
5
|
+
CodeBlock,
|
|
6
|
+
Document,
|
|
7
|
+
Footer,
|
|
8
|
+
Heading,
|
|
9
|
+
HorizontalRule,
|
|
10
|
+
Image,
|
|
11
|
+
MarkdownItem,
|
|
12
|
+
RawMarkdown,
|
|
13
|
+
Table,
|
|
14
|
+
TableOfContents,
|
|
15
|
+
Text,
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
"CodeBlock",
|
|
20
|
+
"Document",
|
|
21
|
+
"Flowchart",
|
|
22
|
+
"FlowchartColorEnum",
|
|
23
|
+
"FlowchartShapeEnum",
|
|
24
|
+
"Footer",
|
|
25
|
+
"GanttChart",
|
|
26
|
+
"Heading",
|
|
27
|
+
"HorizontalRule",
|
|
28
|
+
"Image",
|
|
29
|
+
"MarkdownItem",
|
|
30
|
+
"RawMarkdown",
|
|
31
|
+
"Table",
|
|
32
|
+
"TableOfContents",
|
|
33
|
+
"Text",
|
|
34
|
+
]
|