flcpy 0.2.4__tar.gz → 0.2.5__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.
- {flcpy-0.2.4 → flcpy-0.2.5}/PKG-INFO +3 -3
- {flcpy-0.2.4 → flcpy-0.2.5}/README.md +2 -2
- {flcpy-0.2.4 → flcpy-0.2.5}/pyproject.toml +1 -1
- flcpy-0.2.5/src/flcpy/__init__.py +1 -0
- {flcpy-0.2.4 → flcpy-0.2.5}/src/flcpy/flcpy.py +1 -1
- {flcpy-0.2.4 → flcpy-0.2.5}/src/flcpy.egg-info/PKG-INFO +3 -3
- flcpy-0.2.4/src/flcpy/__init__.py +0 -1
- {flcpy-0.2.4 → flcpy-0.2.5}/LICENSE +0 -0
- {flcpy-0.2.4 → flcpy-0.2.5}/setup.cfg +0 -0
- {flcpy-0.2.4 → flcpy-0.2.5}/src/flcpy.egg-info/SOURCES.txt +0 -0
- {flcpy-0.2.4 → flcpy-0.2.5}/src/flcpy.egg-info/dependency_links.txt +0 -0
- {flcpy-0.2.4 → flcpy-0.2.5}/src/flcpy.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flcpy
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.5
|
|
4
4
|
Summary: Python control interface for Flare Live / Flare Real
|
|
5
5
|
Author-email: Jiwei Wang <zmh78879@gmail.com>
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -26,7 +26,7 @@ pip install --upgrade flcpy
|
|
|
26
26
|
```
|
|
27
27
|
import flcpy
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
obj =
|
|
29
|
+
s = flcpy.Simulator()
|
|
30
|
+
obj = s.get_object(...)
|
|
31
31
|
...
|
|
32
32
|
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .flcpy import Simulator
|
|
@@ -64,7 +64,7 @@ class MessagingClient:
|
|
|
64
64
|
def close(self):
|
|
65
65
|
self.socket.close()
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class Simulator:
|
|
68
68
|
def __init__(self, host : str = 'localhost', port : int = 25556, recover_world = True):
|
|
69
69
|
self.messaging = MessagingClient(host, port)
|
|
70
70
|
if recover_world:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flcpy
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.5
|
|
4
4
|
Summary: Python control interface for Flare Live / Flare Real
|
|
5
5
|
Author-email: Jiwei Wang <zmh78879@gmail.com>
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -26,7 +26,7 @@ pip install --upgrade flcpy
|
|
|
26
26
|
```
|
|
27
27
|
import flcpy
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
obj =
|
|
29
|
+
s = flcpy.Simulator()
|
|
30
|
+
obj = s.get_object(...)
|
|
31
31
|
...
|
|
32
32
|
```
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
from .flcpy import Controller
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|