piegy 2.0.0__py3-none-any.whl → 2.0.2__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.
piegy/C_core/piegyc.so ADDED
Binary file
piegy/__version__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = '1.1.2'
1
+ __version__ = '2.0.2'
2
2
 
3
3
  '''
4
4
  version history:
@@ -22,4 +22,6 @@ version history:
22
22
  1.1.6: change name of variables in model class -- for compatability with the new C core. 1.1.6 is the last verion of v1. From v2 on, the piegy package has C core.
23
23
 
24
24
  2.0.0: update simulation core to C-based.
25
+ 2.0.1: re-upload, the C core is not included in package.
26
+ 2.0.2: update version number in __version__.py and update README.
25
27
  '''
piegy/simulation_py.py CHANGED
@@ -5,7 +5,7 @@ But you can still run them by calling:
5
5
  >>> run_py(mod)
6
6
  '''
7
7
 
8
- from simulation import model
8
+ from . import simulation
9
9
 
10
10
  import math
11
11
  import numpy as np
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: piegy
3
- Version: 2.0.0
3
+ Version: 2.0.2
4
4
  Summary: Payoff-Driven Stochastic Spatial Model for Evolutionary Game Theory
5
5
  Author-email: Chenning Xu <cxu7@caltech.edu>
6
6
  License: BSD 3-Clause License
@@ -82,6 +82,10 @@ We use the Gillepie algorithm as the fundamental event-selection algorithm. At e
82
82
 
83
83
  The *piegy* package also provides a wide range of analytic and supportive tools alongside the main model, such as plotting, numerical tools, data saving & reading, etc. We also provide the *piegy.videos* module for more direct visualizations such as how population distribution change over time.
84
84
 
85
+ ## C Core
86
+
87
+ From version 2 on, the *piegy* simulations are now equipped with a C core, which makes it significantly faster than previous versions.
88
+
85
89
  ## Examples
86
90
 
87
91
  To get started, simply get our demo model and run simulation:
@@ -1,17 +1,18 @@
1
1
  piegy/__init__.py,sha256=plq8y9IE9ilaKtEFIblJ_QexipAvPBXoalXhXLbs71Q,3244
2
- piegy/__version__.py,sha256=GcDuubecGWOx0sbRIeLV0i3gm8mWeya524UfvDXu2RE,1083
2
+ piegy/__version__.py,sha256=5DvxDV6QF68xfqpnLA66LjfnG85J5lGVS2MxLSf8Two,1206
3
3
  piegy/analysis.py,sha256=2GBsBbi7LdstSEAM0-F2bfL2kHu3MElcrw8bxZ1x6LI,8719
4
4
  piegy/data_tools.py,sha256=cbWAxGpFPbvne1RzvJaVN6avvmNt1I165xoppOqxQME,3378
5
5
  piegy/figures.py,sha256=TP9AoNnKwGZxBNmJGbplpb_ewr9US3jziBzOh1arGeY,19014
6
6
  piegy/simulation.py,sha256=4J4pdDuobV0fVxTF3QMr0SzX49tLBwkh99svnjO3eTU,17698
7
- piegy/simulation_py.py,sha256=3xWV5lrkKKsVwd8WX2y8jOaB-daju1j_XmmMpLAjCiI,29157
7
+ piegy/simulation_py.py,sha256=BqHzVtFADUkqRRQGvncp3ambv-_wALwOc-ZRF2id8AM,29153
8
8
  piegy/test_var.py,sha256=EfItIK-FEApJTAW8rs15kdMs5xlv-8Bx6CtfpSoi8ys,23562
9
9
  piegy/videos.py,sha256=QfSpOdwfaDsrQYRoiHmZ6gowzRQHom3m8kx1P65_8sM,10218
10
+ piegy/C_core/piegyc.so,sha256=5tBwQbxyKzTYny0oMhMZGyShuBJNRb2HzRWkeRfxM0s,51768
10
11
  piegy/tools/__init__.py,sha256=eYOl_HJHDonYexfrmKh3koOlxvtSo46vH6jHvCEEB4k,300
11
12
  piegy/tools/figure_tools.py,sha256=54vJSJMReXidFnSPE_xFvedtgnJU3d55zQDPNBLGs98,6975
12
13
  piegy/tools/file_tools.py,sha256=ncxFWeHfIE-GYLQlOrahFlhBgqPyuY3R5_93fpQeCEs,630
13
- piegy-2.0.0.dist-info/licenses/LICENSE.txt,sha256=wfzEht_CxOcfGGmg3f3at4mWJb9rTBjA51mXLl_3O3g,1498
14
- piegy-2.0.0.dist-info/METADATA,sha256=z30j41LeLfGWltnec47vCBNzTCOBBKFRW2QuM-S-N3s,5306
15
- piegy-2.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
- piegy-2.0.0.dist-info/top_level.txt,sha256=k4QLYL8PqdqDuy95-4NZD_FVLqJDsmq67tpKkBn4vMw,6
17
- piegy-2.0.0.dist-info/RECORD,,
14
+ piegy-2.0.2.dist-info/licenses/LICENSE.txt,sha256=wfzEht_CxOcfGGmg3f3at4mWJb9rTBjA51mXLl_3O3g,1498
15
+ piegy-2.0.2.dist-info/METADATA,sha256=R8FKdQAxTR-iuJxj8UIq7PbkjjgnWvAEq1DjVODM-18,5453
16
+ piegy-2.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
+ piegy-2.0.2.dist-info/top_level.txt,sha256=k4QLYL8PqdqDuy95-4NZD_FVLqJDsmq67tpKkBn4vMw,6
18
+ piegy-2.0.2.dist-info/RECORD,,
File without changes