pgraph-python 0.6.2__py3-none-any.whl → 0.6.4__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.
- pgraph/PGraph.py +180 -148
- {pgraph_python-0.6.2.dist-info → pgraph_python-0.6.4.dist-info}/METADATA +43 -34
- pgraph_python-0.6.4.dist-info/RECORD +6 -0
- {pgraph_python-0.6.2.dist-info → pgraph_python-0.6.4.dist-info}/WHEEL +1 -2
- pgraph_python-0.6.2.dist-info/RECORD +0 -9
- pgraph_python-0.6.2.dist-info/top_level.txt +0 -2
- tests/__init__.py +0 -0
- tests/test_graph.py +0 -737
- {pgraph_python-0.6.2.dist-info → pgraph_python-0.6.4.dist-info/licenses}/LICENSE +0 -0
|
@@ -1,56 +1,65 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pgraph-python
|
|
3
|
-
Version: 0.6.
|
|
4
|
-
Summary: Mathematical graphs for Python
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Project-URL:
|
|
10
|
-
Project-URL:
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
Version: 0.6.4
|
|
4
|
+
Summary: Mathematical graphs for Python
|
|
5
|
+
Project-URL: Homepage, https://github.com/petercorke/pgraph-python
|
|
6
|
+
Project-URL: Bug Tracker, https://github.com/petercorke/pgraph-python/issues
|
|
7
|
+
Project-URL: Documentation, https://petercorke.github.io/pgraph-python
|
|
8
|
+
Project-URL: GitHub Source, https://github.com/petercorke/pgraph-python
|
|
9
|
+
Project-URL: Changelog, https://github.com/petercorke/pgraph-python/blob/main/CHANGELOG.md
|
|
10
|
+
Project-URL: Coverage, https://codecov.io/gh/petercorke/pgraph-python
|
|
11
|
+
Author-email: Peter Corke <rvc@petercorke.com>
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Keywords: Laplacian matrix,a* search,adjacency matrix,directed graph,graph,optimal path,plotting,python,undirected graph
|
|
14
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
15
|
Classifier: Intended Audience :: Developers
|
|
14
16
|
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
-
Classifier:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Requires-Python: >=3.7
|
|
20
24
|
Requires-Dist: matplotlib
|
|
21
|
-
Requires-Dist:
|
|
25
|
+
Requires-Dist: numpy>=1.18.0
|
|
26
|
+
Requires-Dist: scipy
|
|
22
27
|
Requires-Dist: spatialmath-python
|
|
23
28
|
Provides-Extra: dev
|
|
24
|
-
Requires-Dist: pytest
|
|
25
|
-
Requires-Dist: pytest-cov
|
|
29
|
+
Requires-Dist: pytest; extra == 'dev'
|
|
30
|
+
Requires-Dist: pytest-cov; extra == 'dev'
|
|
26
31
|
Provides-Extra: docs
|
|
27
|
-
Requires-Dist:
|
|
28
|
-
Requires-Dist: sphinx
|
|
29
|
-
Requires-Dist: sphinx-autorun
|
|
32
|
+
Requires-Dist: recommonmark; extra == 'docs'
|
|
33
|
+
Requires-Dist: sphinx; extra == 'docs'
|
|
34
|
+
Requires-Dist: sphinx-autorun; extra == 'docs'
|
|
35
|
+
Requires-Dist: sphinx-favicon; extra == 'docs'
|
|
36
|
+
Requires-Dist: sphinx-rtd-theme; extra == 'docs'
|
|
37
|
+
Description-Content-Type: text/markdown
|
|
30
38
|
|
|
31
39
|
# PGraph: graphs for Python
|
|
32
40
|
|
|
33
|
-
[](https://github.com/petercorke/robotics-toolbox-python)
|
|
42
|
+
[](https://github.com/petercorke/spatialmath-python)
|
|
34
43
|
[](https://qcr.github.io)
|
|
35
44
|
|
|
36
45
|
[](https://pypi.python.org/pypi/pgraph-python/)
|
|
37
46
|
[](https://pypi.python.org/pypi/pgraph-python/)
|
|
38
|
-
[](https://github.com/petercorke/pgraph-python/blob/
|
|
47
|
+
[](https://github.com/petercorke/pgraph-python/blob/main/LICENSE)
|
|
39
48
|
|
|
40
|
-
[](https://lgtm.com/projects/g/petercorke/pgraph-python/context:python)
|
|
49
|
+
[](https://github.com/petercorke/pgraph-python/actions?query=workflow%3ACI)
|
|
50
|
+
[](https://codecov.io/gh/petercorke/pgraph-python)
|
|
43
51
|

|
|
44
52
|
|
|
45
|
-
- GitHub repository
|
|
46
|
-
- Wiki (examples and details)
|
|
47
|
-
- Documentation
|
|
48
|
-
-
|
|
53
|
+
- [GitHub repository](https://github.com/petercorke/pgraph-python)
|
|
54
|
+
- [Wiki (examples and details)](https://github.com/petercorke/pgraph-python/wiki)
|
|
55
|
+
- [Documentation](https://petercorke.github.io/pgraph-python)
|
|
56
|
+
- [Changelog](https://github.com/petercorke/pgraph-python/blob/main/CHANGELOG.md)
|
|
57
|
+
- Dependencies: [`numpy`](https://numpy.org) [`spatialmath`](https://github.com/bdaiinstitute/spatialmath-python)
|
|
49
58
|
|
|
50
59
|
|
|
51
60
|
This Python package allows the manipulation of directed and non-directed graphs. Also supports embedded graphs. It is suitable for graphs with thousands of nodes.
|
|
52
61
|
|
|
53
|
-

|
|
54
63
|
|
|
55
64
|
```
|
|
56
65
|
from pgraph import *
|
|
@@ -152,11 +161,11 @@ for f in f1.neighbours():
|
|
|
152
161
|
|
|
153
162
|
The key objects and their interactions are shown below.
|
|
154
163
|
|
|
155
|
-

|
|
156
165
|
|
|
157
166
|
## MATLAB version
|
|
158
167
|
|
|
159
|
-
This is a re-engineered version of [PGraph.m](https://github.com/petercorke/spatialmath-matlab/blob/
|
|
168
|
+
This is a re-engineered version of [PGraph.m](https://github.com/petercorke/spatialmath-matlab/blob/main/PGraph.m) which ships as part of the [Spatial Math Toolbox for MATLAB](https://github.com/petercorke/spatialmath-matlab). This class is used to support bundle adjustment, pose-graph SLAM and various planners such as PRM, RRT and Lattice.
|
|
160
169
|
|
|
161
170
|
The Python version was designed from the start to work with directed and undirected graphs, whereas directed graphs were a late addition to the MATLAB version. Semantics are similar but not identical. In particular the use of subclassing rather than references to
|
|
162
171
|
_user data_ is encouraged.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
pgraph/PGraph.py,sha256=vAVCAolCRybMaowkdw7Oz_jn3xj7655rbbw2jF793pA,60135
|
|
2
|
+
pgraph/__init__.py,sha256=J2sLjUeac_R5eSJncN1RvkkDkgxA8ko8dDan5CP-Tp8,65
|
|
3
|
+
pgraph_python-0.6.4.dist-info/METADATA,sha256=QNOIuH6DNtU0x1Du-vNjlj6Lrywfvw8dPR_2zxd20n4,7528
|
|
4
|
+
pgraph_python-0.6.4.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
|
|
5
|
+
pgraph_python-0.6.4.dist-info/licenses/LICENSE,sha256=niCzY_CzbIMKuUZlUkGimjrKp0vkLAtcwFmoSuSKrdw,1068
|
|
6
|
+
pgraph_python-0.6.4.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
pgraph/PGraph.py,sha256=BManrpgxRRwza5_Ix6xWg-oi2sdF8NmI5Acs2dKibqM,59401
|
|
2
|
-
pgraph/__init__.py,sha256=J2sLjUeac_R5eSJncN1RvkkDkgxA8ko8dDan5CP-Tp8,65
|
|
3
|
-
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tests/test_graph.py,sha256=0HWVrxFofse3OKJTTTyeNc6-gVMBtabvfsRtwyeGSmE,20599
|
|
5
|
-
pgraph_python-0.6.2.dist-info/LICENSE,sha256=niCzY_CzbIMKuUZlUkGimjrKp0vkLAtcwFmoSuSKrdw,1068
|
|
6
|
-
pgraph_python-0.6.2.dist-info/METADATA,sha256=de7fjzD3RUSfF-F5NjVxfIhXWXmpc0tZxcBqNjQqSRQ,6935
|
|
7
|
-
pgraph_python-0.6.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
8
|
-
pgraph_python-0.6.2.dist-info/top_level.txt,sha256=heHuhxoziq4tydEpGdND7Nn7Enm8Ho-ntTMVS0txrpo,13
|
|
9
|
-
pgraph_python-0.6.2.dist-info/RECORD,,
|
tests/__init__.py
DELETED
|
File without changes
|