pyfig 1.0.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.
- pyfig/__init__.py +16 -0
- pyfig/fig.py +1706 -0
- pyfig/testing.py +68 -0
- pyfig/tests/test_fig.py +136 -0
- pyfig-1.0.0.dist-info/METADATA +427 -0
- pyfig-1.0.0.dist-info/RECORD +9 -0
- pyfig-1.0.0.dist-info/WHEEL +4 -0
- pyfig-1.0.0.dist-info/entry_points.txt +4 -0
- pyfig-1.0.0.dist-info/licenses/LICENSE +28 -0
pyfig/__init__.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
|
|
3
|
+
if sys.platform != "win32":
|
|
4
|
+
raise OSError("Windows-only module")
|
|
5
|
+
|
|
6
|
+
from functools import wraps
|
|
7
|
+
from typing import Any
|
|
8
|
+
|
|
9
|
+
from .testing import test as _test # noqa
|
|
10
|
+
|
|
11
|
+
__version__ = "1.0.0"
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@wraps(_test)
|
|
15
|
+
def test(*options: str, plugins: Any | None = None) -> int:
|
|
16
|
+
return _test(__name__, *options, plugins=plugins)
|