PyroLab 0.3.0__tar.gz → 0.3.2__tar.gz

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.
Files changed (67) hide show
  1. pyrolab-0.3.2/MANIFEST.in +4 -0
  2. {PyroLab-0.3.0 → pyrolab-0.3.2}/PKG-INFO +16 -8
  3. {PyroLab-0.3.0 → pyrolab-0.3.2}/README.md +10 -4
  4. {PyroLab-0.3.0 → pyrolab-0.3.2}/pyproject.toml +48 -25
  5. {PyroLab-0.3.0/src → pyrolab-0.3.2}/pyrolab/__init__.py +1 -1
  6. pyrolab-0.3.2/pyrolab/data/wordlist.txt +9890 -0
  7. pyrolab-0.3.2/pyrolab/drivers/VISAResourceExtensions.py +242 -0
  8. pyrolab-0.3.2/pyrolab/drivers/__init__.py +161 -0
  9. pyrolab-0.3.2/pyrolab/drivers/arduino/__init__.py +16 -0
  10. pyrolab-0.3.2/pyrolab/drivers/arduino/arduino.py +175 -0
  11. pyrolab-0.3.2/pyrolab/drivers/cameras/__init__.py +16 -0
  12. pyrolab-0.3.2/pyrolab/drivers/cameras/sciTSI.py +208 -0
  13. pyrolab-0.3.2/pyrolab/drivers/cameras/thorcam.py +560 -0
  14. pyrolab-0.3.2/pyrolab/drivers/cameras/uc480.py +414 -0
  15. pyrolab-0.3.2/pyrolab/drivers/lasers/__init__.py +16 -0
  16. pyrolab-0.3.2/pyrolab/drivers/lasers/ppcl55x.py +627 -0
  17. pyrolab-0.3.2/pyrolab/drivers/lasers/sachertec.py +103 -0
  18. pyrolab-0.3.2/pyrolab/drivers/lasers/tsl550.py +1487 -0
  19. pyrolab-0.3.2/pyrolab/drivers/motion/__init__.py +16 -0
  20. pyrolab-0.3.2/pyrolab/drivers/motion/kinesis/__init__.py +61 -0
  21. pyrolab-0.3.2/pyrolab/drivers/motion/kinesis/bpc303.py +421 -0
  22. pyrolab-0.3.2/pyrolab/drivers/motion/kinesis/kdc101.py +791 -0
  23. pyrolab-0.3.2/pyrolab/drivers/motion/max31x.py +239 -0
  24. pyrolab-0.3.2/pyrolab/drivers/motion/prm1z8.py +53 -0
  25. pyrolab-0.3.2/pyrolab/drivers/motion/z8xx.py +141 -0
  26. pyrolab-0.3.2/pyrolab/drivers/sample.py +295 -0
  27. pyrolab-0.3.2/pyrolab/drivers/scopes/__init__.py +16 -0
  28. pyrolab-0.3.2/pyrolab/drivers/scopes/rohdeschwarz.py +564 -0
  29. pyrolab-0.3.2/pyrolab/drivers/smu/__init__.py +16 -0
  30. pyrolab-0.3.2/pyrolab/drivers/smu/keysight.py +386 -0
  31. {PyroLab-0.3.0/src → pyrolab-0.3.2}/pyrolab/manager.py +0 -3
  32. {PyroLab-0.3.0/src → pyrolab-0.3.2}/pyrolab/server.py +29 -5
  33. {PyroLab-0.3.0/src/PyroLab.egg-info → pyrolab-0.3.2/pyrolab.egg-info}/PKG-INFO +16 -8
  34. pyrolab-0.3.2/pyrolab.egg-info/SOURCES.txt +57 -0
  35. {PyroLab-0.3.0/src/PyroLab.egg-info → pyrolab-0.3.2/pyrolab.egg-info}/entry_points.txt +0 -1
  36. pyrolab-0.3.2/pyrolab.egg-info/requires.txt +50 -0
  37. pyrolab-0.3.2/pyrolab.egg-info/top_level.txt +1 -0
  38. pyrolab-0.3.2/tests/test_code_interface.py +29 -0
  39. pyrolab-0.3.2/tests/test_configure.py +150 -0
  40. pyrolab-0.3.2/tests/test_daemon.py +24 -0
  41. pyrolab-0.3.2/tests/test_errors.py +0 -0
  42. pyrolab-0.3.2/tests/test_manager.py +0 -0
  43. pyrolab-0.3.2/tests/test_nameserver.py +0 -0
  44. pyrolab-0.3.2/tests/test_pyrolabd.py +0 -0
  45. pyrolab-0.3.2/tests/test_service.py +0 -0
  46. pyrolab-0.3.2/tests/test_utils.py +0 -0
  47. pyrolab-0.3.2/tests/testsrv.py +21 -0
  48. PyroLab-0.3.0/MANIFEST.in +0 -1
  49. PyroLab-0.3.0/src/PyroLab.egg-info/SOURCES.txt +0 -26
  50. PyroLab-0.3.0/src/PyroLab.egg-info/requires.txt +0 -34
  51. PyroLab-0.3.0/src/PyroLab.egg-info/top_level.txt +0 -2
  52. PyroLab-0.3.0/src/pyromonitor/__init__.py +0 -68
  53. PyroLab-0.3.0/src/pyromonitor/cli.py +0 -77
  54. PyroLab-0.3.0/src/pyromonitor/config.py +0 -18
  55. PyroLab-0.3.0/src/pyromonitor/lister.py +0 -129
  56. {PyroLab-0.3.0 → pyrolab-0.3.2}/AUTHORS.txt +0 -0
  57. {PyroLab-0.3.0 → pyrolab-0.3.2}/LICENSE +0 -0
  58. {PyroLab-0.3.0 → pyrolab-0.3.2}/NOTICE.txt +0 -0
  59. {PyroLab-0.3.0/src → pyrolab-0.3.2}/pyrolab/api.py +0 -0
  60. {PyroLab-0.3.0/src → pyrolab-0.3.2}/pyrolab/cli.py +0 -0
  61. {PyroLab-0.3.0/src → pyrolab-0.3.2}/pyrolab/configure.py +0 -0
  62. {PyroLab-0.3.0/src → pyrolab-0.3.2}/pyrolab/nameserver.py +0 -0
  63. {PyroLab-0.3.0/src → pyrolab-0.3.2}/pyrolab/pyrolabd.py +0 -0
  64. {PyroLab-0.3.0/src → pyrolab-0.3.2}/pyrolab/service.py +0 -0
  65. {PyroLab-0.3.0/src → pyrolab-0.3.2}/pyrolab/utils.py +0 -0
  66. {PyroLab-0.3.0/src/PyroLab.egg-info → pyrolab-0.3.2/pyrolab.egg-info}/dependency_links.txt +0 -0
  67. {PyroLab-0.3.0 → pyrolab-0.3.2}/setup.cfg +0 -0
