PyroLab 0.3.1__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.1 → pyrolab-0.3.2}/PKG-INFO +15 -8
  3. {PyroLab-0.3.1 → pyrolab-0.3.2}/README.md +10 -4
  4. {PyroLab-0.3.1 → pyrolab-0.3.2}/pyproject.toml +33 -9
  5. {PyroLab-0.3.1/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.1/src/PyroLab.egg-info → pyrolab-0.3.2/pyrolab.egg-info}/PKG-INFO +15 -8
  32. pyrolab-0.3.2/pyrolab.egg-info/SOURCES.txt +57 -0
  33. {PyroLab-0.3.1/src/PyroLab.egg-info → pyrolab-0.3.2/pyrolab.egg-info}/entry_points.txt +0 -1
  34. pyrolab-0.3.2/pyrolab.egg-info/requires.txt +50 -0
  35. pyrolab-0.3.2/pyrolab.egg-info/top_level.txt +1 -0
  36. pyrolab-0.3.2/tests/test_code_interface.py +29 -0
  37. pyrolab-0.3.2/tests/test_configure.py +150 -0
  38. pyrolab-0.3.2/tests/test_daemon.py +24 -0
  39. pyrolab-0.3.2/tests/test_errors.py +0 -0
  40. pyrolab-0.3.2/tests/test_manager.py +0 -0
  41. pyrolab-0.3.2/tests/test_nameserver.py +0 -0
  42. pyrolab-0.3.2/tests/test_pyrolabd.py +0 -0
  43. pyrolab-0.3.2/tests/test_service.py +0 -0
  44. pyrolab-0.3.2/tests/test_utils.py +0 -0
  45. pyrolab-0.3.2/tests/testsrv.py +21 -0
  46. PyroLab-0.3.1/MANIFEST.in +0 -1
  47. PyroLab-0.3.1/src/PyroLab.egg-info/SOURCES.txt +0 -26
  48. PyroLab-0.3.1/src/PyroLab.egg-info/requires.txt +0 -33
  49. PyroLab-0.3.1/src/PyroLab.egg-info/top_level.txt +0 -2
  50. PyroLab-0.3.1/src/pyromonitor/__init__.py +0 -68
  51. PyroLab-0.3.1/src/pyromonitor/cli.py +0 -77
  52. PyroLab-0.3.1/src/pyromonitor/config.py +0 -19
  53. PyroLab-0.3.1/src/pyromonitor/lister.py +0 -131
  54. {PyroLab-0.3.1 → pyrolab-0.3.2}/AUTHORS.txt +0 -0
  55. {PyroLab-0.3.1 → pyrolab-0.3.2}/LICENSE +0 -0
  56. {PyroLab-0.3.1 → pyrolab-0.3.2}/NOTICE.txt +0 -0
  57. {PyroLab-0.3.1/src → pyrolab-0.3.2}/pyrolab/api.py +0 -0
  58. {PyroLab-0.3.1/src → pyrolab-0.3.2}/pyrolab/cli.py +0 -0
  59. {PyroLab-0.3.1/src → pyrolab-0.3.2}/pyrolab/configure.py +0 -0
  60. {PyroLab-0.3.1/src → pyrolab-0.3.2}/pyrolab/manager.py +0 -0
  61. {PyroLab-0.3.1/src → pyrolab-0.3.2}/pyrolab/nameserver.py +0 -0
  62. {PyroLab-0.3.1/src → pyrolab-0.3.2}/pyrolab/pyrolabd.py +0 -0
  63. {PyroLab-0.3.1/src → pyrolab-0.3.2}/pyrolab/server.py +0 -0
  64. {PyroLab-0.3.1/src → pyrolab-0.3.2}/pyrolab/service.py +0 -0
  65. {PyroLab-0.3.1/src → pyrolab-0.3.2}/pyrolab/utils.py +0 -0
  66. {PyroLab-0.3.1/src/PyroLab.egg-info → pyrolab-0.3.2/pyrolab.egg-info}/dependency_links.txt +0 -0
  67. {PyroLab-0.3.1 → 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.1
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,8 +708,9 @@ 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
714
715
  License-File: NOTICE.txt
715
716
  License-File: AUTHORS.txt
@@ -721,7 +722,7 @@ License-File: AUTHORS.txt
721
722
  ---
722
723
 
723
724
  <p align="center">
724
- <img alt="Development version" src="https://img.shields.io/badge/master-v0.3.1-informational">
725
+ <img alt="Development version" src="https://img.shields.io/badge/master-v0.3.2-informational">
725
726
  <a href="https://pypi.python.org/pypi/pyrolab"><img alt="PyPI Version" src="https://img.shields.io/pypi/v/pyrolab.svg"></a>
726
727
  <img alt="PyPI - Python Version" src="https://img.shields.io/pypi/pyversions/pyrolab">
727
728
  <a href="https://pyrolab.readthedocs.io/"><img alt="Documentation Status" src="https://readthedocs.org/projects/pyrolab/badge/?version=latest"></a>
@@ -777,9 +778,15 @@ pip install -e .
777
778
 
778
779
  ## Web Monitor
779
780
 
780
- 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
781
782
  provide an easy-to-access status board. It's a Flask app that can be served
782
- 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:
783
790
 
784
791
  ```
785
792
  pyromonitor up
@@ -900,7 +907,7 @@ corrresponding version number and commit the modified files (where version
900
907
  numbers were updated). Pushing the tags (a manual process) to the remote will
901
908
  automatically create a new release. Releases are automatically published to
902
909
  PyPI and GitHub when git tags matching the "v*" pattern are created
903
- (e.g. "v0.3.1"), as bumpversion does.
910
+ (e.g. "v0.3.2"), as bumpversion does.
904
911
 
905
912
  After bumping version, you can view the tags on the local machine by running
906
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.1-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.1"), 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,7 +1,7 @@
1
1
  [project]
2
- name = "PyroLab"
3
- version = "0.3.1"
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"}
@@ -83,8 +83,37 @@ tsl550 = ["pyserial"]
83
83
  ppcl55x = ["pyserial"]
84
84
  rto = ["pyvisa", "pyvisa-py"]
85
85
  arduino = ["pyfirmata"]
86
- monitor = ["flask", "omegaconf", "waitress"]
87
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
88
117
 
89
118
  [project.urls]
90
119
  "Homepage" = "https://pyrolab.readthedocs.io/en/latest/"
@@ -95,11 +124,6 @@ test = ["pytest", "coverage"]
95
124
 
96
125
  [project.scripts]
97
126
  pyrolab = "pyrolab.cli:app"
98
- pyromonitor = "pyromonitor.cli:app"
99
-
100
- [tool.setuptools.packages.find]
101
- where = ["src"]
102
- include = ["pyrolab", "pyromonitor"]
103
127
 
104
128
  [tool.pytest.ini_options]
105
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.1"
45
+ __version__ = "0.3.2"
46
46
  __license__ = "GPLv3+"
47
47
  __maintainer__ = "Sequoia Ploeg"
48
48
  __maintainer_email__ = "sequoia.ploeg@byu.edu"