eventdispatch 0.1.16__tar.gz → 0.1.18__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.
- {eventdispatch-0.1.16 → eventdispatch-0.1.18}/PKG-INFO +8 -6
- eventdispatch-0.1.18/README.md +20 -0
- {eventdispatch-0.1.16 → eventdispatch-0.1.18}/eventdispatch/example1.py +12 -1
- {eventdispatch-0.1.16 → eventdispatch-0.1.18}/eventdispatch.egg-info/PKG-INFO +8 -6
- {eventdispatch-0.1.16 → eventdispatch-0.1.18}/pyproject.toml +2 -2
- {eventdispatch-0.1.16 → eventdispatch-0.1.18}/setup.py +1 -1
- eventdispatch-0.1.16/README.md +0 -18
- {eventdispatch-0.1.16 → eventdispatch-0.1.18}/LICENSE +0 -0
- {eventdispatch-0.1.16 → eventdispatch-0.1.18}/README.rst +0 -0
- {eventdispatch-0.1.16 → eventdispatch-0.1.18}/eventdispatch/__init__.py +0 -0
- {eventdispatch-0.1.16 → eventdispatch-0.1.18}/eventdispatch/aux1.py +0 -0
- {eventdispatch-0.1.16 → eventdispatch-0.1.18}/eventdispatch/core.py +0 -0
- {eventdispatch-0.1.16 → eventdispatch-0.1.18}/eventdispatch.egg-info/SOURCES.txt +0 -0
- {eventdispatch-0.1.16 → eventdispatch-0.1.18}/eventdispatch.egg-info/dependency_links.txt +0 -0
- {eventdispatch-0.1.16 → eventdispatch-0.1.18}/eventdispatch.egg-info/entry_points.txt +0 -0
- {eventdispatch-0.1.16 → eventdispatch-0.1.18}/eventdispatch.egg-info/top_level.txt +0 -0
- {eventdispatch-0.1.16 → eventdispatch-0.1.18}/setup.cfg +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: eventdispatch
|
3
|
-
Version: 0.1.
|
4
|
-
Summary: Event Dispatch:
|
3
|
+
Version: 0.1.18
|
4
|
+
Summary: Event Dispatch: discrete time synchronization
|
5
5
|
Home-page: http://github.com/cyan-at/eventdispatch
|
6
6
|
Author: Charlie Yan
|
7
7
|
Author-email: Charlie Yan <cyanatg@gmail.com>
|
@@ -216,12 +216,12 @@ Requires-Python: >=3.9
|
|
216
216
|
Description-Content-Type: text/markdown
|
217
217
|
License-File: LICENSE
|
218
218
|
|
219
|
-
#
|
220
|
-
Event Dispatch:
|
219
|
+
# <a href="https://github.com/cyan-at/eventdispatch" target="_blank">eventdispatch</a>
|
220
|
+
Event Dispatch: discrete time synchronization
|
221
221
|
|
222
222
|
## Documentation
|
223
223
|
|
224
|
-
The latest documentation on
|
224
|
+
The latest documentation on <a href="https://eventdispatch.readthedocs.io/en/latest/" target="_blank">readthedocs</a>
|
225
225
|
|
226
226
|
## python3: apt installation
|
227
227
|
```
|
@@ -230,7 +230,9 @@ sudo apt update
|
|
230
230
|
sudo apt install python3-eventdispatch
|
231
231
|
```
|
232
232
|
|
233
|
-
## python3:
|
233
|
+
## python3: <a href="https://pypi.org/project/eventdispatch/" target="_blank">pip</a> installation
|
234
234
|
```
|
235
|
+
virtualenv try-eventdispatch
|
236
|
+
. try-eventdispatch/bin/activate
|
235
237
|
pip install eventdispatch
|
236
238
|
```
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# <a href="https://github.com/cyan-at/eventdispatch" target="_blank">eventdispatch</a>
|
2
|
+
Event Dispatch: discrete time synchronization
|
3
|
+
|
4
|
+
## Documentation
|
5
|
+
|
6
|
+
The latest documentation on <a href="https://eventdispatch.readthedocs.io/en/latest/" target="_blank">readthedocs</a>
|
7
|
+
|
8
|
+
## python3: apt installation
|
9
|
+
```
|
10
|
+
sudo add-apt-repository ppa:cyanatlaunchpad/python3-eventdispatch-ppa
|
11
|
+
sudo apt update
|
12
|
+
sudo apt install python3-eventdispatch
|
13
|
+
```
|
14
|
+
|
15
|
+
## python3: <a href="https://pypi.org/project/eventdispatch/" target="_blank">pip</a> installation
|
16
|
+
```
|
17
|
+
virtualenv try-eventdispatch
|
18
|
+
. try-eventdispatch/bin/activate
|
19
|
+
pip install eventdispatch
|
20
|
+
```
|
@@ -196,7 +196,12 @@ class KeyboardThread(threading.Thread):
|
|
196
196
|
blackboard[ed1.cv_name].notify(1)
|
197
197
|
blackboard[ed1.cv_name].release()
|
198
198
|
|
199
|
-
|
199
|
+
release = False
|
200
|
+
with ed1.dispatch_switch_mutex:
|
201
|
+
if not ed1.dispatch_switch:
|
202
|
+
release = True
|
203
|
+
|
204
|
+
return release
|
200
205
|
|
201
206
|
return False
|
202
207
|
|
@@ -220,6 +225,12 @@ class KeyboardThread(threading.Thread):
|
|
220
225
|
local_hb = self.mutable_hb['hb']
|
221
226
|
|
222
227
|
def main():
|
228
|
+
print("###################")
|
229
|
+
print("This program exercises some EventDispatch best practices and patterns")
|
230
|
+
print("Type a number to command the system")
|
231
|
+
print("Some commands will dispatch Events, which in turn dispatch other Events")
|
232
|
+
print("###################")
|
233
|
+
|
223
234
|
# 0. Create `Blackboard` instance(s)
|
224
235
|
blackboard = Blackboard()
|
225
236
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: eventdispatch
|
3
|
-
Version: 0.1.
|
4
|
-
Summary: Event Dispatch:
|
3
|
+
Version: 0.1.18
|
4
|
+
Summary: Event Dispatch: discrete time synchronization
|
5
5
|
Home-page: http://github.com/cyan-at/eventdispatch
|
6
6
|
Author: Charlie Yan
|
7
7
|
Author-email: Charlie Yan <cyanatg@gmail.com>
|
@@ -216,12 +216,12 @@ Requires-Python: >=3.9
|
|
216
216
|
Description-Content-Type: text/markdown
|
217
217
|
License-File: LICENSE
|
218
218
|
|
219
|
-
#
|
220
|
-
Event Dispatch:
|
219
|
+
# <a href="https://github.com/cyan-at/eventdispatch" target="_blank">eventdispatch</a>
|
220
|
+
Event Dispatch: discrete time synchronization
|
221
221
|
|
222
222
|
## Documentation
|
223
223
|
|
224
|
-
The latest documentation on
|
224
|
+
The latest documentation on <a href="https://eventdispatch.readthedocs.io/en/latest/" target="_blank">readthedocs</a>
|
225
225
|
|
226
226
|
## python3: apt installation
|
227
227
|
```
|
@@ -230,7 +230,9 @@ sudo apt update
|
|
230
230
|
sudo apt install python3-eventdispatch
|
231
231
|
```
|
232
232
|
|
233
|
-
## python3:
|
233
|
+
## python3: <a href="https://pypi.org/project/eventdispatch/" target="_blank">pip</a> installation
|
234
234
|
```
|
235
|
+
virtualenv try-eventdispatch
|
236
|
+
. try-eventdispatch/bin/activate
|
235
237
|
pip install eventdispatch
|
236
238
|
```
|
@@ -4,10 +4,10 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "eventdispatch"
|
7
|
-
version = "0.1.
|
7
|
+
version = "0.1.18"
|
8
8
|
authors = [{name = "Charlie Yan", email = "cyanatg@gmail.com"}]
|
9
9
|
dynamic = ["scripts", "dependencies"]
|
10
|
-
description = "Event Dispatch:
|
10
|
+
description = "Event Dispatch: discrete time synchronization"
|
11
11
|
readme = "README.md"
|
12
12
|
requires-python = ">=3.9"
|
13
13
|
classifiers = [
|
eventdispatch-0.1.16/README.md
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# [eventdispatch](https://github.com/cyan-at/eventdispatch)
|
2
|
-
Event Dispatch: a discrete time synchronizer
|
3
|
-
|
4
|
-
## Documentation
|
5
|
-
|
6
|
-
The latest documentation on [readthedocs](https://eventdispatch.readthedocs.io/en/latest/)
|
7
|
-
|
8
|
-
## python3: apt installation
|
9
|
-
```
|
10
|
-
sudo add-apt-repository ppa:cyanatlaunchpad/python3-eventdispatch-ppa
|
11
|
-
sudo apt update
|
12
|
-
sudo apt install python3-eventdispatch
|
13
|
-
```
|
14
|
-
|
15
|
-
## python3: [pip](https://pypi.org/project/eventdispatch/) installation
|
16
|
-
```
|
17
|
-
pip install eventdispatch
|
18
|
-
```
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|