@@ -0,0 +1,4 @@
1
+ include NOTICE.txt AUTHORS.txt
2
+ graft pyrolab/
3
+ prune pyrolab/data/local/
4
+ global-exclude *.py[cod]
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
- Name: PyroLab
3
- Version: 0.3.0
4
- Summary: A framework for using remote lab instruments as local resources built on Pyro5
2
+ Name: pyrolab
3
+ Version: 0.3.2
4
+ Summary: A framework for using remote lab instruments as local resources built on Pyro5.
5
5
  Author-email: Sequoia Ploeg <sequoiap4@gmail.com>, BYU CamachoLab <camacho@byu.edu>
6
6
  Maintainer-email: Sequoia Ploeg <sequoiap4@gmail.com>, BYU CamachoLab <camacho@byu.edu>
7
7
  License: GNU GENERAL PUBLIC LICENSE
@@ -708,9 +708,11 @@ Provides-Extra: tsl550
708
708
  Provides-Extra: ppcl55x
709
709
  Provides-Extra: rto
710
710
  Provides-Extra: arduino
711
- Provides-Extra: monitor
712
711
  Provides-Extra: test
712
+ Provides-Extra: dev
713
+ Provides-Extra: docs
713
714
  License-File: LICENSE
715
+ License-File: NOTICE.txt
714
716
  License-File: AUTHORS.txt
