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 CHANGED
@@ -1 +1,19 @@
1
- # Package initialization
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()