npxpy 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.
- npxpy/__init__.py +57 -0
- npxpy/_version.py +1 -0
- npxpy/gds.py +1758 -0
- npxpy/images/__init__.py +0 -0
- npxpy/images/logo.png +0 -0
- npxpy/nodes/__init__.py +0 -0
- npxpy/nodes/_viewport_helpers.py +1100 -0
- npxpy/nodes/aligners.py +1335 -0
- npxpy/nodes/misc.py +412 -0
- npxpy/nodes/node.py +794 -0
- npxpy/nodes/project.py +235 -0
- npxpy/nodes/space.py +375 -0
- npxpy/nodes/structures.py +877 -0
- npxpy/preset.py +470 -0
- npxpy/resources.py +317 -0
- npxpy-0.1.0.dist-info/LICENSE +21 -0
- npxpy-0.1.0.dist-info/METADATA +229 -0
- npxpy-0.1.0.dist-info/RECORD +20 -0
- npxpy-0.1.0.dist-info/WHEEL +5 -0
- npxpy-0.1.0.dist-info/top_level.txt +1 -0
npxpy/__init__.py
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# npxpy/__init__.py
|
|
2
|
+
import sys
|
|
3
|
+
import warnings
|
|
4
|
+
|
|
5
|
+
# Importing from npxpy module files
|
|
6
|
+
from .preset import Preset
|
|
7
|
+
from .resources import Image, Mesh
|
|
8
|
+
|
|
9
|
+
# Importing from npxpy/nodes submodule
|
|
10
|
+
from .nodes.project import Project
|
|
11
|
+
from .nodes.space import Scene, Group, Array
|
|
12
|
+
from .nodes.structures import Structure, Text, Lens
|
|
13
|
+
from .nodes.aligners import (
|
|
14
|
+
CoarseAligner,
|
|
15
|
+
InterfaceAligner,
|
|
16
|
+
FiberAligner,
|
|
17
|
+
MarkerAligner,
|
|
18
|
+
EdgeAligner,
|
|
19
|
+
)
|
|
20
|
+
from .nodes.misc import DoseCompensation, Capture, StageMove, Wait
|
|
21
|
+
from ._version import __version__
|
|
22
|
+
|
|
23
|
+
# Define what should be available when importing npxpy (this is the core)
|
|
24
|
+
__all__ = [
|
|
25
|
+
"Preset",
|
|
26
|
+
"Image",
|
|
27
|
+
"Mesh",
|
|
28
|
+
"Project",
|
|
29
|
+
"Scene",
|
|
30
|
+
"Group",
|
|
31
|
+
"Array",
|
|
32
|
+
"Structure",
|
|
33
|
+
"Text",
|
|
34
|
+
"Lens",
|
|
35
|
+
"CoarseAligner",
|
|
36
|
+
"InterfaceAligner",
|
|
37
|
+
"FiberAligner",
|
|
38
|
+
"MarkerAligner",
|
|
39
|
+
"EdgeAligner",
|
|
40
|
+
"DoseCompensation",
|
|
41
|
+
"Capture",
|
|
42
|
+
"StageMove",
|
|
43
|
+
"Wait",
|
|
44
|
+
]
|
|
45
|
+
|
|
46
|
+
# Metadata
|
|
47
|
+
__author__ = "Caghan Uenlueer"
|
|
48
|
+
__license__ = "MIT"
|
|
49
|
+
__email__ = "caghan.uenlueer@kip.uni-heidelberg.de"
|
|
50
|
+
|
|
51
|
+
# Python version check
|
|
52
|
+
if sys.version_info < (3, 7, 0):
|
|
53
|
+
warnings.warn(
|
|
54
|
+
"The installed Python version is outdated. Please upgrade to"
|
|
55
|
+
" Python 3.7 or newer for continued npxpy updates.",
|
|
56
|
+
Warning,
|
|
57
|
+
)
|
npxpy/_version.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.0"
|