xsl 0.1.5__py3-none-any.whl → 0.1.8__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.
- xsl/__init__.py +19 -1
- xsl/__main__.py +15 -0
- xsl/cli.py +337 -1103
- xsl/editor.py +488 -2
- xsl/server.py +164 -2
- xsl/utils.py +103 -2
- xsl-0.1.8.dist-info/METADATA +372 -0
- xsl-0.1.8.dist-info/RECORD +11 -0
- xsl-0.1.8.dist-info/entry_points.txt +4 -0
- xsl-0.1.5.dist-info/METADATA +0 -110
- xsl-0.1.5.dist-info/RECORD +0 -10
- xsl-0.1.5.dist-info/entry_points.txt +0 -4
- {xsl-0.1.5.dist-info → xsl-0.1.8.dist-info}/LICENSE +0 -0
- {xsl-0.1.5.dist-info → xsl-0.1.8.dist-info}/WHEEL +0 -0
xsl/__init__.py
CHANGED
@@ -1 +1,19 @@
|
|
1
|
-
|
1
|
+
"""
|
2
|
+
XSL - Universal File Editor for XML/SVG/HTML
|
3
|
+
|
4
|
+
A powerful tool for editing XML-based files with XPath and CSS selectors.
|
5
|
+
"""
|
6
|
+
|
7
|
+
__version__ = '0.1.0'
|
8
|
+
|
9
|
+
# Core functionality
|
10
|
+
from .editor import FileEditor
|
11
|
+
from .cli import CLI, main as cli_main
|
12
|
+
from .server import FileEditorServer
|
13
|
+
|
14
|
+
__all__ = [
|
15
|
+
'FileEditor',
|
16
|
+
'CLI',
|
17
|
+
'FileEditorServer',
|
18
|
+
'cli_main',
|
19
|
+
]
|
xsl/__main__.py
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env python3
|
2
|
+
"""
|
3
|
+
Main entry point for the xsl package.
|
4
|
+
|
5
|
+
This module allows the package to be run as a script using `python -m xsl`.
|
6
|
+
"""
|
7
|
+
|
8
|
+
def main():
|
9
|
+
"""Run the xsl CLI."""
|
10
|
+
from .cli import main as cli_main
|
11
|
+
cli_main()
|
12
|
+
|
13
|
+
|
14
|
+
if __name__ == "__main__":
|
15
|
+
main()
|