ofplang-export 0.1.0__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.
@@ -0,0 +1,13 @@
1
+ """ofplang export: write ofplang documents out in a form people read.
2
+
3
+ The one target so far is `view` — the interactive viewer as a single HTML
4
+ file. See `ofplang.export.cli` for the command, `ofplang.export.template` for
5
+ the contract between this package and the page it fills.
6
+ """
7
+
8
+ from importlib.metadata import PackageNotFoundError, version
9
+
10
+ try:
11
+ __version__ = version("ofplang-export")
12
+ except PackageNotFoundError: # a source tree without installed metadata
13
+ __version__ = "0+unknown"
@@ -0,0 +1,5 @@
1
+ import sys
2
+
3
+ from .cli import main
4
+
5
+ sys.exit(main())