PyObjectInterface 0.1.2__tar.gz → 0.1.4__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 (18) hide show
  1. {pyobjectinterface-0.1.2 → pyobjectinterface-0.1.4}/PKG-INFO +8 -6
  2. {pyobjectinterface-0.1.2 → pyobjectinterface-0.1.4}/PyObjectInterface.egg-info/PKG-INFO +8 -6
  3. {pyobjectinterface-0.1.2 → pyobjectinterface-0.1.4}/README.md +2 -1
  4. {pyobjectinterface-0.1.2 → pyobjectinterface-0.1.4}/setup.cfg +4 -4
  5. {pyobjectinterface-0.1.2 → pyobjectinterface-0.1.4}/tests/test_poi.py +13 -13
  6. {pyobjectinterface-0.1.2 → pyobjectinterface-0.1.4}/LICENSE +0 -0
  7. {pyobjectinterface-0.1.2 → pyobjectinterface-0.1.4}/MANIFEST.in +0 -0
  8. {pyobjectinterface-0.1.2 → pyobjectinterface-0.1.4}/PyObjectInterface/WebController.py +0 -0
  9. {pyobjectinterface-0.1.2 → pyobjectinterface-0.1.4}/PyObjectInterface/__init__.py +0 -0
  10. {pyobjectinterface-0.1.2 → pyobjectinterface-0.1.4}/PyObjectInterface/examples/example.py +0 -0
  11. {pyobjectinterface-0.1.2 → pyobjectinterface-0.1.4}/PyObjectInterface/examples/robot.py +0 -0
  12. {pyobjectinterface-0.1.2 → pyobjectinterface-0.1.4}/PyObjectInterface/web_controller.tpl.html +0 -0
  13. {pyobjectinterface-0.1.2 → pyobjectinterface-0.1.4}/PyObjectInterface.egg-info/SOURCES.txt +0 -0
  14. {pyobjectinterface-0.1.2 → pyobjectinterface-0.1.4}/PyObjectInterface.egg-info/dependency_links.txt +0 -0
  15. {pyobjectinterface-0.1.2 → pyobjectinterface-0.1.4}/PyObjectInterface.egg-info/requires.txt +0 -0
  16. {pyobjectinterface-0.1.2 → pyobjectinterface-0.1.4}/PyObjectInterface.egg-info/top_level.txt +0 -0
  17. {pyobjectinterface-0.1.2 → pyobjectinterface-0.1.4}/pyproject.toml +0 -0
  18. {pyobjectinterface-0.1.2 → pyobjectinterface-0.1.4}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: PyObjectInterface
3
- Version: 0.1.2
3
+ Version: 0.1.4
4
4
  Summary: Create a web interface to interact with a class
5
5
  Home-page: https://github.com/RobertJN64/PyObjectInterface
6
6
  Author: Robert Nies
@@ -9,16 +9,17 @@ License: MIT
9
9
  Classifier: Programming Language :: Python
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: 3 :: Only
12
- Classifier: Programming Language :: Python :: 3.9
13
- Classifier: Programming Language :: Python :: 3.10
14
12
  Classifier: Programming Language :: Python :: 3.11
15
13
  Classifier: Programming Language :: Python :: 3.12
16
14
  Classifier: Programming Language :: Python :: 3.13
17
- Requires-Python: >=3.9
15
+ Classifier: Programming Language :: Python :: 3.14
16
+ Classifier: Programming Language :: Python :: 3.15
17
+ Requires-Python: >=3.11
18
18
  Description-Content-Type: text/markdown
19
19
  License-File: LICENSE
20
20
  Requires-Dist: typing_extensions
21
21
  Requires-Dist: flask
22
+ Dynamic: license-file
22
23
 
23
24
  # PyObjectInterface
24
25
 
@@ -85,8 +86,9 @@ These show up in the attribute table instead of as recursive objects.
85
86
 
86
87
  `numpy.ndarray`, `pandas.DataFrame`, and `pandas.Series` are also treated as primitives.
87
88
 
88
- Note: numpy 2.0 arrays currently do not work with python's inspect library,
89
+ Note: numpy 2.0 arrays currently do not work with python's inspect library,
89
90
  and therefore must be treated as a primitive.
91
+ For Python >= 3.13 on windows, numpy >= 2.0 must be used.
90
92
 
91
93
  If you would like to customize this behavior, you can modify
92
94
  `PyObjectInterface.basic_attribute_types`
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: PyObjectInterface
3
- Version: 0.1.2
3
+ Version: 0.1.4
4
4
  Summary: Create a web interface to interact with a class
5
5
  Home-page: https://github.com/RobertJN64/PyObjectInterface
6
6
  Author: Robert Nies