715
717
 
716
718
  <p align="center">
@@ -720,7 +722,7 @@ License-File: AUTHORS.txt
720
722
  ---
721
723
 
722
724
  <p align="center">
723
- <img alt="Development version" src="https://img.shields.io/badge/master-v0.3.0-informational">
725
+ <img alt="Development version" src="https://img.shields.io/badge/master-v0.3.2-informational">
724
726
  <a href="https://pypi.python.org/pypi/pyrolab"><img alt="PyPI Version" src="https://img.shields.io/pypi/v/pyrolab.svg"></a>
725
727
  <img alt="PyPI - Python Version" src="https://img.shields.io/pypi/pyversions/pyrolab">
726
728
  <a href="https://pyrolab.readthedocs.io/"><img alt="Documentation Status" src="https://readthedocs.org/projects/pyrolab/badge/?version=latest"></a>
@@ -776,9 +778,15 @@ pip install -e .
776
778
 
777
779
  ## Web Monitor
778
780
 
779
- PyroLab comes with a web application that can monitor your nameserver and
781
+ There's a web application that can monitor your PyroLab nameserver and
780
782
  provide an easy-to-access status board. It's a Flask app that can be served
781
- using a production grade server. To run:
783
+ using a production grade server. Install it using pip:
784
+
785
+ ```
786
+ pip install pyromonitor
787
+ ```
788
+
789
+ To run:
782
790
 
783
791
  ```
784
792
  pyromonitor up
@@ -899,7 +907,7 @@ corrresponding version number and commit the modified files (where version
899
907
  numbers were updated). Pushing the tags (a manual process) to the remote will
900
908
  automatically create a new release. Releases are automatically published to
901
909
  PyPI and GitHub when git tags matching the "v*" pattern are created
902
- (e.g. "v0.3.0"), as bumpversion does.
910
+ (e.g. "v0.3.2"), as bumpversion does.
903
911
 
904
912
  After bumping version, you can view the tags on the local machine by running
905
913
  ``git tag``. To push the tags to the remote server and trigger the release
@@ -5,7 +5,7 @@
5
5
  ---
6
6
 
7
7
  <p align="center">
8
- <img alt="Development version" src="https://img.shields.io/badge/master-v0.3.0-informational">
8
+ <img alt="Development version" src="https://img.shields.io/badge/master-v0.3.2-informational">
9
9
  <a href="https://pypi.python.org/pypi/pyrolab"><img alt="PyPI Version" src="https://img.shields.io/pypi/v/pyrolab.svg"></a>
10
10
  <img alt="PyPI - Python Version" src="https://img.shields.io/pypi/pyversions/pyrolab">
11
11
  <a href="https://pyrolab.readthedocs.io/"><img alt="Documentation Status" src="https://readthedocs.org/projects/pyrolab/badge/?version=latest"></a>
@@ -61,9 +61,15 @@ pip install -e .
61
61
 
62
62
  ## Web Monitor
63
63
 
64
- PyroLab comes with a web application that can monitor your nameserver and
64
+ There's a web application that can monitor your PyroLab nameserver and
65
65
  provide an easy-to-access status board. It's a Flask app that can be served
66
- using a production grade server. To run:
66
+ using a production grade server. Install it using pip:
67
+
68
+ ```
69
+ pip install pyromonitor
70
+ ```
71
+
72
+ To run:
67
73
 
68
74
  ```
69
75
  pyromonitor up
@@ -184,7 +190,7 @@ corrresponding version number and commit the modified files (where version
184
190
  numbers were updated). Pushing the tags (a manual process) to the remote will
185
191
  automatically create a new release. Releases are automatically published to
186
192
  PyPI and GitHub when git tags matching the "v*" pattern are created
187
- (e.g. "v0.3.0"), as bumpversion does.
193
+ (e.g. "v0.3.2"), as bumpversion does.
188
194
 
189
195
  After bumping version, you can view the tags on the local machine by running
190
196
  ``git tag``. To push the tags to the remote server and trigger the release
