markitecture 0.2.3__tar.gz → 0.2.31__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {markitecture-0.2.3 → markitecture-0.2.31}/Makefile +46 -42
- {markitecture-0.2.3 → markitecture-0.2.31}/PKG-INFO +1 -1
- {markitecture-0.2.3 → markitecture-0.2.31}/pyproject.toml +4 -8
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/__init__.py +1 -4
- markitecture-0.2.31/src/markitecture/version.py +1 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/.gitignore +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/.ruff.toml +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/CONTRIBUTING.md +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/LICENSE +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/README.md +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/badges/compact.svg +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/badges/detailed.svg +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/badges/minimal.svg +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/badges/modern.svg +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/badges/retro.svg +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/badges/shields.svg +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/buttons/rectangle.svg +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/buttons/vesica-piscis.svg +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/callouts/designs.svg +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/callouts/info.svg +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/cookbooks/examples.mdx +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/favicon.svg +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/line.svg +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/logos/circle-dark.svg +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/logos/circle-light.svg +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/logos/logo-box.svg +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/logos/logo-rectangle.svg +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/logos/logo.svg +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/assets/shield.svg +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/community.mdx +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/features/content-analysis.mdx +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/features/health-score.mdx +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/features/link-management.mdx +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/features/static-site-generation.mdx +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/features/text-splitting.mdx +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/guides/api-reference.mdx +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/guides/cli-reference.mdx +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/guides/configuration.mdx +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/guides/installation.mdx +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/guides/quickstart.mdx +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/index.mdx +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/mint.json +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/docs/philosophy.mdx +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/__main__.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/cli/__init__.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/cli/app.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/cli/commands/__init__.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/cli/commands/config.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/cli/commands/links.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/cli/commands/metrics.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/cli/commands/mkdocs.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/cli/commands/split.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/errors.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/generators/__init__.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/generators/configs/__init__.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/generators/configs/mintlify_json.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/generators/configs/mkdocs_yaml.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/metrics/__init__.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/metrics/analyzer.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/metrics/badges/__init__.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/metrics/badges/base.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/metrics/badges/compact.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/metrics/badges/detailed.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/metrics/badges/minimal.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/metrics/badges/modern.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/metrics/badges/retro.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/metrics/badges/shields.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/metrics/svg_generator.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/processing/__init__.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/processing/link_validator.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/processing/reflink_converter.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/processing/reflink_extractor.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/processing/text_splitter.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/settings/__init__.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/settings/config.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/settings/validators.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/utils/__init__.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/utils/file_handler.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/utils/printer.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/utils/sanitizer.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/__init__.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/cli/__init__.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/cli/commands/__init__.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/cli/test_app.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/conftest.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/data/mistletoe.md +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/data/pydantic.md +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/data/readme-ai.html +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/data/readme-ai.md +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/generators/__init__.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/metrics/__init__.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/metrics/test_analyzer.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/metrics/test_svg_generator.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/processing/__init__.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/processing/test_link_validator.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/processing/test_reflink_converter.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/settings/__init__.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/settings/test_validators.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/test_validators.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/utils/__init__.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/tests/utils/test_sanitizer.py +0 -0
- {markitecture-0.2.3 → markitecture-0.2.31}/uv.lock +0 -0
@@ -7,17 +7,40 @@ MAKEFLAGS += --no-builtin-rules
|
|
7
7
|
|
8
8
|
DOCS_DIR := docs
|
9
9
|
PYPROJECT_TOML := pyproject.toml
|
10
|
-
PYPI_VERSION := 0.2.
|
10
|
+
PYPI_VERSION := 0.2.31
|
11
11
|
PYTHON_VERSION := 3.11
|
12
12
|
TARGET := src/markitecture
|
13
13
|
TARGET_TEST := tests
|
14
|
-
TEST_DATA := tests/data/readme-ai.md
|
15
14
|
|
15
|
+
# -------------------------
|
16
|
+
# Repository Cleanup
|
17
|
+
# -------------------------
|
18
|
+
|
19
|
+
clean: clean-build clean-pyc clean-test ## Remove all build, test, coverage, and Python artifacts
|
20
|
+
|
21
|
+
clean-build: ## Remove build artifacts
|
22
|
+
rm -fr build/
|
23
|
+
rm -fr dist/
|
24
|
+
rm -fr .eggs/
|
25
|
+
find . -name '*.egg-info' -exec rm -fr {} +
|
26
|
+
find . -name '*.egg' -exec rm -f {} +
|
27
|
+
|
28
|
+
clean-pyc: ## Remove Python file artifacts
|
29
|
+
find . -name '*.pyc' -exec rm -f {} +
|
30
|
+
find . -name '*.pyo' -exec rm -f {} +
|
31
|
+
find . -name '*~' -exec rm -f {} +
|
32
|
+
find . -name '__pycache__' -exec rm -fr {} +
|
33
|
+
|
34
|
+
clean-test: ## Remove test and coverage artifacts
|
35
|
+
rm -fr .tox/
|
36
|
+
rm -f .coverage
|
37
|
+
rm -fr htmlcov/
|
38
|
+
rm -fr .pytest_cache
|
16
39
|
|
17
|
-
# -------------------------------------------------------------------
|
18
|
-
# Build: Build the distribution package using uv
|
19
|
-
# -------------------------------------------------------------------
|
20
40
|
|
41
|
+
# -------------------------
|
42
|
+
# Development Environment
|
43
|
+
# -------------------------
|
21
44
|
|
22
45
|
.PHONY: build
|
23
46
|
build: ## Build the distribution package using uv
|
@@ -50,18 +73,18 @@ venv: ## Create a virtual environment
|
|
50
73
|
uv venv --python $(PYTHON_VERSION)
|
51
74
|
|
52
75
|
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
76
|
+
# -------------------------
|
77
|
+
# Documentation
|
78
|
+
# -------------------------
|
56
79
|
|
57
80
|
.PHONY: docs
|
58
81
|
docs: ## Serve mintlify documentation locally
|
59
82
|
cd $(DOCS_DIR) && npx mintlify dev --verbose
|
60
83
|
|
61
84
|
|
62
|
-
#
|
63
|
-
# Format & Lint
|
64
|
-
#
|
85
|
+
# -------------------------
|
86
|
+
# Format & Lint
|
87
|
+
# -------------------------
|
65
88
|
|
66
89
|
|
67
90
|
.PHONY: format-toml
|
@@ -90,20 +113,20 @@ typecheck-pyright: ## Type-check Python files using Pyright
|
|
90
113
|
uv run pyright $(TARGET)
|
91
114
|
|
92
115
|
|
93
|
-
#
|
94
|
-
# Tests
|
95
|
-
#
|
96
|
-
|
116
|
+
# -------------------------
|
117
|
+
# Tests
|
118
|
+
# -------------------------
|
97
119
|
|
98
120
|
.PHONY: test
|
99
121
|
test: ## Run test suite using Pytest
|
100
122
|
uv run pytest $(TARGET_TEST) --config-file $(PYPROJECT_TOML)
|
101
123
|
|
102
124
|
|
103
|
-
#
|
104
|
-
#
|
105
|
-
#
|
125
|
+
# -------------------------
|
126
|
+
# CLI Batch Testing
|
127
|
+
# -------------------------
|
106
128
|
|
129
|
+
TEST_DATA := tests/data/readme-ai.md
|
107
130
|
|
108
131
|
.PHONY: run-examples
|
109
132
|
run-examples: ## Run examples for documentation and testing
|
@@ -134,32 +157,13 @@ run-pypi: ## Run examples for documentation
|
|
134
157
|
uvx --from markitecture --isolated markitect --metrics.input $HOME/Projects/GitHub/readme-ai/README.md --metrics.style all --metrics.output-dir markitet_badges
|
135
158
|
|
136
159
|
|
137
|
-
#
|
138
|
-
# Utils
|
139
|
-
#
|
140
|
-
|
141
|
-
|
142
|
-
clean: clean-build clean-pyc clean-test ## remove all build, test, coverage and Python artifacts
|
143
|
-
|
144
|
-
clean-build: ## remove build artifacts
|
145
|
-
rm -fr build/
|
146
|
-
rm -fr dist/
|
147
|
-
rm -fr .eggs/
|
148
|
-
rm -fr .venv/
|
149
|
-
find . -name '*.egg-info' -exec rm -fr {} +
|
150
|
-
find . -name '*.egg' -exec rm -f {} +
|
160
|
+
# -------------------------
|
161
|
+
# Utils
|
162
|
+
# -------------------------
|
151
163
|
|
152
|
-
|
153
|
-
|
154
|
-
find . -name '*.pyo' -exec rm -f {} +
|
155
|
-
find . -name '*~' -exec rm -f {} +
|
156
|
-
find . -name '__pycache__' -exec rm -fr {} +
|
164
|
+
bump-version:
|
165
|
+
python scripts/bump_version.py src/markitecture/version.py patch
|
157
166
|
|
158
|
-
clean-test: ## remove test and coverage artifacts
|
159
|
-
rm -fr .tox/
|
160
|
-
rm -f .coverage
|
161
|
-
rm -fr htmlcov/
|
162
|
-
rm -fr .pytest_cache
|
163
167
|
|
164
168
|
.PHONY: help
|
165
169
|
help: ## Display this help
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: markitecture
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.31
|
4
4
|
Summary: ❂ Markdown tools for modular and flexible docs: link validation, reference link conversion, text splitting, & more.
|
5
5
|
Project-URL: documentation, https://github.com/eli64s/markitecture/blob/main/README.md
|
6
6
|
Project-URL: homepage, https://github.com/eli64s/markitecture
|
@@ -4,9 +4,8 @@ requires = [ "hatch-fancy-pypi-readme", "hatchling" ]
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "markitecture"
|
7
|
-
version = "0.2.3"
|
8
7
|
description = "❂ Markdown tools for modular and flexible docs: link validation, reference link conversion, text splitting, & more."
|
9
|
-
dynamic = ["readme"]
|
8
|
+
dynamic = ["readme", "version"]
|
10
9
|
keywords = [
|
11
10
|
"automated-markdown",
|
12
11
|
"content-management",
|
@@ -107,7 +106,7 @@ include = [
|
|
107
106
|
]
|
108
107
|
|
109
108
|
[tool.hatch.version]
|
110
|
-
path = 'src/markitecture/
|
109
|
+
path = 'src/markitecture/version.py'
|
111
110
|
|
112
111
|
[tool.hatch.metadata]
|
113
112
|
allow-direct-references = true
|
@@ -127,16 +126,13 @@ path = "README.md"
|
|
127
126
|
[tool.pytest.ini_options]
|
128
127
|
addopts = [
|
129
128
|
"-vv",
|
130
|
-
"-
|
131
|
-
"--tb=short",
|
129
|
+
"-n=auto",
|
132
130
|
"--durations=5",
|
133
131
|
"--cov=src/",
|
134
132
|
"--cov-branch",
|
135
|
-
"--cov-fail-under=
|
133
|
+
"--cov-fail-under=0",
|
136
134
|
"--cov-report=term-missing:skip-covered",
|
137
135
|
"--cov-report=json:tests/.reports/coverage.json",
|
138
|
-
"--asyncio-mode=auto",
|
139
|
-
"--numprocesses=auto",
|
140
136
|
]
|
141
137
|
asyncio_default_fixture_loop_scope = "function"
|
142
138
|
asyncio_mode = "auto"
|
@@ -1,5 +1,3 @@
|
|
1
|
-
from importlib.metadata import version
|
2
|
-
|
3
1
|
from markitecture import metrics
|
4
2
|
|
5
3
|
from .errors import (
|
@@ -19,8 +17,7 @@ from .processing.reflink_converter import (
|
|
19
17
|
from .processing.text_splitter import MarkdownTextSplitter
|
20
18
|
from .utils.file_handler import FileHandler
|
21
19
|
from .utils.printer import RichPrinter
|
22
|
-
|
23
|
-
__version__ = version("markitecture")
|
20
|
+
from .version import __version__
|
24
21
|
|
25
22
|
__all__: list[str] = [
|
26
23
|
"FileHandler",
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.2.31"
|
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
|
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
|
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
|
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
|
{markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/generators/configs/mintlify_json.py
RENAMED
File without changes
|
{markitecture-0.2.3 → markitecture-0.2.31}/src/markitecture/generators/configs/mkdocs_yaml.py
RENAMED
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
|
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
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|