@@ -9,16 +9,17 @@ License: MIT
9
9
  Classifier: Programming Language :: Python
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: 3 :: Only
12
- Classifier: Programming Language :: Python :: 3.9
13
- Classifier: Programming Language :: Python :: 3.10
14
12
  Classifier: Programming Language :: Python :: 3.11
15
13
  Classifier: Programming Language :: Python :: 3.12
16
14
  Classifier: Programming Language :: Python :: 3.13
17
- Requires-Python: >=3.9
15
+ Classifier: Programming Language :: Python :: 3.14
16
+ Classifier: Programming Language :: Python :: 3.15
17
+ Requires-Python: >=3.11
18
18
  Description-Content-Type: text/markdown
19
19
  License-File: LICENSE
20
20
  Requires-Dist: typing_extensions
21
21
  Requires-Dist: flask
22
+ Dynamic: license-file
22
23
 
23
24
  # PyObjectInterface
24
25
 
@@ -85,8 +86,9 @@ These show up in the attribute table instead of as recursive objects.
85
86
 
86
87
  `numpy.ndarray`, `pandas.DataFrame`, and `pandas.Series` are also treated as primitives.
87
88
 
88
- Note: numpy 2.0 arrays currently do not work with python's inspect library,
89
+ Note: numpy 2.0 arrays currently do not work with python's inspect library,
89
90
  and therefore must be treated as a primitive.
91
+ For Python >= 3.13 on windows, numpy >= 2.0 must be used.
90
92
 
91
93
  If you would like to customize this behavior, you can modify
92
94
  `PyObjectInterface.basic_attribute_types`
@@ -63,8 +63,9 @@ These show up in the attribute table instead of as recursive objects.
63
63
 
64
64
  `numpy.ndarray`, `pandas.DataFrame`, and `pandas.Series` are also treated as primitives.
65
65
 
66
- Note: numpy 2.0 arrays currently do not work with python's inspect library,
66
+ Note: numpy 2.0 arrays currently do not work with python's inspect library,
67
67
  and therefore must be treated as a primitive.
68
+ For Python >= 3.13 on windows, numpy >= 2.0 must be used.
68
69
 
69
70
  If you would like to customize this behavior, you can modify
70
71
  `PyObjectInterface.basic_attribute_types`
@@ -6,22 +6,22 @@ license = MIT
6
6
  license_file = LICENSE
7
7
  url = https://github.com/RobertJN64/PyObjectInterface
8
8
  author_email = robertjnies@gmail.com
9
- version = 0.1.2
9
+ version = 0.1.4
10
10
  long_description = file: README.md
11
11
  long_description_content_type = text/markdown
12
12
  classifiers =
13
13
  Programming Language :: Python
14
14
  Programming Language :: Python :: 3
15
15
  Programming Language :: Python :: 3 :: Only
16
- Programming Language :: Python :: 3.9
17
- Programming Language :: Python :: 3.10
18
16
  Programming Language :: Python :: 3.11
19
17
  Programming Language :: Python :: 3.12
20
18
  Programming Language :: Python :: 3.13
19
+ Programming Language :: Python :: 3.14
20
+ Programming Language :: Python :: 3.15
21
21
 
22
22
  [options]
23
23
  packages = PyObjectInterface
24
- python_requires = >=3.9
24
+ python_requires = >=3.11
25
25
  include_package_data = True
26
26
  install_requires =
27
27
  typing_extensions
@@ -155,16 +155,16 @@ def test_np_special_case():
155
155
  assert 'np_arr' in poi.attribute_list
156
156
  assert 'np_arr' not in poi.subobj_dict
157
157
 
158
- basic_attribute_types[str(type(n.np_arr))] = True
159
-
160
- poi = PyObjectInterface(n, 'b')
161
- assert 'np_arr' in poi.attribute_list
162
- assert 'np_arr' in poi.subobj_dict
163
-
164
- assert "is a builtin method and can't be accessed from WebController" in generate_html(poi)
165
-
166
- basic_attribute_types.pop(str(type(n.np_arr)))
167
-
168
- poi = PyObjectInterface(n, 'b')
169
- assert 'np_arr' not in poi.attribute_list
170
- assert 'np_arr' in poi.subobj_dict
158
+ # basic_attribute_types[str(type(n.np_arr))] = True
159
+ #
160
+ # poi = PyObjectInterface(n, 'b')
161
+ # assert 'np_arr' in poi.attribute_list
162
+ # assert 'np_arr' in poi.subobj_dict
163
+ #
164
+ # assert "is a builtin method and can't be accessed from WebController" in generate_html(poi)
165
+ #
166
+ # basic_attribute_types.pop(str(type(n.np_arr)))
167
+ #
168
+ # poi = PyObjectInterface(n, 'b')
169
+ # assert 'np_arr' not in poi.attribute_list
170
+ # assert 'np_arr' in poi.subobj_dict