PyObjectInterface 0.1.1rc2__tar.gz → 0.1.3__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.
- {PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/PKG-INFO +10 -5
- {PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/PyObjectInterface.egg-info/PKG-INFO +10 -5
- {PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/README.md +4 -0
- {PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/setup.cfg +4 -4
- {PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/tests/test_poi.py +13 -13
- {PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/LICENSE +0 -0
- {PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/MANIFEST.in +0 -0
- {PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/PyObjectInterface/WebController.py +0 -0
- {PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/PyObjectInterface/__init__.py +0 -0
- {PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/PyObjectInterface/examples/example.py +0 -0
- {PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/PyObjectInterface/examples/robot.py +0 -0
- {PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/PyObjectInterface/web_controller.tpl.html +0 -0
- {PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/PyObjectInterface.egg-info/SOURCES.txt +0 -0
- {PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/PyObjectInterface.egg-info/dependency_links.txt +0 -0
- {PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/PyObjectInterface.egg-info/requires.txt +0 -0
- {PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/PyObjectInterface.egg-info/top_level.txt +0 -0
- {PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/pyproject.toml +0 -0
- {PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: PyObjectInterface
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
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.8
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
14
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
-
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
+
Requires-Python: >=3.10
|
|
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,6 +86,10 @@ 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
|
|
|
89
|
+
Note: numpy 2.0 arrays currently do not work with python's inspect library,
|
|
90
|
+
and therefore must be treated as a primitive.
|
|
91
|
+
For Python >= 3.13 on windows, numpy >= 2.0 must be used.
|
|
92
|
+
|
|
88
93
|
If you would like to customize this behavior, you can modify
|
|
89
94
|
`PyObjectInterface.basic_attribute_types`
|
|
90
95
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: PyObjectInterface
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
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.8
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
14
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
-
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
+
Requires-Python: >=3.10
|
|
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,6 +86,10 @@ 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
|
|
|
89
|
+
Note: numpy 2.0 arrays currently do not work with python's inspect library,
|
|
90
|
+
and therefore must be treated as a primitive.
|
|
91
|
+
For Python >= 3.13 on windows, numpy >= 2.0 must be used.
|
|
92
|
+
|
|
88
93
|
If you would like to customize this behavior, you can modify
|
|
89
94
|
`PyObjectInterface.basic_attribute_types`
|
|
90
95
|
|
|
@@ -63,6 +63,10 @@ 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,
|
|
67
|
+
and therefore must be treated as a primitive.
|
|
68
|
+
For Python >= 3.13 on windows, numpy >= 2.0 must be used.
|
|
69
|
+
|
|
66
70
|
If you would like to customize this behavior, you can modify
|
|
67
71
|
`PyObjectInterface.basic_attribute_types`
|
|
68
72
|
|
|
@@ -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.
|
|
9
|
+
version = 0.1.3
|
|
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.8
|
|
17
|
-
Programming Language :: Python :: 3.9
|
|
18
16
|
Programming Language :: Python :: 3.10
|
|
19
17
|
Programming Language :: Python :: 3.11
|
|
20
18
|
Programming Language :: Python :: 3.12
|
|
19
|
+
Programming Language :: Python :: 3.13
|
|
20
|
+
Programming Language :: Python :: 3.14
|
|
21
21
|
|
|
22
22
|
[options]
|
|
23
23
|
packages = PyObjectInterface
|
|
24
|
-
python_requires = >=3.
|
|
24
|
+
python_requires = >=3.10
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/PyObjectInterface/examples/example.py
RENAMED
|
File without changes
|
|
File without changes
|
{PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/PyObjectInterface/web_controller.tpl.html
RENAMED
|
File without changes
|
{PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/PyObjectInterface.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/PyObjectInterface.egg-info/requires.txt
RENAMED
|
File without changes
|
{PyObjectInterface-0.1.1rc2 → pyobjectinterface-0.1.3}/PyObjectInterface.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|