@@ -1,26 +1,26 @@
1
1
  [project]
2
- name = "PyroLab"
3
- version = "0.3.0"
4
- description = "A framework for using remote lab instruments as local resources built on Pyro5"
2
+ name = "pyrolab"
3
+ version = "0.3.2"
4
+ description = "A framework for using remote lab instruments as local resources built on Pyro5."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.7"
7
7
  license = {file = "LICENSE"}
8
8
  keywords = [
9
- "PyroLab",
10
- "Pyro5",
11
- "Pyro",
12
- "lab",
13
- "instrument",
14
- "remote",
15
- "resources",
16
- "framework",
17
- "laboratory",
18
- "instrumentation",
19
- "hardware",
20
- "science",
21
- "remote",
22
- "network",
23
- "integration"
9
+ "PyroLab",
10
+ "Pyro5",
11
+ "Pyro",
12
+ "lab",
13
+ "instrument",
14
+ "remote",
15
+ "resources",
16
+ "framework",
17
+ "laboratory",
18
+ "instrumentation",
19
+ "hardware",
20
+ "science",
21
+ "remote",
22
+ "network",
23
+ "integration",
24
24
  ]
25
25
 
26
26
  # This should be your name or the name of the organization who originally
@@ -66,7 +66,6 @@ dependencies = [
66
66
  "pydantic",
67
67
  "pyyaml",
68
68
  "deprecation",
69
- "appnope",
70
69
  "typer",
71
70
  "colorama",
72
71
  "tabulate",
@@ -84,8 +83,37 @@ tsl550 = ["pyserial"]
84
83
  ppcl55x = ["pyserial"]
85
84
  rto = ["pyvisa", "pyvisa-py"]
86
85
  arduino = ["pyfirmata"]
87
- monitor = ["flask", "omegaconf", "waitress"]
88
86
  test = ["pytest", "coverage"]
87
+ dev = [
88
+ "notebook",
89
+ "pytest",
90
+ "mypy",
91
+ "coverage",
92
+ "flake8 >= 4.0.1",
93
+ "isort >= 5.10.1",
94
+ "black >= 22.1.0",
95
+ "autopep8 >= 1.6.0",
96
+ "twine >= 4.0.0",
97
+ "build >= 0.10.0",
98
+ "pre-commit",
99
+ "bump2version ~= 1.0.1",
100
+ ]
101
+ docs = [
102
+ "sphinx-book-theme ~= 0.3.3",
103
+ "jupyter-book ~= 0.13.2",
104
+ "sphinx-design ~= 0.1.0",
105
+ "matplotlib",
106
+ "numpy",
107
+ "numpydoc",
108
+ # "sphinx-tippy",
109
+ # sphinx==5.3.0
110
+ # linkify-it-py==2.0.0
111
+ # sphinxcontrib-bibtex==2.5.0
112
+ ]
113
+
114
+ [tool.setuptools.packages.find]
115
+ include = ["pyrolab"]
116
+ namespaces = false
89
117
 
90
118
  [project.urls]
91
119
  "Homepage" = "https://pyrolab.readthedocs.io/en/latest/"
@@ -96,11 +124,6 @@ test = ["pytest", "coverage"]
96
124
 
97
125
  [project.scripts]
98
126
  pyrolab = "pyrolab.cli:app"
99
- pyromonitor = "pyromonitor.cli:app"
100
-
101
- [tool.setuptools.packages.find]
102
- where = ["src"]
103
- include = ["pyrolab", "pyromonitor"]
104
127
 
105
128
  [tool.pytest.ini_options]
106
129
  minversion = "6.0"
@@ -42,7 +42,7 @@ if pyversion < (3, 7, 0):
42
42
  __name__ = "PyroLab"
43
43
  __author__ = "CamachoLab"
44
44
  __copyright__ = "Copyright 2020, The PyroLab Project"
45
- __version__ = "0.3.0"
45
+ __version__ = "0.3.2"
46
46
  __license__ = "GPLv3+"
47
47
  __maintainer__ = "Sequoia Ploeg"
48
48
  __maintainer_email__ = "sequoia.ploeg@byu.edu"