markitecture 0.2.2__py3-none-any.whl → 0.2.31__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- markitecture/__init__.py +1 -4
- markitecture/errors.py +9 -3
- markitecture/version.py +1 -0
- {markitecture-0.2.2.dist-info → markitecture-0.2.31.dist-info}/METADATA +13 -4
- {markitecture-0.2.2.dist-info → markitecture-0.2.31.dist-info}/RECORD +8 -7
- {markitecture-0.2.2.dist-info → markitecture-0.2.31.dist-info}/WHEEL +0 -0
- {markitecture-0.2.2.dist-info → markitecture-0.2.31.dist-info}/entry_points.txt +0 -0
- {markitecture-0.2.2.dist-info → markitecture-0.2.31.dist-info}/licenses/LICENSE +0 -0
markitecture/__init__.py
CHANGED
@@ -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",
|
markitecture/errors.py
CHANGED
@@ -4,7 +4,9 @@ from __future__ import annotations
|
|
4
4
|
|
5
5
|
from typing import Any
|
6
6
|
|
7
|
-
#
|
7
|
+
# -------------------------------------------------------------------
|
8
|
+
# Base Exceptions
|
9
|
+
# -------------------------------------------------------------------
|
8
10
|
|
9
11
|
|
10
12
|
class MarkitectureBaseError(Exception):
|
@@ -25,7 +27,9 @@ class FileOperationError(MarkitectureBaseError):
|
|
25
27
|
...
|
26
28
|
|
27
29
|
|
28
|
-
#
|
30
|
+
# -------------------------------------------------------------------
|
31
|
+
# Command-Line Interface (CLI) Exceptions
|
32
|
+
# -------------------------------------------------------------------
|
29
33
|
|
30
34
|
|
31
35
|
class CLIError(MarkitectureBaseError):
|
@@ -35,7 +39,9 @@ class CLIError(MarkitectureBaseError):
|
|
35
39
|
super().__init__(f"Invalid option provided to CLI: {message}", *args)
|
36
40
|
|
37
41
|
|
38
|
-
#
|
42
|
+
# -------------------------------------------------------------------
|
43
|
+
# File System Exceptions
|
44
|
+
# -------------------------------------------------------------------
|
39
45
|
|
40
46
|
|
41
47
|
class FileSystemError(MarkitectureBaseError):
|
markitecture/version.py
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.2.31"
|
@@ -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
|
@@ -43,7 +43,7 @@ Description-Content-Type: text/markdown
|
|
43
43
|
</picture>
|
44
44
|
|
45
45
|
<h3 align="center">
|
46
|
-
|
46
|
+
The Architecture of Better Documentation.
|
47
47
|
</h3>
|
48
48
|
<p align="center">
|
49
49
|
<em>Markitecture: The Python toolkit that empowers modular Markdown workflows.</em>
|
@@ -239,11 +239,17 @@ Contributions are welcome! Whether it's bug reports, feature requests, or code c
|
|
239
239
|
Copyright © 2024-2025 [Markitecture][markitecture]. <br />
|
240
240
|
Released under the [MIT][mit-license] license.
|
241
241
|
|
242
|
-
<div align="
|
242
|
+
<div align="right">
|
243
|
+
|
244
|
+
[![][back-to-top]](https://github.com/eli64s/markitecture/tree/main/#top)
|
245
|
+
|
246
|
+
</div>
|
247
|
+
|
248
|
+
<!-- <div align="left">
|
243
249
|
<a href="#top">
|
244
250
|
<img src="https://raw.githubusercontent.com/eli64s/markitecture/77bec69129dd3a075d7d0816c7bd826da131ccc7/docs/assets/buttons/rectangle.svg" width="100px" height="100px" alt="Return to Top">
|
245
251
|
</a>
|
246
|
-
</div>
|
252
|
+
</div> -->
|
247
253
|
|
248
254
|
<div align="center">
|
249
255
|
<img src="https://raw.githubusercontent.com/eli64s/markitecture/216a92894e6f30c707a214fad5a5fba417e3bc39/docs/assets/line.svg" alt="separator" width="100%" height="2px" style="margin: 20px 0;">
|
@@ -252,6 +258,9 @@ Released under the [MIT][mit-license] license.
|
|
252
258
|
|
253
259
|
<!-- REFERENCE LINKS -->
|
254
260
|
|
261
|
+
<!-- BADGES -->
|
262
|
+
[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-7934C5?style=flat-square
|
263
|
+
|
255
264
|
<!-- PROJECT RESOURCES -->
|
256
265
|
[pypi]: https://pypi.org/project/markitecture/
|
257
266
|
[markitecture]: https://github.com/eli64s/markitecture
|
@@ -1,6 +1,7 @@
|
|
1
|
-
markitecture/__init__.py,sha256=
|
1
|
+
markitecture/__init__.py,sha256=g7bCw-O5qNDoHS-rPHKP8SRYYL6D3eA8v1D-3oRzngY,940
|
2
2
|
markitecture/__main__.py,sha256=dpolm4cutAQQMX5n20Lx0MXxMZokzaI0W3ieXKhwRno,83
|
3
|
-
markitecture/errors.py,sha256=
|
3
|
+
markitecture/errors.py,sha256=x5QrksRA1cMygGuCTiKA5bXM1OpKlMJoou2b7ajrO7M,1659
|
4
|
+
markitecture/version.py,sha256=uoxxAPP6x3ekeKjUrqxyllP0-QmXbfUEQA8rJSp6Z3E,23
|
4
5
|
markitecture/cli/__init__.py,sha256=dsYvYkXGLj2RV64cwxk4K0HNsR8AJAFh0QwIxMw5MOc,64
|
5
6
|
markitecture/cli/app.py,sha256=Jk8tisqVe6zNzdSrJ3JFuQKPMGD61hBoiwGkkmAOfkE,1113
|
6
7
|
markitecture/cli/commands/__init__.py,sha256=9Ww1F_DKzNnfEmdLyh3Lox7l9STuUtq_b4hF6NSDiUM,568
|
@@ -36,8 +37,8 @@ markitecture/utils/__init__.py,sha256=y6ur3d-KUAE7WRMTmBV41QqwcoVHoMxZB8Ba2JoD1S
|
|
36
37
|
markitecture/utils/file_handler.py,sha256=ixFzMGgLh5DMwK7zUwyn_Fjk7z3OOvNbKn4uxpzIIPU,863
|
37
38
|
markitecture/utils/printer.py,sha256=dPywBAS6qh3sKFhwB8D2Pe9TqsoeDH600Wt4RMMjGos,6948
|
38
39
|
markitecture/utils/sanitizer.py,sha256=MjfVMSkXFP3X9_A8czqzGkE5u9RAM8TosuhfWsEbUJg,2227
|
39
|
-
markitecture-0.2.
|
40
|
-
markitecture-0.2.
|
41
|
-
markitecture-0.2.
|
42
|
-
markitecture-0.2.
|
43
|
-
markitecture-0.2.
|
40
|
+
markitecture-0.2.31.dist-info/METADATA,sha256=nFIRODjmBojICeq0Id-XZ8ypnVKlMXJmm6AfExeyrIM,11937
|
41
|
+
markitecture-0.2.31.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
42
|
+
markitecture-0.2.31.dist-info/entry_points.txt,sha256=neXBHoMEodLhdSjfqVoz9fnKODF_tdolI40Xm06F2pk,60
|
43
|
+
markitecture-0.2.31.dist-info/licenses/LICENSE,sha256=_lS8UU-SncVp61_NHQp9PHIAiDZtNuKYeaqyFDiF6Bk,1109
|
44
|
+
markitecture-0.2.31.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|