process-bigraph 0.0.4__tar.gz → 0.0.7__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 (24) hide show
  1. {process-bigraph-0.0.4/process_bigraph.egg-info → process-bigraph-0.0.7}/PKG-INFO +1 -1
  2. {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph/__init__.py +5 -1
  3. {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph/composite.py +387 -86
  4. process-bigraph-0.0.7/process_bigraph/emitter.py +58 -0
  5. {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph/experiments/minimal_gillespie.py +117 -91
  6. {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph/registry.py +1 -0
  7. process-bigraph-0.0.7/process_bigraph/tests.py +354 -0
  8. process-bigraph-0.0.7/process_bigraph/type_system.py +383 -0
  9. {process-bigraph-0.0.4 → process-bigraph-0.0.7/process_bigraph.egg-info}/PKG-INFO +1 -1
  10. {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph.egg-info/SOURCES.txt +1 -0
  11. process-bigraph-0.0.7/process_bigraph.egg-info/requires.txt +3 -0
  12. {process-bigraph-0.0.4 → process-bigraph-0.0.7}/setup.py +4 -2
  13. process-bigraph-0.0.4/process_bigraph/tests.py +0 -122
  14. process-bigraph-0.0.4/process_bigraph/type_system.py +0 -166
  15. process-bigraph-0.0.4/process_bigraph.egg-info/requires.txt +0 -1
  16. {process-bigraph-0.0.4 → process-bigraph-0.0.7}/AUTHORS.md +0 -0
  17. {process-bigraph-0.0.4 → process-bigraph-0.0.7}/LICENSE +0 -0
  18. {process-bigraph-0.0.4 → process-bigraph-0.0.7}/README.md +0 -0
  19. {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph/experiments/__init__.py +0 -0
  20. {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph/processes.py +0 -0
  21. {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph/protocols.py +0 -0
  22. {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph.egg-info/dependency_links.txt +0 -0
  23. {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph.egg-info/top_level.txt +0 -0
  24. {process-bigraph-0.0.4 → process-bigraph-0.0.7}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: process-bigraph
3
- Version: 0.0.4
3
+ Version: 0.0.7
4
4
  Home-page: https://github.com/vivarium-collective/process-bigraph
5
5
  Author: Ryan Spangler, Eran Agmon
6
6
  Author-email: ryan.spangler@gmail.com, agmon.eran@gmail.com
@@ -2,10 +2,14 @@ from process_bigraph.composite import Process, Step, Composite
2
2
  from process_bigraph.type_system import types
3
3
  from process_bigraph.protocols import local_lookup
4
4
  from process_bigraph.registry import protocol_registry, process_registry
5
+ from process_bigraph.emitter import ConsoleEmitter, RAMEmitter
5
6
 
6
7
 
7
8
  # register protocols
8
9
  protocol_registry.register('local', local_lookup)
9
10
 
10
11
  # register processes
11
- # TODO
12
+ # TODO
13
+ process_registry.register('console-emitter', ConsoleEmitter)
14
+ process_registry.register('ram-emitter', RAMEmitter)
15
+